Some quick tips for AIX administration

jarodwang, 22 February 2008, 1 comment
Categories: AIX
Tags:

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

Comments

One Response, Leave a Reply
  1. ricky
    22 February 2008, 20:32

    the update is too slow….

Leave a Reply:

Name *

Mail (hidden) *

Website