The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Awk script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 04-07-2008
oduth oduth is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 7
df -k | grep -v /dev/shm | grep -v /dev/cdrom | awk '{print $5,$4}'

output :
83% 2455472
15% 82350

/oracle 20%
95% 6564992
95% 12616256
95% 12849664
95% 13357568
76% 56370976
92% 18600608

/rads01 74%