Re: What is the purpose of "/var/stm/logs/os" in HPUX

this is about STM , (=Support Tool Manager) logs. it is very good tool to be inform about your hardware and problems related with any hardware like from CPU to fans..if you delete them I think, you can lose history of at least cc boot logs, are you really need to delete them OR why do you need it ?

Re: What is the purpose of "/var/stm/logs/os" in HPUX

As mentioned these files are used by the STM logging subsystem. These logs are in the format of "log.x.raw", "log.x.raw.cur", and "memlog".

Also, depending on the server type, you may also find within this directory files such as "fpl.log.xxx", "ccbootlog", and "ccerrlog". These files are copied logs from the MP/GSP subsystem.

If you have many of these logs its an indicator that a problem has been occurring. With many log.x.raw files, this is typically a problem with an I/O device or controller. However the problem could have occurred years ago.

Before deleting anything its advised to view the logs first to see if they still apply: To view the log.x.raw files, use STM: #cstm --> ru --> logtool

If you are certain the logs are no longer useful they can be safely removed. However the following should NOT be removed:

memlog log.X.raw.cur ccbootlog and ccerrlog (if present)

If there are many FPL logs then check the dates on those. Again, if there are many logs created recently, you should check for a problem elsewhere. FPL logs can be most easily viewed using the MP Event Log viewer.

Again, if the logs are found to be out of date, they can be removed. Just do not remove the latest of these logs as it is the active one.

-Bob

----------------Was this helpful? Like this post by giving me a thumbs up below!

Re: What is the purpose of "/var/stm/logs/os" in HPUX

/var/stm/logs/os normally uses a few megabytes or when there are serious problems, several dozen megabytes. If you have more than 20 MB in that directory (hint: du -k /var/stm/logs/os), then you probably have a serious hardware failure going on. You need to get your server fixed.