Wednesday, March 23, 2011

Get MAC address in AIX

To get MAC address in AIX

bash-3.2$ lscfg -vl ent1

Monday, March 21, 2011

TSM : Show Reclaimable Volumes

TSM SQL statment to get reclaimable volumes

select stgpool_name,volume_name,pct_utilized,access,pct_reclaim,status from volumes where stgpool_name in (select stgpool_name from stgpools) order by 1 asc,3 asc

Tuesday, March 15, 2011

System CFG in AIX

Get System Memory in AIX
bash-3.2$ prtconf -m


Get System Processor Speed

bash-3.2$ prtconf -s


Get System kernel in use

bash-3.2$ prtconf -k

Monday, March 7, 2011

Get number of by state tape in TSM

SELECT COUNT(*) FROM libvolumes WHERE status='Scratch'

SELECT COUNT(*) FROM libvolumes WHERE status='Private'

Thursday, February 24, 2011

Update TSM sever admin password

Update the administrator to have the password password .

Command
update admin admin password

Saturday, February 5, 2011

AWK code fragment to kill process with unknown PID

AWK code fragment to kill process with unknown PID

# ps -ef | grep process | grep -v grep | awk '{system("kill -9 " $2)}'

Useful UNIX links

http://jeeva.us/

http://santosh-aix.blogspot.com/

http://wiki-ux.info/wiki/Main_Page

http://hpux.ch/index.php/Main_Page

http://hpuxch.blogspot.com/

http://www.hpuxtips.es/

http://www.hpux.ws/

http://shanit.blogspot.com/