The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
disk usage rrs Shell Programming and Scripting 1 04-13-2007 12:48 AM
disk usage (df vs du) gfhgfnhhn UNIX for Advanced & Expert Users 8 09-23-2006 05:06 PM
disk usage karthikosu UNIX for Dummies Questions & Answers 2 06-29-2006 12:48 PM
Disk usage (Mac OS 10.4) H1tokori UNIX for Dummies Questions & Answers 5 12-05-2005 04:37 PM
disk usage asutoshch UNIX for Dummies Questions & Answers 4 04-01-2001 05:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-09-2006
Registered User
 

Join Date: Feb 2005
Posts: 14
Disk Usage

Im using solaris 8 on a Sunfire 280r. Is there a command to show you how much disk space is being used in gigabytes or megabytes. I dont think theres an option for this using the df command. not for solaris anyway.

thanks
Reply With Quote
Forum Sponsor
  #2  
Old 05-09-2006
Registered User
 

Join Date: Aug 2001
Posts: 179
did you try to view these in Kbytes
df -k
Reply With Quote
  #3  
Old 05-09-2006
Registered User
 

Join Date: Feb 2006
Location: msk.ru.earth
Posts: 43
some thing like this
# df -ha
Reply With Quote
  #4  
Old 05-09-2006
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
-h was only brought into the Solaris df command as of Solaris 10.

df -k is the correct command to show you in kilobytes. You could always pipe through awk and perform some manipulation if you want to change the magnitude of the output fields.

Cheers
ZB
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0