Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Measureware log files

SOLVED
Go to solution
Highlighted
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
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