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

AW: [Xen-users] CPU monitoring

To: "xuehai zhang" <hai@xxxxxxxxxxxxxxx>, <David_Wolinsky@xxxxxxxx>
Subject: AW: [Xen-users] CPU monitoring
From: "Christian Keil" <c.keil@xxxxxxxxxx>
Date: Thu, 14 Jul 2005 21:22:31 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Jul 2005 19:21:23 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWIn5j51RXiZ7adRsSqAyhC4cesHwACaqkQ
Thread-topic: [Xen-users] CPU monitoring
I have tried the perl Script on a standard Installation, however i got this 
error :

./cpu.pl 
syntax error at ./cpu.pl line 16, near "secs

my "
Global symbol "$XM" requires explicit package name at ./cpu.pl line 16.
Global symbol "$XM" requires explicit package name at ./cpu.pl line 25.
Global symbol "$XM" requires explicit package name at ./cpu.pl line 26.
Execution of ./cpu.pl aborted due to compilation errors.
xen-ha02:~# perl -v

This is perl, v5.8.4 built for i386-linux-thread-multi
Strict is installed -> /usr/share/perl/5.8.4/strict.pm


Is there anything im missing ?


thanks

-----Ursprüngliche Nachricht-----
Von: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Im Auftrag von xuehai zhang
Gesendet: Donnerstag, 14. Juli 2005 16:16
An: David_Wolinsky@xxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Xen-users] CPU monitoring

David,
Check with an earlier post at 
http://lists.xensource.com/archives/html/xen-users/2005-06/msg00139.html.
A perl script is provided to output all domains' cpu usage periodically. 
However, sometimes the 
output values are not very accurate, for example, the total cpu usage (adding 
all domains' up) goes 
beyond 100%.
Xuehai

David_Wolinsky@xxxxxxxx wrote:
> While xm list would sort of work, I was hoping for something more like
> top.
> 
> Thanks,
> David 
> 
> -----Original Message-----
> From: Ian Pratt [mailto:m+Ian.Pratt@xxxxxxxxxxxx] 
> Sent: Tuesday, July 12, 2005 10:26 AM
> To: Wolinsky, David; xen-users@xxxxxxxxxxxxxxxxxxx
> Cc: ian.pratt@xxxxxxxxxxxx
> Subject: RE: [Xen-users] CPU monitoring
> 
>  
> 
>>How do I monitor total CPU usage of all domains?  (Ie, outside of a 
>>specific DomU).
> 
> 
> Do you mean 'xm list'?
> 
> Ian
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 


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

!DSPAM:42d6772c194492331583907!





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

<Prev in Thread] Current Thread [Next in Thread>