WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xen usage monitoring (munin plugin)

To: John Levin <xenjohn@xxxxxxxxx>
Subject: Re: [Xen-users] xen usage monitoring (munin plugin)
From: Anand <xen.mails@xxxxxxxxx>
Date: Mon, 9 Jan 2006 23:50:13 +0530
Cc: tatu@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 09 Jan 2006 18:26:30 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HJKWR815TQLAW9H1UFakat81QyJgir8mDZUtbPHv0vk1H7DosuZko0T028wwR6yvpoCHchRycxiitBOI/BFAH7CvroaEDW5L68V3Iec5R7Ex6kqWmseT3i/kuG4A/NwLET5GO2jzjOxxto+gJxMc+nvR4XttL1Otuhp+1y1BMyc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2ec03a9d0601090819u6a6502f6mc9323cb654fcaee1@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20060107193351.GJ4735@xxxxxxxxxxxxxxxxx> <Pine.LNX.4.60.0601072138500.17656@xxxxxxxxxxxxxxxx> <2ec03a9d0601090819u6a6502f6mc9323cb654fcaee1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 1/9/06, John Levin <xenjohn@xxxxxxxxx> wrote:

What about XenMon?   It's included in the repo: tools/xenmon/

A recent post:
http://lists.xensource.com/archives/html/xen-users/2006-01/msg00134.html

Did you have any luck in running xenmon and understanding its output ? I followed that post enabled trace and after that when i run python xenmon.py, i get the following (even though my screen size is bigger than that)

xenbaked: no process killed
ms_per_sample = 100
Initialized with 1 cpu
CPU Frequency = 2014.82
Your terminal screen is not big enough; Please resize it.
row=2, col=90, str='Gotten'

By hit and trial i got it working, and this is what it shows when run

 CPU = 0        Last 10 seconds                              Last 1 second
 ==================================================================================================
  0   1.66 ms     0.17%       156.74 us/ex      17.15 ms    1.72%       196.03 us/ex      Gotten
  0                           7.41 ms/ex                                8.79 ms/ex        Allocated
  0   998.33 ms   99.83%      0.00 ns/io        982.72 ms   98.27%      0.00 ns/io        Blocked
  0   18.57 us    0.00%       1.76 us/ex        107.05 us   0.01%       1.22 us/ex        Waited
  0                           10/s                                      87                Execution
co0nt 0/s                     0/ex              0                       0.00/ex           I/O Count
  6   13.49 us    0.00%       147.75 us/ex      164.29 us   0.02%       85.43 us/ex       Gotten
  6                           500.00 us/ex                              500.00 us/ex      Allocated
  6   999.98 ms   100.00%     0.00 ns/io        999.81 ms   99.98%      0.00 ns/io        Blocked
  6   2.08 us     0.00%       22.83 us/ex       20.09 us    0.00%       10.45 us/ex       Waited
  6                           0/s                                       1                 Execution
co6nt 0/s                     0/ex              0                       0.00/ex           I/O Count
  31  110.47 ms   11.05%      10.45 ms/ex       982.59 ms   98.26%      11.35 ms/ex       Gotten
  31                          998.27 ms/ex                              1.00 s/ex         Allocated
  31  0.00 ns     0.00%       0.00 ns/io        0.00 ns     0.00%       0.00 ns/io        Blocked
  31  2.03 ms     0.20%       191.73 us/ex      17.31 ms    1.73%       200.01 us/ex      Waited
  31                          10/s                                      86                Execution
co31t 0/s                     0/ex              0                       0.00/ex           I/O Count
                  11.21%                                    99.99%

Can this output be redirected to something / parsed somehow  ?

--

regards,

Anand
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users