Operating System - HP-UX
1827313 Members
3284 Online
109961 Solutions
New Discussion

files in /var/adm/sw/queue/*

 
YLTan
Frequent Advisor

files in /var/adm/sw/queue/*


in my server, there are a lot of small file in these directories, are these files needed?

/var/adm/sw/queue/complete
/var/adm/sw/queue/lckfiles
/var/adm/sw/queue/logfiles

Can it be deleted? will server have any problems after it is removed.
tyl
3 REPLIES 3
Karthik S S
Honored Contributor

Re: files in /var/adm/sw/queue/*

man swinstall

/var/adm/sw/queue/
The directory which contains the information about all active and complete install jobs, copy jobs, and other jobs initiated by the SD commands

Which means that if you need to maintain the inventory of the installed software then you better don't touch this directory.

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Bill Hassell
Honored Contributor

Re: files in /var/adm/sw/queue/*

These are too small to worry about. Leave them alone. The /var/adm/sw is a critical directory for installing HP software and patches. The only tool you should use for this directory is cleanup. Read the man page as there are a number of choices.


Bill Hassell, sysadmin
Helen French
Honored Contributor

Re: files in /var/adm/sw/queue/*

The best tool to clean your /var file system is 'cleanup'. It's not recommended to manually delete any files from /var/adm/sw where your critical patch and software files reside:

# cleanup -c 1 (man pages for details).

There are lot of other things you can do to create space on /var. Check /var/adm/crash for big crash files, trim log files like syslog.log, mail.log, wtmp, utmp, other log files etc.
Life is a promise, fulfill it!