Print UBC values for a specific container

Here one can find interesting information about OpenVZ management and maintenance. OpenVZ control panels information also goes here

Print UBC values for a specific container

Postby lik » Sat Aug 08, 2009 1:58 am

If you want to print UBC(/proc/user_beancounters) values for a specific container, the following construct can be helpful:
Code: Select all
egrep -A23 '^[[:space:]]+${CTID}:'

Here ${CTID} is the ID of the container you are interested in.

In case you want to print UBC values for a few containers at once, set CTID to something like (101|102|103).
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Return to OpenVZ related


  • Related topics
    Last post