Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Proc/user beancounters

116 bytes added, 11:14, 8 March 2010
Reading
If you want to print UBC values for a specific container, the following construct can be helpful
<nowiki>egrep -A23 '^[["${CTID}:space" /proc/user_beancounters</nowiki> Or with headers, though slightly harder to remember:]]+  <nowiki>sed -nr "1,2p;/${CTID}:/,+23p' /proc/user_beancounters</nowiki>
Here <code>${CTID}</code> is the ID of the container you are interested in.
Anonymous user