Changes

Jump to: navigation, search

FAQ

13 bytes added, 07:18, 13 July 2006
code'ified /proc/user_beancounters
:In short — only by stopping and starting a VE. In some cases you need to keep VE in a stopped state for a few minutes.
:Long answer: there can be many application who reads <code>/proc/user_beancounters</code>, and thus if you will reset it you gonna have problems with those other apps.
:Consider what happens if you will reset you sent/received packets/bytes statistics on the network interface — programs which reads will be screwed up.
:So the proper thing to watch for is not the current value of, say, failcnt, but whether it is increased (from the previous reading) or not. You can write a simple shell script to do just that.

Navigation menu