- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- du -k information
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 05:02 AM
09-20-2007 05:02 AM
du -k information
Can someone advise me how to interpret this
du -k info
6223422 -----Is this 6.2MB?
Thanks
Raji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 05:05 AM
09-20-2007 05:05 AM
Re: du -k information
-k Gives the block count in 1024-byte blocks.
So 6223422k would be ~6.2GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 05:07 AM
09-20-2007 05:07 AM
Re: du -k information
du -k tells us KB - so its
6223422 KB ~ 6GB
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 05:15 AM
09-20-2007 05:15 AM
Re: du -k information
when I do bdf
/filsystem ----------is 10GB size---used 1.9GB---20%
One of the directory size under this filesysem "du -k" is showing
6223422----This cannot be 6GB
Please comment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 05:40 AM
09-20-2007 05:40 AM
Re: du -k information
For example, 'du -sk /' will add up all the disk usage for your entire server. 'du -sxk /' will only add up usage for the / filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 06:55 AM
09-20-2007 06:55 AM
Re: du -k information
You may have another filesystem within this one.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 07:07 AM
09-20-2007 07:07 AM
Re: du -k information
du -skx gives me on/filesystem
1900000.
du -skx on this directory /filesystem/portal
gives
6223422
How is it the directory size is more than the filesystem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 07:48 AM
09-20-2007 07:48 AM
Re: du -k information
du -kx /filesystem | sort -rn | head -20
That way, you see the top level, then the largest subdirectory under the top, and so on.
Bill Hassell, sysadmin