- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- files in /var/tmp - ok to remove ??
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
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
тАО02-12-2003 04:15 AM
тАО02-12-2003 04:15 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2003 04:19 AM
тАО02-12-2003 04:19 AM
Re: files in /var/tmp - ok to remove ??
Please check with the owner of the files if there are open vi/ex sessions that use it.
# fuser -u Ex*
might give info on open sessions too.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2003 04:19 AM
тАО02-12-2003 04:19 AM
Re: files in /var/tmp - ok to remove ??
find /var/tmp -name ex* -mtime +2 -exec rm {} \;
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2003 04:26 AM
тАО02-12-2003 04:26 AM
Re: files in /var/tmp - ok to remove ??
These are a different tmp-files,created by
many users. Some of them could be in use,but
removing them will not cause big troubles. :)
Anyway you should look at date: when any file
is created. Also try:
#strings ./ExNNNN to look in every file you
like to remove.
Regards,Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2003 04:29 AM
тАО02-12-2003 04:29 AM
Re: files in /var/tmp - ok to remove ??
you can remove the files under/var/tmp, but not the directory tmp under /var.
Removing tmp directory under /var causes problem while swinstall/swremove etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2003 03:39 PM
тАО02-12-2003 03:39 PM
SolutionAlso you might want to look in
/var/adm/crash you can also delete any thing in there. This is where crash files are kept.
Also you can cat /dev/null > /var/adm/wtmp
the wtmp file contains login information and
can get quite large.
Another place you can delete files is
/var/preserve
And lastly you can use cleanup
(man cleanup)
These steps should get your /var directory
under 90%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2003 08:15 AM
тАО02-13-2003 08:15 AM
Re: files in /var/tmp - ok to remove ??
Login as, or "su -" to, the user who owns the files. Then, as that user, run "ex -r". If that lists any files, then contact the user as to what to do with them. If it says "No files saved." then it is probably safe to remove the files.