![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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.....
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
but you can use the -options
df -h for human |
|
#3
|
||||
|
||||
|
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
|
||||
|
||||
|
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... |
||||
| Google The UNIX and Linux Forums |