<?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=MaymeOvermyer</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=MaymeOvermyer"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/MaymeOvermyer"/>
	<updated>2026-05-15T15:02:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=UBC_parameter_units&amp;diff=10216</id>
		<title>UBC parameter units</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=UBC_parameter_units&amp;diff=10216"/>
		<updated>2011-04-29T16:22:57Z</updated>

		<summary type="html">&lt;p&gt;MaymeOvermyer: /* Overriding default units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{UBC toc}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# entries which name has word 'page' are measured in [[memory page]]s (4K on x86 and x86_64, 16K for IA64). These are &amp;lt;code&amp;gt;privvmpages&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;oomguarpages&amp;lt;/code&amp;gt; and others.&lt;br /&gt;
# entries with names like 'num*' are measured in items. i.e. &amp;lt;code&amp;gt;numproc&amp;lt;/code&amp;gt; - number of processes, &amp;lt;code&amp;gt;numiptent&amp;lt;/code&amp;gt; - number of iptables entries.&lt;br /&gt;
# other entries like &amp;lt;code&amp;gt;kmemsize&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tcprcvbuf&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tcpsndbuf&amp;lt;/code&amp;gt; are measured in bytes &lt;br /&gt;
&lt;br /&gt;
== Overriding default units ==&lt;br /&gt;
&lt;br /&gt;
When using [[vzctl]] to set beancounter parameters, you can set units explicitly when appropriate (i.e. for all parameters which names are not starting with &amp;lt;code&amp;gt;num&amp;lt;/code&amp;gt;*). The following suffixes are available:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| g, G || gigabytes&lt;br /&gt;
|-&lt;br /&gt;
| m, M || megabytes&lt;br /&gt;
|-&lt;br /&gt;
| k, K || kilobytes&lt;br /&gt;
|-&lt;br /&gt;
| p, P || [[memory page]]s&lt;br /&gt;
|} &lt;br /&gt;
=== Examples of [http://www.essaywriters.net/ freelance writing] ===&lt;br /&gt;
&lt;br /&gt;
* Set kmemsize limit to 512 Kb&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl set $CTID --kmemsize 512k&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Set privvmpages limit to 256 Mb&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl set $CTID --privvmpages 256m&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Set tcprcvbuf limit to 1000 pages (totals to almost 4 Mb on x86)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vzctl set $CTID --tcprcvbuf 1000p&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>MaymeOvermyer</name></author>
		
	</entry>
</feed>