[lxc-users] interpreting lxc-top CPU numbers

Dwight Engen dwight.engen at oracle.com
Mon Jul 14 14:08:18 UTC 2014


On Tue, 08 Jul 2014 09:58:15 -0400
Chris Burroughs <chris.burroughs at gmail.com> wrote:

> On 06/27/2014 08:49 AM, Dwight Engen wrote:
> > On Thu, 26 Jun 2014 13:23:52 -0400
> > Chris Burroughs <chris.burroughs at gmail.com> wrote:
> >
> >> Container            CPU      CPU      CPU      BlkIO        Mem
> >> Name                Used      Sys     User      Total       Used
> >> c3                242.85    71.47   193.44    2.92 GB   48.33 MB
> >> c4               2028.90   209.47  2054.37  588.00 KB  103.82 MB
> >> n2                  1.23     0.12     0.19    4.00 KB    2.24 MB
> >> TOTAL (3 )       2272.98   281.06  2248.00    2.92 GB  154.40 MB
> >>
> >> What are the units on the CPU columns?  They don't appear to be
> >> either a relative or absolute percent.
> >
> > They are amounts of time in seconds.
> 
> Sorry I'm still not following.  Total time in seconds since the 
> container started?

Amount of CPU time the container has used since it was started. You can
see <kernel src>/Documentation/cgroups/cpuacct.txt for more info.

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list