OpenVZ Forum


Home » General » Support » wrong number of processes
icon5.gif  wrong number of processes [message #38148] Mon, 23 November 2009 14:14 Go to next message
justasp is currently offline  justasp
Messages: 7
Registered: May 2009
Junior Member
I am wondering what number is correct about a number of processes in container. On HN i run vzlist and it display 164 processes in container. Then in container I run "ps aux | wc -l" and I get 60. top also indicate 58-60 processes. What number is correct? How about numproc accounting?

uname -a
Linux <serverhost> 2.6.18-20-ovz-686-pae #1 SMP Mon Nov 9 23:06:15 UTC 2009 i686 i686 i386 GNU/Linux
Re: wrong number of processes [message #38149 is a reply to message #38148] Mon, 23 November 2009 14:22 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

ps in newer distros doesn't count threads, while vzlist does. Check man ps for details, search for threads.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: runlevel : unknown
Next Topic: Can't enter VE
Goto Forum:
  


Current Time: Wed Nov 06 04:59:22 GMT 2024

Total time taken to generate the page: 0.03466 seconds