HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /tmp - rogue directories
Operating System - HP-UX
1834679
Members
3021
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-14-2000 03:00 AM
12-14-2000 03:00 AM
I have noticed that I am getting a build up of directories within the /tmp directory. They are all prefixed curr. - then they have a similar format suffix.
An example is:
curr.AAAa29909:
total 24
-rw-r--r-- 1 k_martin dba 159 Nov 16 15:25 .!dtdesktop
-rw-r--r-- 1 k_martin dba 437 Nov 16 15:25 dt.resources
-rw-r--r-- 1 k_martin dba 146 Nov 16 15:25 dt.settings
-rw-r----- 1 k_martin dba 466 Nov 16 15:25 dta21151
-rw-r----- 1 k_martin dba 323 Nov 16 15:25 dta21154
-rw-r----- 1 k_martin dba 246 Nov 16 15:25 dta21158
-rw-rw---- 1 k_martin dba 2030 Nov 15 15:07 dtfile.fmgr
-rw-r--r-- 1 k_martin dba 1688 Nov 16 15:25 dtsession.db
-rw-r--r-- 1 k_martin dba 1445 Nov 16 15:25 dtwm.db
I believe that they are related to ReflectionX sessions that may not have closed down gracefully but I am not sure.
1. Am I okay to remove the directories which were created earlier than today?
2. Is there any way I can prevent these 'redundant'directories from being left on the system in the future.
Many thanks ............. Bob
An example is:
curr.AAAa29909:
total 24
-rw-r--r-- 1 k_martin dba 159 Nov 16 15:25 .!dtdesktop
-rw-r--r-- 1 k_martin dba 437 Nov 16 15:25 dt.resources
-rw-r--r-- 1 k_martin dba 146 Nov 16 15:25 dt.settings
-rw-r----- 1 k_martin dba 466 Nov 16 15:25 dta21151
-rw-r----- 1 k_martin dba 323 Nov 16 15:25 dta21154
-rw-r----- 1 k_martin dba 246 Nov 16 15:25 dta21158
-rw-rw---- 1 k_martin dba 2030 Nov 15 15:07 dtfile.fmgr
-rw-r--r-- 1 k_martin dba 1688 Nov 16 15:25 dtsession.db
-rw-r--r-- 1 k_martin dba 1445 Nov 16 15:25 dtwm.db
I believe that they are related to ReflectionX sessions that may not have closed down gracefully but I am not sure.
1. Am I okay to remove the directories which were created earlier than today?
2. Is there any way I can prevent these 'redundant'directories from being left on the system in the future.
Many thanks ............. Bob
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 03:07 AM
12-14-2000 03:07 AM
Re: /tmp - rogue directories
Hi there.
As far as i know these are files left from
dead connections. If they are older than one day, remove them.
Rgds
Alexander M. Ermes
As far as i know these are files left from
dead connections. If they are older than one day, remove them.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 03:18 AM
12-14-2000 03:18 AM
Solution
Hi
I run this script from cron once a day. It clears down the dirs.
------------------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 {} \;
# Clear /var/tmp files and dirs unused for over 7 days
find /var/tmp -type f -atime +7 -exec rm {} \;
find /var/tmp -type d -atime +7 -exec rmdir {} \;
-------------------cut here--------------------
Anything older that 7 days is cleaned out.
HTH
Paula
I run this script from cron once a day. It clears down the dirs.
------------------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 {} \;
# Clear /var/tmp files and dirs unused for over 7 days
find /var/tmp -type f -atime +7 -exec rm {} \;
find /var/tmp -type d -atime +7 -exec rmdir {} \;
-------------------cut here--------------------
Anything older that 7 days is cleaned out.
HTH
Paula
If you can spell SysAdmin then you is one - anon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 03:44 AM
12-14-2000 03:44 AM
Re: /tmp - rogue directories
Hi Bob,
You can delete the old files.
The clean tmp parameter can be activated to clean up files in your /tmp from /etc/rc.config.d/clean_tmps file. Set the parameter CLEAR_TMP=1.
This will clear out files from /tmp at next system boot.
You can delete the old files.
The clean tmp parameter can be activated to clean up files in your /tmp from /etc/rc.config.d/clean_tmps file. Set the parameter CLEAR_TMP=1.
This will clear out files from /tmp at next system boot.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP