We currently migrate to MediaWiki from our old installation, but not all content has been migrated yet. Take a look at the Wiki Team page for instructions how to help or browse through our new wiki at wiki.linux-vserver.org to find the information already migrated.

Information tiree de /proc/virtual


   /proc/virtual
     .../info

   /proc/virtual/<pid>
     .../info
     .../status
     .../sched
     .../cvirt
     .../cacct
     .../limit

/proc/virtual/info

/proc/virtual/<xid>

Ce répertoire contient plusieurs fichiers qui donnent des informations importantes sur l'état du contexte courant et ses paramètres de fonctionnement.

/proc/virtual/<xid>/info

ID:	1001
Info:	83c37000
Init:	0

Nous avons ici le context id, l'emplacement du vx_info ainsi que le pid d'init

/proc/virtual/<xid>/status

UseCnt:	38
Tasks:	16
Flags:	0000000000000000
BCaps:	00000000d46c04ff
CCaps:	0000000000000000
Ticks:	0

this contains the usage count (references) and task count, as well as the context flags, capability boundary and context capabilities

/proc/virtual/<xid>/sched

Token:		       0
FillRate:	       1
Interval:	       4
TokensMin:	       6
TokensMax:	      50
PrioBias:	       0
VaVaVoom:	       0
cpu 0: 0 0 0

Nombre de token en cours, parametres de l'ordonanceur (fill rate, interval, min/max), la "priority bias" ainsi que le vavavoom (bonus calcule)

/proc/virtual/<xid>/cacct

UNSPEC:	           0/0           	           0/0           	           0/0           
UNIX:	          35/2375        	          35/2375        	           0/0           
INET:	          12/531         	          56/1937        	          57/1705        
INET6:	           0/0           	           0/0           	           0/0           
OTHER:	           0/0           	           0/0           	           0/0           
forks:	0

this accounts socket messages for the listed protocols, as incoming messages/bytes and outgoing messages/bytes

/proc/virtual/<xid>/cvirt

BiasUptime:	49.73
SysName:	Linux
NodeName:	XXXX.test.org
Release:	2.6.11-rc5
Version:	#12 Sun Feb 27 01:07:29 CET 2005
Machine:	i686
DomainName:	
nr_threads:	16
nr_running:	0
nr_unintr:	0
nr_onhold:	0
load_updates:	14585
loadavg:	0.00 0.00 0.00
total_forks:	272

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

/proc/virtual/<xid>/limit

PROC:	        16	        17	        -1	     0
VM:	     14440	     15331	        -1	     0
VML:	         0	         0	        -1	     0
RSS:	      5478	      5847	        -1	     0
ANON:	      1516	      1516	        -1	     0
FILES:	       140	       155	        -1	     0
OFD:	       122	       122	        -1	     0
LOCKS:	         1	         3	        -1	     0
SOCK:	         9	         9	        -1	     0
MSGQ:	         0	         0	        -1	     0
SHM:	         0	         0	        -1	     0

limit columns are: current (1), max observed (2), limit (3) and number of hits (4)

limit rows are: processes, virtual memory, locked memory, resident set size, anonymous memory, number of files, filedescriptors, locks, sockets, message queues, and shared memory

Paramètres de Debug dans /proc/sys/vserver


   /proc/sys/vserver
     .../debug_switch
     .../debug_xid
     .../debug_cvirt
     .../debug_limit
     .../debug_dlim
     .../debug_nid
     .../debug_net

/proc/sys/vserver/debug_switch

/proc/sys/vserver/debug_xid

/proc/sys/vserver/debug_cvirt

/proc/sys/vserver/debug_limit

/proc/sys/vserver/debug_dlim

/proc/sys/vserver/debug_nid

/proc/sys/vserver/debug_net