Operating System - HP-UX
1752448 Members
5646 Online
108788 Solutions
New Discussion юеВ

Re: Measureware log files

 
SOLVED
Go to solution
Tim Medford
Valued Contributor

Measureware log files

Does anyone know how to correctly trim these two measureware/perfview files?

/var/opt/perf/datafiles/logdev
/var/opt/perf/datafiles/logtran

They are about 100mb each and growing daily. I see there is some kind of "utility" command which looks like it might work, but I don't want to mess up anything.

Thanks in advance!
Tim
3 REPLIES 3
Vikas Khator
Honored Contributor

Re: Measureware log files

Hi ,

These files only grow to the limit set in /var/opt/perf/parm file.

Check for following lines in the parm file
size global=10, application=10 ......

where 10 is the size in MB .

Measureware takes care of rotating these log files.
Keep it simple
Vikas Khator
Honored Contributor
Solution

Re: Measureware log files

For short term solution you can use utlity -xr option to trim these log files .

However long term soltuion is determine how much data you want to retain and then change the parm file.

Measureware trims it's logfile everyday at configurable time ( defined in parm file)
so you can change the parm file and let measureware handle trimming .

This is probaly the safest way , if you do not want to use the utility .
Keep it simple
Tim Medford
Valued Contributor

Re: Measureware log files

Thanks Vikas, that's exactly what I was looking for. I guess the files are only 9mb...I missed a decimal point.

Regards,
Tim