From: Benedikt Boehm (hollow_at_gentoo.org)
Date: Thu 21 Apr 2005 - 12:30:32 BST
On Thursday 21 April 2005 12:44, Oliver Welter wrote:
> Hi Folks,
>
> is there anyway to show the processlist (ps ax) of a certain vServer
> from the MAIN context ?
> I tried "vnamespace -e qmail ps ax" but this executes ps in the MAIN
> Server.....
zeus ~ # vserver gentoo exec ps ax
PID TTY STAT TIME COMMAND
1 ? S 0:00 init [3]
23410 ? Ss 0:00 /usr/sbin/syslog-ng
4021 pts/5 R+ 0:00 ps ax
>
> related question: What is the best wy to get a list of the names of all
> running contexts ?
zeus ~ # vserver-stat
CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
0 99 1.2G 155.5K 13h08m26 1h42m18 3d32h04 root server
3253 2 3.2M 328 0m00s76 0m01s00 1d45h45 gentoo
>
> Oliver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver