Linux Performance Customer Profiler Utility for PowerKVM/xKVM

What it is?

While reading through, have come across nice tool to capture performance data of Linux machines ( Power & x86_64 too).  This script captures a lot of potentially interesting performance data (profile information, system information, and some system configuration information) on a single pass approach.  This information would help to analyse.

Where do i get it?

                            http://ibm.co/download-lpcpu

How do i run?

1) get taraball  & untar

[root@powerkvm sp]# tar -xvf lpcpu.tar.bz2 &&  cd lpcpu

2) Run

[root@powerkvm lpcpu]# ./lpcpu.sh duration=15
Running Linux Performance Customer Profiler Utility version 9d054f83862fc0b415332505a359c316e7224479 2014-08-22 09:52:45 -0500
Importing CLI variable : duration=15

Starting Time: Fri Aug 22 17:24:04 EDT 2014
Setting up sar.
Setting up iostat.
Setting up mpstat.
Setting up vmstat.
Setting up top.
Setting up meminfo.
Setting up proc-interrupts.
Profilers start at: Fri Aug 22 17:24:04 EDT 2014
starting sar.default [5]
starting iostat.default [5] [mode=disks]
starting mpstat.default [5]
starting vmstat.default [5]
Starting top.
starting meminfo.default [5]
starting proc-interrupts.default [5]
Waiting for 15 seconds.
Stopping sar.
Stopping iostat.
Stopping mpstat.
Stopping vmstat.
Stopping top.
Stopping meminfo.
Stopping interrupts.
Profilers stop at: Fri Aug 22 17:24:19 EDT 2014
Processing sar data.
Processing iostat data.
Processing mpstat data.
Processing vmstat data.
Processing top data.
Processing meminfo data.
Processing interrupts data.
Setting up postprocess.sh
Gathering system information
Finishing time: Fri Aug 22 17:24:25 EDT 2014
Packaging data…data collected is in /tmp/lpcpu_data.powerkvm.default.2014-08-22_1724.tar.bz2
[root@powerkvm lpcpu]#

How Can i run with load?

./lpcpu.sh cmd=”dd if=/dev/zero of=/dev/null bs=1M count=1024″

Where do i get results?

/tmp/lpcpu_data.powerkvm.default.2014-08-22_1724.tar.bz2

How to i get results?

install perl, perl-Thread-Queue on node toget results.

./postprocess.sh  /home/data/sp/lpcpu

Your results are captured in summary.html

Advertisements

One thought on “Linux Performance Customer Profiler Utility for PowerKVM/xKVM

  1. Pingback: Bring Up PowerKVM | Pradeep K Surisetty

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s