Operating System - HP-UX
1833762 Members
2830 Online
110063 Solutions
New Discussion

/vat/tmp dirrectory on HP-UX

 
SOLVED
Go to solution
Sharad Kowarkar
Occasional Advisor

/vat/tmp dirrectory on HP-UX

Hello, I am 4 months old HP-UX system administrator. My question is "Can I delete everything inder /var/tmp?" Since HP-UX documentation says that files under this directory are generated in the /usr hierarchy. And its name itself says that it is a tmp directory.
Consistency in quality,speed and change is what we need.
4 REPLIES 4
Bill McNAMARA_1
Honored Contributor
Solution

Re: /vat/tmp dirrectory on HP-UX

Some of the files may be in use, in which case no, you just won't be allowed.. but normally yes, theres no probem.

You should probably have a look at the setting cleartmps in /etc/rc.config.d/ and configure to have it deleted on reboot.

Later,
Bill
It works for me (tm)
Michael Tully
Honored Contributor

Re: /vat/tmp dirrectory on HP-UX

Hi,

In most cases this would prove not to be
a problem. You may find that some of
these files may in fact still be in use by
various processes. To be on the safe side
you can safely remove any file in /var/tmp
that is older than your last system boot.

HTH
-Michael
Anyone for a Mutiny ?
Bill McNAMARA_1
Honored Contributor

Re: /vat/tmp dirrectory on HP-UX

Have a look here for a cron script that'll help you keep tmp dirs under control:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x1eab14a24fd1d4118fef0090279cd0f9,00.html

Later,
Bill
It works for me (tm)
Magdi KAMAL
Respected Contributor

Re: /vat/tmp dirrectory on HP-UX

Hi Sharad,

I would prefer that you leave it if it is not huge and causing a serious problem ( like /var file system is 99 %full ). These files could be in use by process and when deleted, these process could crash and would NOT start again ! ( they lose their status ).

You may find sockets, DCE, TCP files in there.

I would prefer to leave them without deleting.

Magdi