- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: used space .. ls command? This one ..
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
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
10-09-2000 02:07 PM
10-09-2000 02:07 PM
from biggest to smallest
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2000 02:12 PM
10-09-2000 02:12 PM
Re: used space .. ls command? This one ..
The command you want is 'du'. Pipe the output to sort. See the man pages for a full description.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2000 02:32 PM
10-09-2000 02:32 PM
Re: used space .. ls command? This one ..
I used ls -lR and that works too
I am going to try to resort that data too.
Anyone else have any sugestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2000 03:57 PM
10-09-2000 03:57 PM
Solutionfind / . -xdev -type f | xargs du | sort -rn | more
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2000 04:00 PM
10-09-2000 04:00 PM
Re: used space .. ls command? This one ..
The above command is useful when files systems fill up... It can tell you what your biggest files are, so that you can consider removing them !!
Great for those /var filessystem fulls !!
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2000 12:05 AM
10-10-2000 12:05 AM
Re: used space .. ls command? This one ..
quot : it displays the number of 1024-byte blocks in the named FS that are currently owned by each user
diskusg: it generates disk accounting information from data in files
du : it gives the space allocated for all files and directories . ( "du -sk filesystem " will give you the total used space in KBs for filesystem)
bdf : it displays the total space, the free one and the percentage for each FS .
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2000 12:37 AM
10-10-2000 12:37 AM
Re: used space .. ls command? This one ..
ll -R | sort -n +4.0