- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var directory still full even after I removed som...
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
12-07-2004 03:07 AM
12-07-2004 03:07 AM
/var directory still full even after I removed some data
My /var directory is still at 100% even after I removed some directories under it. Is it possible there are some log or dump files in there that kept growing? Thanks and appreciate any advise!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:11 AM
12-07-2004 03:11 AM
Re: /var directory still full even after I removed some data
The file wouldn't show up in the directory until the process closed.
Use "lsof" to try to find the culprit.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:12 AM
12-07-2004 03:12 AM
Re: /var directory still full even after I removed some data
Man 2 unlink for a better understanding of your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:14 AM
12-07-2004 03:14 AM
Re: /var directory still full even after I removed some data
"lsof" doesn't seem to be a valid command when I typed it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:17 AM
12-07-2004 03:17 AM
Re: /var directory still full even after I removed some data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:17 AM
12-07-2004 03:17 AM
Re: /var directory still full even after I removed some data
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=757621
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:30 AM
12-07-2004 03:30 AM
Re: /var directory still full even after I removed some data
To see a good report of space, use this :
du -ksx /var/*
This will give you size report for any element under /var. Change /var to anything to find more space-using element.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 04:29 AM
12-07-2004 04:29 AM
Re: /var directory still full even after I removed some data
Do an ls -l on the following:
/var/adm/lp/log <--lp log file
/var/adm/syslog/* <-- syslogd log files
/var/tmp/ <-- system work space
/var/adm/sw <-- lots of log files here
/var/adm/sw/products <-- patch files
/var/lost+found <-- misfiled files
/var/opt/ignite/logs <-- logs from bootable backup
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 07:18 PM
12-07-2004 07:18 PM
Re: /var directory still full even after I removed some data
cd /var
touch junk
(delete a file under /var)
find . -newer junk
That should show up the file(s) being written to. Then do either:
> file
(only if the contents are not needed)
or...
fuser
and if it's appropriate, kill the process writing to the file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 08:43 PM
12-07-2004 08:43 PM
Re: /var directory still full even after I removed some data
You can find bigest directory by using this command
#du -sk /var/* |sort -nr
1144688 /var/adm
207736 /var/opt
13224 /var/stm
4752 /var/dmi
616 /var/sam
528 /var/tmp
408 /var/asx
240 /var/tombstones
144 /var/vx
112 /var/spool
96 /var/yp
and then you track large file in each subdirectory again.
Or you also find big file by using find command.
[trn0:/] find /var -size +10240000c
This command finds all file sized over 10240000byte.
tienna