[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.