By: Bill Buros.
The Linux Performance customer profiling utility (lpcpu) has been updated with some enhancements and clarifications for easier use. The package is available for download here. The package is designed to capture performance information for analysis in one script invocation, gathering the profiler and system information into a packaged tarball.
The modifications in this update include:
- Add capture of sysctl.conf to see explicit modifications of sysctl values
- Update script termination processes to not create an essentially empty tarball package when the requested profilers are not installed
- Add new lseth utility processing to the scripts
- Update and clarify error messages for the sysstat package (which has iostat, mpstat, and sar profilers).
The package can format (graphed in charts) many of data outputs from common performance tools like iostat, meminfo, mpstat, sar, and vmstat. By simply unpacking the lpcpu.tar.bz2 package on an x86 system, together with the generated profiler tar ball, the information is presented in an easier format for "seeing" a lot of data.
On my Linux system, I have my system setup with a web server, so I unpack and process data in the /var/www/html directory. First I download and unpack the latest lpcpu.tar.bz2 package to my x86 system. Separately, I have gathered the performance data from another test system.
$ cd /home/wmb$ tar -jxf lpcpu.tar.bz2$ cd /var/www/html/lpcpu/$ tar -jxf lpcpu_data.mytestsystem.default.2013-01-25_1232.tar.bz2$ cd lpcpu_data.mytestsystem.default.2013-01-25_1232/$ ./postprocess.sh /home/wmb/lpcpu/<many messages>
This generates a summary.html file which can be opened in a browser window.
We recommend you give it a try. Feel free to ask questions on the message board. Thanks as always to Karl Rister, Tom Lendacky, and others who are continuing to contribute changes, enhancements, ideas and updates to the package.