Changes

Jump to: navigation, search

The number of processes seems to be wrong in VE

12 bytes added, 09:49, 8 May 2007
m
[[ ]] added to VE
</pre>
As you see, the number is false for [[VE ]] 1001 and 1003, but is correct for [[VE ]] 1002 (14 = 12 + 1 (wc command) + 1 (ps command)).
==Disclosure==
The thing is that <tt>ps aux</tt> command outputs only "full-fledged" processes, but not threads. And `vzlist` command counts all processes in [[VE ]] including threads. <tt>ps -eLf</tt> command allows you to see all processes:
<pre>
[root@HN ~] # vzctl exec 1001 ps aux | wc -l
172
edits

Navigation menu