Category Archives: Unix

Working with KSH

Here are the shortcuts that were of utmost importance to get me productive with KSH: “stty erase ^?” to remove the ‘^?’ symbol when the backspace key is pressed. “Ctrl-p” shows the previous command that you typed, pressing several time … Continue reading

Posted in Unix | Tagged , , , | Leave a comment

Monitor CPU, Memory and Network on AIX

Very good two commands to monitor CPU, Memory and Network on AIX: netstat and vmstat e.g. “netstat 5”, views the network activity, reports every 5 seconds, change 5 to 10 if you want every 10 seconds and so on. e.g. … Continue reading

Posted in Unix | Tagged , , , , , , , , | Leave a comment

Ganglia Daemons Enable Debugging Mode

Just run “gmetad” or “gmond” with the “-d debugging_level” where debugging level is from 1 to 9, this will run it in the foreground and will show very useful information that will help you in debugging, pressing Ctrl+C will kill … Continue reading

Posted in Unix | Tagged , , , | Leave a comment

Configure Ganglia Data Monitoring Agent (gmond) to send data to multiple Data Collection Agents (gmetad)

Edit the “/etc/gmond.conf” file, and just copy the udp_send_channel section, one copy for every host, e.g. udp_send_channel { host = 10.11.x.x port = 8649 ttl = 1 } udp_send_channel { host = 10.11.x.y port = 8649 ttl = 1 } … Continue reading

Posted in Unix | Tagged , , , , | Leave a comment

Installing a Text-based Browser on AIX (Lynx)

If you want a very simple text-based web browser in order to test responses on an AIX server and don’t want to waste time and bandwidth using Firefox – if it exists – and an X-session, use “Lynx”, Here are … Continue reading

Posted in Unix | Tagged , , , , | 2 Comments

How to overcome NFS through firewall issues using NFS4, while maintaining compatibility with NFS3 clients (Draft)

NFS4 server uses port 2049 only, no port mapping Run “startsrc -s nfsrgyd” on client and server Must use public file system, list the available using “nfsd -getnodes”, or else you’ll get an error indicating “No such filesystem or directory” … Continue reading

Posted in Unix | Tagged , , , , | Leave a comment

Resolve Hostname on AIX

host “hostname” e.g. host “myhost” Output: myhost is 10.11.212.134,  Aliases:   wkms2

Posted in Unix | Tagged , | Leave a comment