- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script to report user storage
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
Discussions
Discussions
Forums
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
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
тАО04-20-2005 08:37 AM
тАО04-20-2005 08:37 AM
Does anyone know of a script out there that will report (therefore probably a perl script) the amout of storage each user is taking up on the system? I am certain there would be something out there but I can't find anything.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 08:39 AM
тАО04-20-2005 08:39 AM
Re: Script to report user storage
Anil
- Tags:
- quotas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 08:45 AM
тАО04-20-2005 08:45 AM
Re: Script to report user storage
# cd /home
# du . -ka | sort -nr | more
The will report file sizes and sort into ascending order (biggexst to smallest)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 08:55 AM
тАО04-20-2005 08:55 AM
Re: Script to report user storage
UserID Space Used
xxxxx 3456000Kb
That type of thing. I do not have quotas. I have seen something that does this nicely in the past, but just can't find it.
Thanks for the responses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 09:07 AM
тАО04-20-2005 09:07 AM
Solutionll -R /FS | grep user1 | awk '{size+=$5} END {printf "%d\n", "user", size}'
you can use find, but be carefull this can hog CPU.
find /FS_to_search -user user1 -exec ll -d {} \; | awk '{size+=$5} END {printf "%d\n", "user", size}'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 09:08 AM
тАО04-20-2005 09:08 AM
Re: Script to report user storage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2005 09:09 AM
тАО04-20-2005 09:09 AM