June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

AIX PowerHA (HACMP) Commands

Most commands should work on all PowerHA (HACMP prior to 5.5) versions. If there is some syntax error, please consult the manual page for that command.

PowerHA(HACMP) Commands How to start cluster daemons (options in that order: clstrmgr, clsmuxpd, broadcast message, clinfo, cllockd) clstart -m -s -b -i -l How to show cluster state and […]

AIX Install packages, upgrade, patching commands

To see the details of installed file sets:

#lslpp -l

To list the installation history of all file set in bos.net packages:

#lslpp -ha bos.net.*

To list the files in the bos.rte package:

#lslpp -f bos.rte

To list the file set which contain /etc/hosts file:

#lslpp -w /etc/hosts

To list the pre requisites for bos.net.nfs.server […]

Top 12 ‘PS’ Performance Commands

I use following ps commands in order to check for performance probelms:

1) Displaying top CPU_consuming processes:

# ps aux|head -1; ps aux|sort -rn +2|head -10

2) Displaying top 10 memory-consuming processes:

# ps aux|head -1; ps aux|sort -rn +3|head

3) Displaying process in order of being penalized:

# ps -eakl|head -1; ps -eakl|sort […]