|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Disk Usage
Hi,
I have always felt problems using commands to check disk usage, or I should say I might not be using the commands properly. dfspace and free are 2 most frequent command that I use, but the data that it echoes is not comprehandable atleast to me. I want something like windows when you are inside a directory and type the command it should tell you how much memory. Can some one highlight how to use disk usage. Appreciate you help! Last edited by Scott; 05-15-2012 at 11:06 AM.. Reason: Moved from AIX forum |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Code:
du -hs /path/to/folder perhaps? |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
If it is AIX (even though I just moved it from that forum as the question is fairly generic), then -h should be replaced with your preference of -k, -m or -g. And you could replace the directory name with . (dot) (current directory) if you are already in the directory.
|
|
#4
|
|||
|
|||
|
THanks
du -k /path worked (du -hs /path did not) Now the question is why 3 entries. 108 /some path 4 /some other path 82712 /Actual path Actual path is the folder where i was looking for. ---------- Post updated at 11:50 PM ---------- Previous update was at 11:47 PM ---------- Sorry I got it by myself. Those other entries are the directories under my path. ![]() Thanks for the help! |
| Sponsored Links | |
|
|
#5
|
||||
|
||||
|
That's what the "s" was for
![]() |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| current CPU usage, memory usage, disk I/O oid(snmp) | S_venkatesh | Solaris | 2 | 12-13-2008 05:19 AM |
| Disk Usage | harikamamidala | Shell Programming and Scripting | 4 | 08-16-2007 02:22 PM |
| disk usage (df vs du) | gfhgfnhhn | UNIX for Advanced & Expert Users | 8 | 09-23-2006 08:06 PM |
| Disk Usage | lewisoco | UNIX for Dummies Questions & Answers | 3 | 05-09-2006 08:44 PM |
| Disk usage (Mac OS 10.4) | H1tokori | UNIX for Dummies Questions & Answers | 5 | 12-05-2005 06:37 PM |
|
|