Operating System - HP-UX
1752707 Members
5373 Online
108789 Solutions
New Discussion юеВ

/var full. Can I delete /var/stm/logs/os/log???.raw

 
SOLVED
Go to solution
Michael Bluemm
Frequent Advisor

/var full. Can I delete /var/stm/logs/os/log???.raw

Hi,
while looking for some big files in /var, I found the directory /var/stm/logs/os , which includes more than 300 files named log1.raw, log2.raw, ... log315.raw.
OS HP-UX 11.0
What are this directory and these files for, can I delete some?
Thanks, Michael
... still trying ...
8 REPLIES 8
Stefan Farrelly
Honored Contributor
Solution

Re: /var full. Can I delete /var/stm/logs/os/log???.raw

These are the hardware diagnostic logs. You can delete all execept the latest one.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Caesar_3
Esteemed Contributor

Re: /var full. Can I delete /var/stm/logs/os/log???.raw

Hello!

You can delete them just save the 2 last
for any case.

Caesar
Pete Randall
Outstanding Contributor

Re: /var full. Can I delete /var/stm/logs/os/log???.raw

Michael,

Those are logs for the diagnotic program Support Tools Manager. I think you can delete them.

You should also look for other large files. Try "du -sk /var/* |sort -n" to give you a sorted list of the largest files/directories under /var and continue to use the "du" command to drill down into those directories until you find the culprits.

Caution - do not delete anything out /var/adm/sw, you will destroy the ability to remove patches. Use the "cleanup" command instead to commit old versions of patches. See "man cleanup".

You can also use SAM to trim log files which live under /var.


Pete


Pete
RAC_1
Honored Contributor

Re: /var full. Can I delete /var/stm/logs/os/log???.raw

/var/stm/logs/os logs are generated by STM.

You can view them with cclogview command. Keep latest 3. Other you can delete safely.

There is no substitute to HARDWORK
Ken Hubnik_2
Honored Contributor

Re: /var full. Can I delete /var/stm/logs/os/log???.raw

Some applications always create large files in /var/tmp. Also there are lots of log files that can get really big in /var.
Elena Leontieva
Esteemed Contributor

Re: /var full. Can I delete /var/stm/logs/os/log???.raw

Michael,

The following file in /var/stm/logs/os should NOT be removed:
memlog
logN.taw.cur
ccbootlog

Elena
Michael Bluemm
Frequent Advisor

Re: /var full. Can I delete /var/stm/logs/os/log???.raw

Thank you all,
so easy to get 130 MB more in 10 seconds.
Now my /var is filled only by 20%, that should be enough for the next days.
Nice weekend, Michael
... still trying ...
twang
Honored Contributor

Re: /var full. Can I delete /var/stm/logs/os/log???.raw

Release space from /var:
- remove core dump:
# find /var -name core -exec rm {} \;
- empty logfiles:
# > log_file
- cleanup old patches
# cleanup -c 2
(before you do this, create an Ignite backup of your system)
("-c 2" means only commit patches that have been superceded 2 or more times.)