How do you display summary of disk usage? | Unix Linux Forums | Filesystems, Disks and Memory

  Go Back    


Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

How do you display summary of disk usage?

Filesystems, Disks and Memory


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-08-2002
klannon klannon is offline
Registered User
 
Join Date: Mar 2002
Last Activity: 6 May 2002, 2:20 PM EDT
Location: MA
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
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.....
Sponsored Links
    #2  
Old 03-08-2002
comadreja comadreja is offline
Registered User
 
Join Date: Mar 2002
Last Activity: 27 June 2003, 4:13 PM EDT
Location: Buenos Aires, Argentina
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
but you can use the -options
df -h for human
Sponsored Links
    #3  
Old 03-12-2002
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
 
Join Date: Jul 2001
Last Activity: 16 June 2011, 4:50 PM EDT
Location: Portland, OR, USA
Posts: 1,626
Thanks: 2
Thanked 15 Times in 13 Posts
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.
    #4  
Old 03-12-2002
auswipe's Avatar
auswipe auswipe is offline Forum Advisor  
Registered User
 
Join Date: Nov 2001
Last Activity: 28 May 2012, 1:32 PM EDT
Location: Wide Awake Wylie, Texas
Posts: 537
Thanks: 0
Thanked 0 Times in 0 Posts
Same thing (-k flag) applies to du as well (which I use a lot to compare disk usage under sub-dirs with `du -ks`).
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Print summary or the total disk usage of conf file stefanere2k9 UNIX for Dummies Questions & Answers 13 01-09-2012 10:23 AM
Command to display the space usage (memory usage) of a specific directory. abhisheksunkari UNIX for Dummies Questions & Answers 2 11-12-2010 03:26 AM
current CPU usage, memory usage, disk I/O oid(snmp) S_venkatesh Solaris 2 12-13-2008 05:19 AM
Detailed disk usage versus age summary littleIdiot Shell Programming and Scripting 8 10-17-2008 10:58 AM
How to summary one command's cpu usage? jiarong.lu HP-UX 1 02-22-2008 10:03 AM



All times are GMT -4. The time now is 05:36 PM.