[one-users] CPU usage

Aleksandar DRAGANOV s1058571 at sms.ed.ac.uk
Fri Jul 29 08:57:25 PDT 2011


Hello guys,

I am trying to collect some data about the CPU usage for each VM
running. And I don't understand what are the numbers that ONe gives as
info:

   -bash-4.1$ onevm list
     ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
    122 oneadmin  one-122 runn  15   1024M       hostName  01 04:42:46
    123 oneadmin  one-123 runn  10   1024M       hostName  01 04:42:45
    125 oneadmin  one-125 runn  19   1024M       hostName  00 18:13:36
    126 oneadmin  one-126 runn   0   1024M       hostName2 00 18:13:32
    127 oneadmin  one-127 runn   0   1024M       hostName2 00 18:13:30
    130 oneadmin  one-130 runn   4      2G       hostName2 00 15:22:43

What are these number 15, 10, 19? If the host has 4 core CPU and I
have specified 1CPU per VM, is the maximum for each VM 25 or it is
100? Is it anything related to the CPU usage because at the time a got
this data one-122 and one-123 were doing absolutely nothing and the
graph in virt-manager about CPU usage agrees about that.

If I specify 2 CPUs per VM in the template the instance still has only
1 CPU. I guess that's because the image is installed in this way. So
how can I control this on the fly? I understand this is probably not
ONe related question but any direction or help will be highly
appreciated.

Cheers,
Sasho

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.





More information about the Users mailing list