Thursday, January 24, 2013

Paging space commands in AIX


Below are the commands related to the paging space in AIX.







lsps -a
To list out all paging spaces






lsps hd6
To display the details of the paging space hd6






chps -a y paging00
To turn on the paging space paging00 on next reboot






chps -a n paging00
To turn off the paging space paging00 on next reboot






chps -s4 paging00
To

Disable telnet in AIX




The procedure to disable telnet in AIX is as follows:

#vi /etc/inetd.conf

comment out telnet from this file (#telnet ... ... .. )

save it and

#refresh -s inetd

Then telnet session will be disabled in that server from now


Filesystem commands in AIX






lsfs
Lists all filesystems in the
/etc/filesystems entry






lsfs -a
To list all filesystems (default)






lsfs -q
List all filesystems with
detailed info (shows size of FS and LV in it. so we can check whether size
of LV=size os FS)






lsfs -l
Specify the output in list format






lsfs -c
Specify the output in column format


Recreate BOOT LOGICAL VOLUME (BLV) in AIX