DevTech101

DevTech101

solaris

How To Measure Network Latency With Ping And Dtrace in Solaris.

Measuring Network Latency In Solaris Use the below dtrace script (SuperPing.d) to measuring Network Latency. #!/usr/sbin/dtrace -s #pragma D option quiet #pragma D option switchrate=10hz mib:::rawipOutDatagrams /pid == $target/ { start = timestamp; } mib:::icmpInEchoReps /start/ { this->delta = (timestamp – start) / 1000; printf(“dtrace measured: %d us\n”, this->delta); @a[“\n ICMP packet delta average (us):”] …

How To Measure Network Latency With Ping And Dtrace in Solaris. Read More »

Solaris 11, Korn Shell 93 COMPATIBILITY

In Oracle Solaris 11, Korn Shell 93 (/usr/bin/ksh/ or usr/bin/ksh93) replaces both the Bourne Shell (/usr/bin/sh or /sbin/sh) and Korn Shell 88 (/usr/bin/ksh). There are some incompatibilities between the shells. They are described in: /usr/share/doc/ksh/COMPATIBILITY If a script has compatibility problems you can use the legacy shell by changing the she-bang line: If this doesn't …

Solaris 11, Korn Shell 93 COMPATIBILITY Read More »

Alfresco Installation And Configuration On Solaris

How to install and configure Alfresco on Solaris Install Solaris 11 First lets prepare the os, Install Solaris 11 global. Now lets configure and install a Solaris zone (since Alfresco will be running in a zone). Follow the below zone configuration to configure your Alfresco Solaris zone. zfs create -o mountpoint=/docs rpool/docs chmod 700 /docs …

Alfresco Installation And Configuration On Solaris Read More »

Oracle Solaris Jumpstart Server Configuration

Server Config mkdir /jumpstart/sol10-0106; mount /jumpstart mount /cdromt (sol10) ; cd /cdrom/sol_10_106_sparc/s0/Solaris_10/Tools ./setup_install_server /jumpstart/sol10-0106 mkdir /jumpstart/sol10-0106/Patches copy Solaris latest cluster files to /jumpstart/sol10-0106/Patches; unzip it add to /etc/dfs/dfstab share -F nfs -o ro,anon=0 -d “Jumpstart” /jumpstart run shareall (run share to make sure) on solarisk10 svcsadm tftpd start make sure rarp is running if not …

Oracle Solaris Jumpstart Server Configuration Read More »

Speeding up SSH SCP data transfers on Niagara machines

Speeding up SCP data transfers on the Sun SPARC T+ server line I found the fowling Sun blog talking about SSH/SCP speed runing with the T1000/T2000 servers. When using ssh or scp to transfer files to another server on the Niagara T1/2 boxes it will use only one virtual CPU which could be slow, as …

Speeding up SSH SCP data transfers on Niagara machines Read More »

Script to get the Solaris ZFS ARC Size

This script will list the ZFS adaptive replacement cache (ARC)statistics and usages To get the script click here Another great ZFS ARC summery script is available here Output will look something like this. [root@server] /tmp # ./arc_summary.pl System Memory: Physical RAM: 64128 MB Free Memory : 58808 MB LotsFree: 999 MB ZFS Tunables (/etc/system): ARC Size: …

Script to get the Solaris ZFS ARC Size Read More »