Operating System - HP-UX
1831919 Members
3401 Online
110031 Solutions
New Discussion

Re: Is it safe to remove or null STM log files?

 
Bob House_1
New Member

Is it safe to remove or null STM log files?

/var is getting full. I noticed that /var/stm/logs/os contains about 700 files such as log99.raw. It looks like each of the files is about .5 MB and the time stamps on most of them are over a year old.

Can I safely remove the older files?
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Is it safe to remove or null STM log files?

Yes it is safe to remove the files. They will be re-created next time you use the tool

cleanup -c 1

That will commit patches superseded more than 1 time. If you have been dutifully patching that will get you back some space.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: Is it safe to remove or null STM log files?

You might consider tar'ing them off to a tape, but I can't think of a reason to keep them.


Pete

Pete
Jeroen Peereboom
Honored Contributor

Re: Is it safe to remove or null STM log files?

Hmmm,
cleanup is used to remove patch files, not STM logfiles...?!?

JP
Steven E. Protter
Exalted Contributor

Re: Is it safe to remove or null STM log files?

Another suggestion:

sam
routine tasks
Trim log files.

Maybe a lot of space to be had there.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Chris Wilshaw
Honored Contributor

Re: Is it safe to remove or null STM log files?

Personally, I'd always go for nulling files rather than removing them - just to avoid the "missing space" situation that comes with deleting files that are in use.

As Pete stated, copying them to tape (or some other storage media) first is probably a good idea.