- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- / filesystem almost full
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
02-20-2001 08:07 PM
02-20-2001 08:07 PM
/ filesystem almost full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 08:18 PM
02-20-2001 08:18 PM
Re: / filesystem almost full
To find files larger than, say, 100000 bytes in the root filesystem, try
find / -xdev -type f -size +100000c | xargs ls -l
The ls command will show you the date the files were last modified.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 10:34 PM
02-20-2001 10:34 PM
Re: / filesystem almost full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 10:40 PM
02-20-2001 10:40 PM
Re: / filesystem almost full
To find out which directory is eating up the most space, you can start a search from root using:
cd /
du -s * |sort -nk1
The last line will be the directory/file eating up the biggest space of your hardisk.
cd to that particular directory and repeat the du -s * command
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 10:48 PM
02-20-2001 10:48 PM
Re: / filesystem almost full
You also need to be careful of open files which are "invisible" to du but "visible" to bdf. In this case, your du and bdf results will not tally ie. du will report a smaller usage than bdf.
To identify open files, you can perform an lsof on /. If the open file listed does not exist as a physical file, terminate the process that is holding on to the open file.
This happens especially to logging processes whereby the log file grew too large and was deleted without restarting the process properly, resulting in the process still holding on to the opened log file.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com