11. How to list the filesystems in a volume group in IBM AIX ?
# lsvgfs volume_group
----------------------------------------------------------------------------------------------------------------
12. How to query the volume group descriptor area on a drive in IBM AIX ?
To query the volume group descriptor area on the drive, so you can find out if there's a VG on the disk, even if there isn't anything imported on the drive in IBM AIX:
# lqueryvg -Atp hdisk#
----------------------------------------------------------------------------------------------------------------
13. How to set IBM AIX for full core dumps and files to unlimited
To set IBM AIX for full core dumps to unlimited:
# ulimit -c unlimited
To set IBM AIX for files to unlimited:
# ulimit -f unlimited
To view your ulimit settings:
# ulimit –a
----------------------------------------------------------------------------------------------------------------
14. How to determine what the speed and duplex is of an interface in AIX ?
# entstat -d en0 grep "Media Speed"
------------------------------------------------------------------------------------------------
15. How to find the highest technology level and service pack installed in IBM AIX ?
Starting in 2006, in IBM AIX, a Maintenance Level will be referred to as a Technology Level and will only be released twice per year.
The Service Pack concept will allow service-only updates (as known as PTF’s) that are released between Technology Levels to be grouped together for easier identification.
Sample output for a V5.3 system, with Technology Level 4, and Service Pack 2 installed would be:
# oslevel –s
----------------------------------------------------------------------------------------------------------------
16. How to find number of active processors in IBM AIX ?
To find the number of active processors in IBM AIX:
# bindprocessor -q
The available processors are: 0 1 2
To find the number of processors installed (but not necessarily available):
# lscfg -v grep proc
proc0 00-00 Processor
proc2 00-02 Processor
proc4 00-04 Processor
----------------------------------------------------------------------------------------------------------------
17. How to read the contents of /etc/security/failedlogin in IBM AIX ?
# who /etc/security/failedlogin# /usr/sbin/acct/fwtmp < /etc/security/failedlogin
----------------------------------------------------------------------------------------------------------------
18. How to reserve or lock a terminal under AIX 5L ?
This command will lock your terminal and reserve it for later use in AIX 5L
# lock
# lock -30 (lock for 30 minutes)
Note: default lock time is 15 mintes lock will ask you for a password twice then lock the terminal. you can unlock it by entering the password a third time.
----------------------------------------------------------------------------------------------------------------
19. How to stop IBM AIX from forcing a user to change their password at first login ?
# pwdadm -c username
----------------------------------------------------------------------------------------------------------------
20. Redhat Package Manager for IBM AIX and Linux
To query all packages installed:
# rpm -q –a
To list file in a specific package:
# rpm -q -l package.rpm
To install a RPM package:
# rpm -i package.rpm
To delete (erase) a RPM package:
# rpm -e package.rpm
To query for RPM package owning file:
# rpm -q -f /path/to/file
To upgrade a RPM package
# rpm -U package.rpm
----------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment