<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fr%C3%A9d%C3%A9ric+MOULIN</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fr%C3%A9d%C3%A9ric+MOULIN"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Fr%C3%A9d%C3%A9ric_MOULIN"/>
	<updated>2026-07-01T01:12:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Vestat&amp;diff=6701</id>
		<title>Vestat</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Vestat&amp;diff=6701"/>
		<updated>2008-11-18T15:10:15Z</updated>

		<summary type="html">&lt;p&gt;Frédéric MOULIN: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:resource management]]&lt;br /&gt;
The '''/proc/vz/vestat''' file contains statistics for VE CPU usage. &lt;br /&gt;
&lt;br /&gt;
The ''guessed'' content (may the Gods - blessed thy fingers - acknowledge or reject my humble info here):&lt;br /&gt;
&lt;br /&gt;
* '''VEID''': The VE ID, obviously.&lt;br /&gt;
* '''user, nice, system, uptime''': usage in [[jiffy|jiffies]]. These are the equivalents of &amp;lt;code&amp;gt;/proc/stat&amp;lt;/code&amp;gt;, but there is no ''idle'' because it cannot be measured this way.&lt;br /&gt;
* '''idle, strv, uptime, used''': usage in [[cycle|cycles]]. idle and uptime are obvious, strv isn't used, and used is the used cycles by VE on all CPUs.&lt;br /&gt;
* '''maxlat, totlat, numsched''': latency statistics in ''cycles''. maxlat is max latency in cycles meaning how long VE process has to wait before it actually got CPU time; totlat/numsched gives average scheduling latency. '''These do not seem work in OpenVZ, only in Virtuozzo.'''&lt;br /&gt;
&lt;br /&gt;
== Measure conversions ==&lt;br /&gt;
Using jiffies:&lt;br /&gt;
*seconds = ''measurement'' / jiffies_per_seconds&lt;br /&gt;
&lt;br /&gt;
Using cycles:&lt;br /&gt;
*seconds = ''measurement'' / cycles_per_jiffy / jiffies_per_seconds.&lt;br /&gt;
&lt;br /&gt;
Variables:&lt;br /&gt;
* ''jiffies_per_second'' = 1000 '''(unless you have changed that in kernel config?)'''&lt;br /&gt;
* ''cycles_per_jiffy'' = ''frequency_of_your_cpu'' / ''jiffies_per_second''&lt;br /&gt;
* ''frequency_of_your_cpu'' (in Hz) can be read from /proc/cpuinfo, as:&lt;br /&gt;
** &amp;lt;code&amp;gt;cpu MHz : ''frequency_of_your_cpu''&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Frédéric MOULIN</name></author>
		
	</entry>
</feed>