Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bergerx/lxc-status

A simpler helper python script to see lxc resource usage
https://github.com/bergerx/lxc-status

Last synced: 27 days ago
JSON representation

A simpler helper python script to see lxc resource usage

Awesome Lists containing this project

README

        

lxc-status
==========

A simpler helper python script to see lxc resource usage for Ubuntu 13.04

Example output:

bekir@host:~$ sudo ./lxc-status
name mem mem_lim mem% read wrote read# wrote# cpu cpu#
--------------- ----- -------- ----- ----- ------ ------ ------- ------ ----
api 1G 4G 27.15 48K 48K 12 12 530G 2
appserver 884M 8G 10.8 48K 48K 12 12 510G 4
ping 582M 1G 56.85 40K 40K 10 10 524G 1
monitoring 869M 16G 5.3 56K 56K 14 14 542G 4
database 9G 16G 61.06 1M 1M 272 272 774G 8
redis 528M 16G 3.22 48K 48K 12 12 701G 4
bekir@host:~$

A better implementation with lua could be found in
https://github.com/lxc/lxc/blob/f080ffd7d656fbd9505a8e8eb52a05d61355c677/src/lxc/lxc-top
but not released as of this writing. You should check if it released.