Operating System - HP-UX
1832973 Members
2567 Online
110048 Solutions
New Discussion

Remove raw log files in /var/stm/logs/os

 
SOLVED
Go to solution
Emma_8
Frequent Advisor

Remove raw log files in /var/stm/logs/os

I would just like to know if it is okay to remove old files in above location. Filename is log111.raw (for example). I know not to remove the .raw.cur, just the other older files. Also these files are being generated approx every 30 mins on my platform and are all approx 500mb. What is generating these files and for what purpose as they are filling up the filesystem ?

Thanks a mil in advance.
4 REPLIES 4
Helen French
Honored Contributor

Re: Remove raw log files in /var/stm/logs/os

You can remove all files in this directory except EXCEPT these two files - logX.raw.cur and memlog. But remember if you do this, old log information will be lost.

To answer other questions about log getting full, you need to check your actual STM logs and see what's going wrong. Check all h/w parts with STM utilities and take proper actions.
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor
Solution

Re: Remove raw log files in /var/stm/logs/os

Check my replies in this post and others as well. If files are being generated frequently, it may indicate some kind of hardware problem or it may just be a case of getting STM updated on its patches.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x90617bb04b5cd611abdb0090277a778c,00.html
twang
Honored Contributor

Re: Remove raw log files in /var/stm/logs/os

The raw logfiles in this directory are used by the 'stm'. Before delete them, to view its content:
# cstm
cstm> ru logtool
Log Utility> ce

then you may trim them using "logfile"
or just remove them except 'logxxx.raw', and some of they can be recreated next time we run stm.
Emma_8
Frequent Advisor

Re: Remove raw log files in /var/stm/logs/os

Thanks to all. I viewed the log files and there were many errors being raised due to a h/w problem we had been having on the platform but which was just resolved yesterday. Have just removed the old logs now.

Cheers