Operating System - HP-UX
1834935 Members
2091 Online
110071 Solutions
New Discussion

activity_log file needs diet

 
SOLVED
Go to solution
Avi Coren
Advisor

activity_log file needs diet

Is there a way to reduce the size of:
/var/stm/logs/sys/activity_log

ll shows this size: 1056651592 (!)

Thanks in advance,
Avi
7 REPLIES 7
Sanjiv Sharma_1
Honored Contributor

Re: activity_log file needs diet

Hi Avi,

You can stop STM.
Remove or rename the file.
Start STM.

Thanks,
Raje.
Everything is possible
Sanjiv Sharma_1
Honored Contributor
Solution

Re: activity_log file needs diet

Ooops....

Procedure to stop and start STM:
# xstm
Go to.... File->Administration->STM Shutdown
Now rename or remove activity_log file.
# xstm
Go to.... File->Administration->STM Startup

Thanks,
Raje.

Everything is possible
Sanjiv Sharma_1
Honored Contributor

Re: activity_log file needs diet

Ooops....

Procedure to stop and start STM:
# xstm
Go to.... File->Administration->STM Shutdown
Now rename or remove activity_log file.
# xstm
Go to.... File->Administration->STM Startup

Thanks,
Raje.

Everything is possible
Avi Coren
Advisor

Re: activity_log file needs diet

Hi Raje,
Thanks for your prompt reply.
How do I stop and start STM?
Is it critical to save the old file?

Thanks a lot,
Avi
Avi Coren
Advisor

Re: activity_log file needs diet

oops...
while i was asking you how to start and stop you've already answerd it...

so one question left:
Is it critical to save the old file?
Sanjiv Sharma_1
Honored Contributor

Re: activity_log file needs diet

Hi Avi,

There may be some important message in the activity_log file. STM always logs any errors, messages and warnings to the log files.

If the file has increased suddenly then we should look at the cause of the problem. If there is nothing important, then you may rename/remove them.

Thanks,
Raje.

Everything is possible
Avi Coren
Advisor

Re: activity_log file needs diet

Great!
Thanks a lot.
Doing this, reduced the usage of /var from 92% to 35% !

I gave you 10 points.
you worth them!

avi