1826380 Members
4219 Online
109692 Solutions
New Discussion

Log Files

 
SOLVED
Go to solution
Waqar Razi
Regular Advisor

Log Files

I have question about some log files. How important and critical are they and if we are doing trimming, how many days of data should be keep in our records.

/var/opt/omni/log/inet.log
/var/stm/logs/os/log96.raw (There are many log files like log90.raw, log91.raw and so on)

And files with patch names under /var/adm/sw/patch directory.

Can some one give me advice?
8 REPLIES 8
Dennis Handly
Acclaimed Contributor
Solution

Re: Log Files

Do not delete anything under /var/adm/sw/patch, otherwise you won't be able to patch.
You can commit patches or use cleanup(1m).
Torsten.
Acclaimed Contributor

Re: Log Files

Don't really know about "omni" - could be backup software related.

The stm logs are rotated, so you may consider to remove the oldest.

Never touch any file in /var/adm/sw/patch - use *ONLY* cleanup:

man cleanup

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Waqar Razi
Regular Advisor

Re: Log Files

Wat are the stm logs?
Pete Randall
Outstanding Contributor

Re: Log Files

Yes, the /var/opt/omni stuff is from Omniback - or Data Protector as it's now called. I would be cautious about deleting them. They may well be crucial to Data Protector operation.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: Log Files

STM = support tools manager - the online diagnostics.

see

2.2 OnlineDiag - EMS Hardware Monitors and Support Tools Manager (STM)

on

http://docs.hp.com/en/diag.html#2%20Online%20Diagnostics

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pete Randall
Outstanding Contributor

Re: Log Files

Hmmmmm. I just looked at my /var/opt/omni/log/inet.log and it looks like a pretty trivial record of activity. I would think you could safely null it out:

> /var/opt/omni/log/inet.log


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Log Files

Hi Wagar:

Using 'cleanup -c 1' may return considerable space in '/var'. The 'cleanup' utility is a friendly frontend to 'swmodify' to commit patches in '/var/adm/sw'. It is a safe way to manage this directory. A committed patch is one whose roll-back state no longer exists. Removing this data gains space at the expense of not being able to restore a previous patch state. The 'cleanup -c 1' leaves at least one previous state available.

Reagrds!

...JRF...
Prashanth Waugh
Esteemed Contributor

Re: Log Files

Hi,

My suggestion is take the backup first. then trim it.

Regards
Atul
For success, attitude is equally as important as ability