Measureware log files (52 Views)
Reply
Valued Contributor
Tim Medford
Posts: 333
Registered: ‎09-28-1998
Message 1 of 4 (52 Views)
Accepted Solution

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
Honored Contributor
Vikas Khator
Posts: 476
Registered: ‎07-23-2000
Message 2 of 4 (52 Views)

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
Honored Contributor
Vikas Khator
Posts: 476
Registered: ‎07-23-2000
Message 3 of 4 (52 Views)

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
Valued Contributor
Tim Medford
Posts: 333
Registered: ‎09-28-1998
Message 4 of 4 (52 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.