- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: eliminate file creation like eaaa11785 in /var...
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
08-18-2000 05:06 AM
08-18-2000 05:06 AM
eliminate file creation like eaaa11785 in /var/tmp
Ever since I have been responsible for the system I have had to periodically remove what appears to be temporary files from the /var/tmp directory. Below is a sample list of the files:
-rw-rw-rw- 1 294 fpu 12 Jul 10 09:55 eaaa11643
-rw-rw-rw- 1 grimm mpu 12 Aug 17 16:42 eaaa11652
-rw-rw-rw- 1 rff frf 12 Aug 16 11:36 eaaa11653
-rw-rw-rw- 1 hafley mpu 12 Jul 12 02:25 eaaa11718
-rw-rw-rw- 1 layow fpu 12 Aug 8 14:37 eaaa11721
-rw-rw-rw- 1 ohler mpu 12 Aug 17 09:43 eaaa11734
-rw-rw-rw- 1 grimm mpu 12 Aug 17 16:44 eaaa11753
-rw-rw-rw- 1 rff frf 12 Jul 26 15:58 eaaa11760
Each one is relatively small. The files can be removed, but not in a normal wildcard fashion. "rm e*" returns an error stating there are too many files, but thats a different issue. Suffice to say that I remove them with more refined wildcard rm statements like "rm eaa*".
My real question is not how to delete the files, but how to prevent them from being created.... Whats creating them and how can I have it stop.
A sample file content is:
^[*c0F^[&f6X^[E
:)~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 05:10 AM
08-18-2000 05:10 AM
Re: eliminate file creation like eaaa11785 in /var/tmp
These sound like temporary files (logs or similar) being created by an application that you run.
I wouldn't mind betting that the number on the end of the filename relates to the process number that created them.
Try doing a ls -lt|more on the directory now, pick the newest and check out the process number from the filename.
You probably won't be able to stop them being created but you could install a daily housekeeping script to delete them - use find with the mtime argument.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 05:11 AM
08-18-2000 05:11 AM
Re: eliminate file creation like eaaa11785 in /var/tmp
You could run a cron job to remove ones older than a day every night or similiar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 06:19 AM
08-18-2000 06:19 AM
Re: eliminate file creation like eaaa11785 in /var/tmp
find /var/tmp/ -name "ea*" -exec rm {} \;
to your backup scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 08:22 AM
08-18-2000 08:22 AM
Re: eliminate file creation like eaaa11785 in /var/tmp
i had thought they were created by ip printing
but i do no think it is posible to stop them from creating unless you go into the heart of unix code
a nightly or even hourly cron cleaning them up would be my best suggestion as well
if you find it is print jobs that are creating them you can check your interface files and/or printer settings ...
adding sleep commands helped a little
on some printer applications there is an option to delete temp files after printing
beware tho, if a printer job hangs, this causes it to be lost
anyways hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 08:27 AM
08-18-2000 08:27 AM
Re: eliminate file creation like eaaa11785 in /var/tmp
/var/tmp is used by many applications and should be cleaned out frequently. The easiest way to keep this directory clear is to use a cron script to automatically remove the files.
# file AAAa23547
ascii text
# strings AAAa23547
======= 08/07/00 12:35:46 EDT BEGIN swinstall SESSION (interactive)
NOTE: The interactive UI was invoked, since no software was
specified.
* Session started for user "root@rong".
* Beginning Selection
======= 08/07/00 12:36:26 EDT END swinstall SESSION (interactive)
As you can see swinstall or swagentd caused this file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2000 08:48 AM
08-18-2000 08:48 AM