The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to summary one command's cpu usage? jiarong.lu HP-UX 1 02-22-2008 08:03 AM
Disk Usage harikamamidala Shell Programming and Scripting 4 08-16-2007 11:22 AM
disk usage rrs Shell Programming and Scripting 1 04-13-2007 12:48 AM
Inconsistent memory usage display spdas Filesystems, Disks and Memory 2 02-15-2007 10:15 PM
Disk Usage lewisoco UNIX for Dummies Questions & Answers 3 05-09-2006 05:44 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-08-2002
Registered User
 

Join Date: Mar 2002
Location: MA
Posts: 9
How do you display summary of disk usage?

I am trying to create a command string that makes use of the du or df utilities to show block count in kilobytes (1024 bytes) instead of multiples of 512 bytes, any suggestions? Thanks.....
Reply With Quote
Forum Sponsor
  #2  
Old 03-08-2002
Registered User
 

Join Date: Mar 2002
Location: Buenos Aires, Argentina
Posts: 46
but you can use the -options
df -h for human
Reply With Quote
  #3  
Old 03-12-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
df -k will put the output in kilobytes, and I have found it is a little more portable than df -h, even though I too prefer df -h.

Read the man page on "df" for details.
Reply With Quote
  #4  
Old 03-12-2002
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
Same thing (-k flag) applies to du as well (which I use a lot to compare disk usage under sub-dirs with `du -ks`).
__________________
Not quite as cool as all the other Kids...
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 02:56 PM.


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