Difference between revisions of "VCMD HowTo"
From Linux-VServer
m (Linux-VServer-Hacks moved to VCMD HowTo: needed a more descriptive name, should be extended with some introduction to vcmd) |
Revision as of 02:25, 21 October 2006
VCMD one-liners (by Bertl)
- create a non virtualized init task
-
vcmd -i 100 -BC ctx_create .flagword=^34^33^32 -- vcmd -i -1 -BC set_cflags .mask=^33 -- cat /proc/self/status
- create a virtualized init task
-
vcmd -i 100 -BC ctx_create .flagword=^34^33^32^4 -- vcmd -i -1 -BC set_cflags .mask=^33 -- cat /proc/self/status