- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- files in /tmp
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
03-21-2001 02:16 AM
03-21-2001 02:16 AM
files in /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2001 02:27 AM
03-21-2001 02:27 AM
Re: files in /tmp
It does seem to tidy them up when you exit however.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2001 02:40 AM
03-21-2001 02:40 AM
Re: files in /tmp
The 'random number' will be the process number of the pg command. This is a standard UNIX technique for ensuring that unique filenames are used in common directories like /tmp/ and /var/tmp.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2001 02:48 AM
03-21-2001 02:48 AM
Re: files in /tmp
/tmp is used by the system and applications as a tempory storage area and applications use a predefined format for their tmp files ie. fredxxxxxx. The application will normally use the next number free when writing out its tmp file.
Some apps are very good in clearing up behind them and will remove the temp files that they create, whereas others are very untidy.
The following script will clean up files and dirs older that 7 days in the /tmp dir - I run it from cron once a day.
-----------------cut here --------------
# Clear /tmp files and dirs unused for over 7 days
find /tmp -type f -atime +7 -exec rm {} \;
find /tmp -type d -atime +7 -exec rmdir {} \;
----------------cut here -----------------
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2001 05:10 AM
03-21-2001 05:10 AM
Re: files in /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2001 05:36 AM
03-21-2001 05:36 AM
Re: files in /tmp
After looking to see if I can determine problems, they are history.
/tmp is used for piped files as everything in UNIX is a file.
The only file I leave is the llbdbase.dat file which is a temp file used by the license broker.