iostat & awk shortcuts (snippets for solaris)

-bash-3.00$ iostat -x extended device statistics device r/s w/s kr/s kw/s wait actv svc_t %w %b md10 5.3 5.2 331.3 329.9 0.0 0.0 3.5 0 4 md11 5.3 0.0 331.3 0.2 0.0 0.0 0.7 0 0 md12 0.0 5.2 0.0 332.0 0.0 0.0 6.5 0 3 md13 5.2 5.2 329.8 329.8 0.0 0.0 3.4 0 … Read More

using mrtg to monitor iowait on a solaris (10) machine (quick)

just as the name reads – this command, when run with ssh (or any other method of choice) will output just iowait – can be changed to anything else #!/bin/bash OUT=`su – user -c “ssh user@10.13.128.15 \”iostat -Xpnc | tail -n 1 \”” | awk ‘{print $3}’` echo $OUT echo $OUT the reason i used … Read More

synergy & fedora core 4/5 autostart as client

*****this begins synergy from boot up – so all users will have synergy access to other machines***** before running through this – you should do a which synergyc and which killall to make sure that your paths line up with the ones written below also, dont forget to substitute all instances of <server> with the … Read More

synergy & ubuntu 6.06 autostart as client

*****this begins synergy from boot up – so all users will have synergy access to other machines***** before running through this – you should do a which synergyc and which killall to make sure that your paths line up with the ones written below also, dont forget to substitute all instances of <server> with the … Read More