http://linux-vserver.org/index.php?title=ProcFS&feed=atom&action=history
ProcFS - Revision history
2024-03-19T13:36:46Z
Revision history for this page on the wiki
MediaWiki 1.20.2
http://linux-vserver.org/index.php?title=ProcFS&diff=4895&oldid=prev
Glenn: +cat
2011-10-21T19:26:13Z
<p>+cat</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 19:26, 21 October 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 235:</td>
<td colspan="2" class="diff-lineno">Line 235:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># echo 255 >/proc/sys/vserver/debug_switch</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># echo 255 >/proc/sys/vserver/debug_switch</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category:Theory]]</ins></div></td></tr>
</table>
Glenn
http://linux-vserver.org/index.php?title=ProcFS&diff=3594&oldid=prev
Gebura: /* Context specific information */
2009-03-01T01:06:10Z
<p><span dir="auto"><span class="autocomment">Context specific information</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 01:06, 1 March 2009</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 141:</td>
<td colspan="2" class="diff-lineno">Line 141:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>This file contains information about virtualized data, including context uptime bias, utsname settings, thread information and load average.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>This file contains information about virtualized data, including context uptime bias, utsname settings, thread information and load average.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Note: some fields are moved in nsproxy file with vs2.3.x.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 174:</td>
<td colspan="2" class="diff-lineno">Line 175:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; loadavg : Number of jobs in the run queue averaged over 1, 5, and 15 minutes</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; loadavg : Number of jobs in the run queue averaged over 1, 5, and 15 minutes</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; total_forks : Total number of forks</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; total_forks : Total number of forks</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">=== nsproxy ===</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Vs 2.3.x (experimental) only.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">NSProxy: ffff81000460d338 [ffff81007cca9bc0,ffff8100378d5800,ffff8100378e7600]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Namespace: ffff81007cca9bc0 [#2]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">RootPath: /</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">SysName: Linux</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">NodeName: lenny-amd64</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Release: 2.6.26-1-vserver-amd64</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Version: #1 SMP Sat Jan 10 19:46:42 UTC 2009</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Machine: x86_64</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">DomainName: (none)</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">SEMS: 250 32000 32 128  0</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">MSG: 8192 16384 286</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">SHM: 33554432 2097152  4096 0</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></pre></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== limit ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== limit ===</div></td></tr>
</table>
Gebura
http://linux-vserver.org/index.php?title=ProcFS&diff=2407&oldid=prev
85.197.237.144: /* sched */
2007-03-18T19:45:33Z
<p><span dir="auto"><span class="autocomment">sched</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 19:45, 18 March 2007</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 99:</td>
<td colspan="2" class="diff-lineno">Line 99:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; TokensMax : Maximum number of tokens in the bucket</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; TokensMax : Maximum number of tokens in the bucket</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; PrioBias : Priority bias</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; PrioBias : Priority bias</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>; VaVaVoom : <del class="diffchange diffchange-inline">??</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>; VaVaVoom : <ins class="diffchange diffchange-inline">The calculated priority bonus a guest gets</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; cpu X</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; cpu X</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>: Ticks spent in user-space</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>: Ticks spent in user-space</div></td></tr>
</table>
85.197.237.144
http://linux-vserver.org/index.php?title=ProcFS&diff=2038&oldid=prev
Hollow at 11:21, 1 December 2006
2006-12-01T11:21:35Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:21, 1 December 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 75:</td>
<td colspan="2" class="diff-lineno">Line 75:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; UseCnt : References to the vx_info struct</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; UseCnt : References to the vx_info struct</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Tasks : Number of processes (tasks) inside the context</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>; Tasks : Number of processes (tasks) inside the context</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>; Flags : [[<del class="diffchange diffchange-inline">Context </del>Flags]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>; Flags : [[<ins class="diffchange diffchange-inline">Capabilities and </ins>Flags]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>; BCaps : [[<del class="diffchange diffchange-inline">System </del>Capabilities]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>; BCaps : [[Capabilities <ins class="diffchange diffchange-inline">and Flags</ins>]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>; CCaps : [[<del class="diffchange diffchange-inline">Context </del>Capabilities]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>; CCaps : [[Capabilities <ins class="diffchange diffchange-inline">and Flags</ins>]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== sched ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== sched ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>This file contains information about the [[<del class="diffchange diffchange-inline">Token Bucket </del>Scheduler]].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>This file contains information about the [[<ins class="diffchange diffchange-inline">CPU </ins>Scheduler]].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 177:</td>
<td colspan="2" class="diff-lineno">Line 177:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== limit ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== limit ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>This file contains information about [[Resource Limits]], including [[<del class="diffchange diffchange-inline">Limit </del>Accounting]] (i.e these do not appear in cacct).</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>This file contains information about [[Resource Limits]], including [[<ins class="diffchange diffchange-inline">Context </ins>Accounting]] (i.e these do not appear in cacct).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><pre></div></td></tr>
</table>
Hollow
http://linux-vserver.org/index.php?title=ProcFS&diff=1796&oldid=prev
Hollow: update to 2.1.1, detailed descripton lists, language
2006-10-21T02:25:40Z
<p>update to 2.1.1, detailed descripton lists, language</p>
<a href="http://linux-vserver.org/index.php?title=ProcFS&diff=1796&oldid=1770">Show changes</a>
Hollow
http://linux-vserver.org/index.php?title=ProcFS&diff=1770&oldid=prev
UdoBurghardt at 12:05, 16 October 2006
2006-10-16T12:05:20Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:05, 16 October 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Per Host ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Per Host ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Regarding the host system there is only one file present:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Regarding the host system there is only one <ins class="diffchange diffchange-inline">single </ins>file present:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== info ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== info ===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  /proc/virtual/info</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  /proc/virtual/info</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  VCIVersion:    0002:0002</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  VCIVersion:    0002:0002</div></td></tr>
</table>
UdoBurghardt
http://linux-vserver.org/index.php?title=ProcFS&diff=1769&oldid=prev
UdoBurghardt at 12:04, 16 October 2006
2006-10-16T12:04:26Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:04, 16 October 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Information abaut the current runtime conditions can be found inside the /proc directory. The very most information is read-only. Because it usually is world-readable you do not have to gain root access to look at this information. <del class="diffchange diffchange-inline">Files explained on this page are:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Information abaut the current runtime conditions can be found inside the /proc directory. The very most information is read-only. Because it usually is world-readable you do not have to gain root access to look at this information.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> /proc/virtual</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  .../info</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> /proc/virtual/<id></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  .../info</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  .../status</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  .../sched</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  .../cvirt</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  .../cacct</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  .../limit</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Per Host ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Per Host ==</div></td></tr>
</table>
UdoBurghardt
http://linux-vserver.org/index.php?title=ProcFS&diff=1768&oldid=prev
UdoBurghardt at 12:03, 16 October 2006
2006-10-16T12:03:37Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 12:03, 16 October 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Information abaut the current runtime conditions can be found inside the /proc directory. The very most information is read-only. Because it usually is world-readable you do not have to gain root access to look at this information. <del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Information abaut the current runtime conditions can be found inside the /proc directory. The very most information is read-only. Because it usually is world-readable you do not have to gain root access to look at this information. Files explained on this page <ins class="diffchange diffchange-inline">are</ins>:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Files explained on this page:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  /proc/virtual</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  /proc/virtual</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 13:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   .../cacct</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   .../cacct</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   .../limit</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   .../limit</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">This directory contains several files which can provide valuable information on the current context state and settings. </del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Per Host ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Per Host ==</div></td></tr>
</table>
UdoBurghardt
http://linux-vserver.org/index.php?title=ProcFS&diff=1767&oldid=prev
UdoBurghardt: Created mostly with content from old wiki
2006-10-16T12:02:00Z
<p>Created mostly with content from old wiki</p>
<p><b>New page</b></p><div>Information abaut the current runtime conditions can be found inside the /proc directory. The very most information is read-only. Because it usually is world-readable you do not have to gain root access to look at this information. <br />
<br />
Files explained on this page:<br />
<br />
/proc/virtual<br />
.../info<br />
<br />
/proc/virtual/<id><br />
.../info<br />
.../status<br />
.../sched<br />
.../cvirt<br />
.../cacct<br />
.../limit<br />
<br />
This directory contains several files which can provide valuable information on the current context state and settings. <br />
<br />
== Per Host ==<br />
Regarding the host system there is only one file present:<br />
<br />
=== info ===<br />
<br />
/proc/virtual/info<br />
VCIVersion: 0002:0002<br />
VCISyscall: 236<br />
VCIKernel: 03000016<br />
<br />
You may compare this info to the output of "vserver-info"; you will recognize two of those entries under a slightly different name while VCIKernel seems to be missing:<br />
<br />
x2:~# vserver-info<br />
Versions:<br />
Kernel: 2.6.17-2-vserver-amd64<br />
VS-API: 0x00020002<br />
util-vserver: 0.30.210; Sep 30 2006, 23:55:41<br />
Features:<br />
CC: gcc, gcc (GCC) 4.1.2 20060928 (prerelease) (Debian 4.1.1-15)<br />
CXX: g++, g++ (GCC) 4.1.2 20060928 (prerelease) (Debian 4.1.1-15)<br />
CPPFLAGS: ''<br />
CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'<br />
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'<br />
build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu<br />
Use dietlibc: yes<br />
Build C++ programs: yes<br />
Build C99 programs: yes<br />
Available APIs: compat,v11,fscompat,v13,net,oldproc,olduts<br />
ext2fs Source: e2fsprogs<br />
syscall(2) invocation: alternative<br />
vserver(2) syscall#: 236/glibc<br />
<br />
== Per vserver instance ==<br />
<br />
=== info ===<br />
This shows the context id, vx_info location and init pid<br />
<br />
/proc/virtual/<id>/info <br />
ID: 1001<br />
Info: 83c37000<br />
Init: 0<br />
<br />
=== status ===<br />
This contains the usage count (references) and task count, as well as the context flags, capability boundary and context capabilities<br />
<br />
/proc/virtual/<id>/status <br />
UseCnt: 38<br />
Tasks: 16<br />
Flags: 0000000000000000<br />
BCaps: 00000000d46c04ff<br />
CCaps: 0000000000000000<br />
Ticks: 0<br />
<br />
=== sched ===<br />
Shows the current amount of tokens, scheduler parameters (fill rate, interval, min/max), the priority bias and the calculated vavavoom (priority bonus)<br />
<br />
/proc/virtual/<id>/sched <br />
Token: 0<br />
FillRate: 1<br />
Interval: 4<br />
TokensMin: 6<br />
TokensMax: 50<br />
PrioBias: 0<br />
VaVaVoom: 0<br />
cpu 0: 0 0 0<br />
<br />
=== cacct ===<br />
This one accounts socket messages for the listed protocols, as incoming messages/bytes and outgoing messages/bytes<br />
<br />
/proc/virtual/<id>/cacct <br />
UNSPEC: 0/0 0/0 0/0 <br />
UNIX: 35/2375 35/2375 0/0 <br />
INET: 12/531 56/1937 57/1705 <br />
INET6: 0/0 0/0 0/0 <br />
OTHER: 0/0 0/0 0/0 <br />
forks: 0<br />
<br />
=== cvirt ===<br />
This contains the uptime bias, utsname settings (sys, node, rel, vers, machine, domain), the number of threads, thread stats (running, uninterruptible, on hold), the number of load updates, the load averages (1,5,15) and the number of forks<br />
<br />
/proc/virtual/<id>/cvirt <br />
BiasUptime: 49.73<br />
SysName: Linux<br />
NodeName: XXXX.test.org<br />
Release: 2.6.11-rc5<br />
Version: #12 Sun Feb 27 01:07:29 CET 2005<br />
Machine: i686<br />
DomainName: <br />
nr_threads: 16<br />
nr_running: 0<br />
nr_unintr: 0<br />
nr_onhold: 0<br />
load_updates: 14585<br />
loadavg: 0.00 0.00 0.00<br />
total_forks: 272<br />
<br />
=== limit ===<br />
Limit columns are: current (1), max observed (2), limit (3) and number of hits (4) <br />
<br />
Limit rows are: processes, virtual memory, locked memory, resident set size, anonymous memory, number of files, filedescriptors, locks, sockets, message queues, and shared memory<br />
<br />
/proc/virtual/<id>/limit <br />
PROC: 16 17 -1 0<br />
VM: 14440 15331 -1 0<br />
VML: 0 0 -1 0<br />
RSS: 5478 5847 -1 0<br />
ANON: 1516 1516 -1 0<br />
FILES: 140 155 -1 0<br />
OFD: 122 122 -1 0<br />
LOCKS: 1 3 -1 0<br />
SOCK: 9 9 -1 0<br />
MSGQ: 0 0 -1 0<br />
SHM: 0 0 -1 0<br />
<br />
== Debugging Control ==<br />
This complete directory seems not to be present by default. Possibly there is a compile- or a runtime-switch to enable debugging.<br />
<br />
/proc/sys/vserver<br />
.../debug_switch<br />
.../debug_xid<br />
.../debug_cvirt<br />
.../debug_limit<br />
.../debug_dlim<br />
.../debug_nid<br />
.../debug_net<br />
/proc/sys/vserver/debug_switch<br />
/proc/sys/vserver/debug_xid<br />
/proc/sys/vserver/debug_cvirt<br />
/proc/sys/vserver/debug_limit<br />
/proc/sys/vserver/debug_dlim<br />
/proc/sys/vserver/debug_nid<br />
/proc/sys/vserver/debug_net<br />
<br />
If the directory exist you should be able to create these files by issuing commands like:<br />
<br />
echo 255 >/proc/sys/vserver/debug_switch<br />
<br />
The bigger problem is to find out which values are useful, see [[Debugging]] for details.<br />
<br />
----<br />
''Please note: some samples are simply copied from the old wiki at http://oldwiki.linux-vserver.org/HowTo+Read+ProcFS, some other are captured from an Athlon AMD X2 system. They do not necessarily fit together.''</div>
UdoBurghardt