Friday, June 22, 2012

Links

Clear contents of a file in UNIX

Clear contents of a file in UNIX
$cat /dev/null > file
or
$true > file

Saturday, June 16, 2012

Viewing file systems that 90% and more using awk & sed

This works with AIX
df -g | egrep -v "Filesystem|proc|tmp" | sed 's/\%//' | awk '$4 >= 90 {print $4 "%\t" $7}'
df -k | sed 1d | awk '$4>90 {print}'
This works with Solaris and Linux
df -k | egrep -v "proc|fd|cdrom|mnttab|run|tmp|Filesystem" | sed 's/\%//' | awk '$5 >= 90 {print $5 "%\t" $6}'

Friday, June 15, 2012

Powering the DS8000 Storage series through CLI


Powering the DS8000 Storage series through CLI Power off : Before issuing this command from dscli make sure IO activity are completely stopped. Power Off
dscli -hmc1 hmcip -user user -passwd password chsu -pwroff -dev IBM.2107-75DC710
Power On
dscli -hmc1 hmcip -user user -passwd password chsu -pwron -dev IBM.2107-75DC710

Thursday, April 26, 2012

puTTY Logging

puTTy has many nice features such as logging you track your session data by through session logging as follows.

Saturday, November 5, 2011

Links

http://howtounix.blogspot.com/
http://martin.ankerl.com/
http://aix4admins.blogspot.com/

Tuesday, October 11, 2011

AIX VIO Sever

1- https://www.ibm.com/developerworks/mydeveloperworks/blogs/AIXDownUnder/entry/vio_server_virtual_media_library?lang=en
2- https://www-304.ibm.com/support/docview.wss?uid=nas15dd15b31badfa4738625755b00811805
3- http://aix-administration.blogspot.com/2010/08/creating-virtual-cdrom-on-vio-step-by.html
4- https://www-304.ibm.com/support/docview.wss?uid=nas15dd15b31badfa4738625755b00811805
5-http://aix-administration.blogspot.com/2010/08/creating-virtual-cdrom-on-vio-step-by.html
9-http://www.torontoaix.com/vio-how-to-s/virtual-media-library
10-http://www.kristijan.org/2011/06/vio-virtual-media-library/
11-http://gibsonnet.net/aix/AIX_Migration_with_File-Backed_VIOS_Devices.htm