- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File Size
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
Forums
Discussions
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
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
03-03-2004 03:06 AM
03-03-2004 03:06 AM
find . -size 30000000c
returns no values, am i doing something wrong?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:09 AM
03-03-2004 03:09 AM
SolutionHere a command to see all the large files/dirs in a filesystem
du -akx / | sort -rn | more
I suspect there are no files in / that are *exactly* 30000000 bytes in size. The command will only find files that size.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:17 AM
03-03-2004 03:17 AM
Re: File Size
If a filesystem was unmoutned and files were copied in and then its mounted. The files are invisible but still take up space.
Example
/steve is a fs and its unmounted.
copy in 20 MB
mount /steve
You can't see the files but they take up space.
If the prior post doesn't help, you may want to poke around with folders umounted. /var can only be done in single user mode.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:17 AM
03-03-2004 03:17 AM
Re: File Size
find / -size +30000000
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:26 AM
03-03-2004 03:26 AM
Re: File Size
you need a +3000000.
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 04:51 AM
03-03-2004 04:51 AM
Re: File Size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:10 AM
03-03-2004 05:10 AM
Re: File Size
Check that command again.
The -x will restrict it to *that* filesystem only.
It's really about the only why to poperly run the du command in an FS that has other filesystems mounted into it IF you're looking for space hogs.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:12 AM
03-03-2004 05:12 AM
Re: File Size
Why in the world would you make / the _entire_ disk?
Rgds,
Jeff