headermask image

header image

Some quick tips for AIX administration

1. How to check maintenance level?

oslevel -s

2. How to check current run level?

who -r

3. How to do a fast reboot?

shutdown -Fr

4. How to monitor HACMP status?

/usr/es/sbin/cluster/clstat

5. How to create group/user?

smit mkgrp

smit mkuser

6. How to check/add capabilites for a user?

/usr/bin/lsuser -a capabilities UserName

/usr/bin/chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE UserName

7. How to bring up/down a NIC?

chdev -l NICName -a state=’up’

chdev -l NICName -a state=’down’

8. How to generate a tar.gz file in one line command?

tar cvf – DirectoryName | gzip > DirectoryName.tar.gz

If you liked my post, feel free to subscribe to my rss feeds

One Comment

  1. the update is too slow….

    1. ricky on February 22nd, 2008 at 20:32

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*