The iostat utility iteratively reports terminal, disk, and tape I/O activity, as well as CPU utilization.
To find out disk failure
bash-3.00# iostat -Endad0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0Model: ST380011A Revision: 8.01 Serial No: 3JVB2ECSSize: 80.03GB <80026361856 bytes>Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0Illegal Request: 0dad1 Soft Errors: [...]
Archive for March 18th, 2008
iostat Solaris
Posted in Solaris, Solaris Comm on March 18, 2008 | Leave a Comment »
Unix Toolbox
Posted in Unix on March 18, 2008 | Leave a Comment »
This document is a collection of Unix/Linux/BSD commands which are useful for IT work or for advanced users. The reader is supposed to know what s/he is doing.
http://cb.vu/unixtoolbox.xhtml
Download the following link Unix Toolbox
Copy DVDs to your hard drive using script
Posted in Scripting on March 18, 2008 | Leave a Comment »
#!/bin/bash##This is a script to simply and easily copy DVDs to your hard drive from the command line## Variable Declaration #safemk () {if [ ! -d $1 ]; then mkdir $1; chmod +rw $1; fi}
MYHOME=/home/$USERVIDEO=/home/$USER/video/dvds## Scripted Action # OPTIONS=”Home User-Specified Video/dvd QUIT” select opt in $OPTIONS; do if [ "$opt" = "Home" ]; [...]


