In HP-UX 11.11/11.23
1. If the system is trusted then run modprpw command to unlock the account.
/usr/lbin/modprpw -k username
2. In HP-UX 11.31
userdbset -d -u username auth_failures
This blog is to share the knowledge that I possessed in my career while working with multiple technologies across IT environments. I try to share as much relevant things as much possible to make the life system administrators easy and creative.
Showing posts with label tricks. Show all posts
Showing posts with label tricks. Show all posts
Sunday, April 17, 2011
Thursday, April 7, 2011
Aix General Commands and Tips
1. creation and deletion of user accounts
mkuser
rmuser
2. list all users
lsuser -f ALL
3. change user account
chuser -a
4. smit
5. hostid -For checking the hostid
6. Top,Sar,vmstat,iostat for performance troubleshooting
topas
sar 4 5 (4 seconds and 5 readings)
vmstat
iostat
9.How to Check the logs?
alog -o -t
10.How to see the size in MBs?
df -m
11.Display the swap size?
lsps -a
12.How to ativate the swap?
swapon -a
13. How to check the runlvel in AIX?
uname -r (runlevel)
14.For device listing
lsdev -C
15.network parameters
no -a
16.
bootinfo -s hdisk#
17. How to list the physical volumes?
lspv
18.How to create a Volume Group?
mkvg
19.How to list the logical volumes?
lslv
20.How to create a Logical Volume?
mklv
21.How to extend the logical volume?
extendlv
22.How to remove the logical volume?
rmlv
23.How to list the devices of particular Class (processor,tape)
lsdev -Cc processor
lsdev -Cc tape
24.How to check the model number?
bootinfo -m
25.How to find out the kernel parameter?
bootinfo -K
26.How to uninstall the software?
installp -u
27.How to install a software?
installp -a
28.How to verify the software is installed?
lppchk -v
29. How to list all softwares?
lslpp -L all
30.Where the software directory is located?
/sw/lpp
31.How to list the installed patches?
instfix -i
32.How to install devices for the attached peripherals?
cfgmgr -v
mkuser
rmuser
2. list all users
lsuser -f ALL
3. change user account
chuser -a
4. smit
5. hostid -For checking the hostid
6. Top,Sar,vmstat,iostat for performance troubleshooting
topas
sar 4 5 (4 seconds and 5 readings)
vmstat
iostat
9.How to Check the logs?
alog -o -t
10.How to see the size in MBs?
df -m
11.Display the swap size?
lsps -a
12.How to ativate the swap?
swapon -a
13. How to check the runlvel in AIX?
uname -r (runlevel)
14.For device listing
lsdev -C
15.network parameters
no -a
16.
bootinfo -s hdisk#
17. How to list the physical volumes?
lspv
18.How to create a Volume Group?
mkvg
19.How to list the logical volumes?
lslv
20.How to create a Logical Volume?
mklv
21.How to extend the logical volume?
extendlv
22.How to remove the logical volume?
rmlv
23.How to list the devices of particular Class (processor,tape)
lsdev -Cc processor
lsdev -Cc tape
24.How to check the model number?
bootinfo -m
25.How to find out the kernel parameter?
bootinfo -K
26.How to uninstall the software?
installp -u
27.How to install a software?
installp -a
28.How to verify the software is installed?
lppchk -v
29. How to list all softwares?
lslpp -L all
30.Where the software directory is located?
/sw/lpp
31.How to list the installed patches?
instfix -i
32.How to install devices for the attached peripherals?
cfgmgr -v
Subscribe to:
Posts (Atom)