Category Archives: AIX

tcpip configuration in AIX (set IP,DNS)

1. smitty tcpip 2.minimum configuration & startup 3.select appropriate interface and enter 4.configure IP,DNS appropriately

Posted in AIX | Leave a comment

Script to show memory utilization in AIX

1. vi memoryutz.sh #!/usr/bin/ksh #memory calculator um=`svmon -G | head -2|tail -1| awk {‘print $3’}` um=`expr $um / 256` tm=`lsattr -El sys0 -a realmem | awk {‘print $2’}` tm=`expr $tm / 1000` fm=`expr $tm – $um` echo “\n\n———————–“; echo “System … Continue reading

Posted in AIX | Leave a comment

USEFUL HACMP COMMANDS (AIX CLUSTER)

clstat – show cluster state and substate; needs clinfo. cldump – SNMP-based tool to show cluster state. cldisp – similar to cldump, perl script to show cluster state. cltopinfo – list the local view of the cluster topology. clshowsrv -a … Continue reading

Posted in AIX | Leave a comment

Create FTP GEL user in AIX

Problem description Create a ftp user that can only access to a specific location and read and write some data using ftp application. Neither can access other folder nor can login to  shell. Steps are follows 1)Login as root 2)find / -name … Continue reading

Posted in AIX | Leave a comment

How to increase size of file system in AIX

It will add 10 GB withe the size of /indexfs file system chfs -a size=+10G /indexfs

Posted in AIX | Leave a comment

How to read core file in aix

strings core | pg

Posted in AIX | Leave a comment

How to install rpm.rte in AIX and install sudo rpm

1) Download rpm.rte from below link https://sites.google.com/site/durjoyknowledgebase/home-1/rpm.rte?attredirects=0&d=1 2) installp -qacXgd rpm.rte rpm.rte 3)Download sudo rpm from below link https://sites.google.com/site/durjoyknowledgebase/home-1/sudo-1.6.9p15-2noldap.aix5.2.ppc.rpm?attredirects=0&d=1 4) rpm -i sudo-1.6.9p15-2noldap.aix5.2.ppc.rpm 5) #visudo 6) oracle ALL= /usr/sbin/cfgmgr,/usr/sbin/mount,/usr/sbin/umount,/usr/sbin/rmdev Note : If error occure like below cfgmgr: 0514-603 Cannot access … Continue reading

Posted in AIX | Leave a comment