Editing
Paper
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Context Flags === It was very soon discovered that some features require a flag, a kind of switch to turn them on and off separately for each Linux-VServer, so a simple flag-word was added. This flag-word supports quite a number of flags, a flag-word mask, which allows to tell what flags are available, and a special trigger mechanism, providing one-time flags, set on startup, that can only be cleared once, usually causing a special action or event. Here is a list of planned and mostly implemented Context Flags, available in the development branch of Linux-VServer: {| class="wikitablenowrap" ! [0] VXF_INFO_LOCK | (legacy, obsoleted) |- ! [1] VXF_INFO_SCHED | schedule all processes in a context as if they where one. (legacy, obsoleted) |- ! [2] VXF_INFO_NPROC | limit the number of processes in a context to the initial NPROC value. (legacy, obsoleted) |- ! [3] VXF_INFO_PRIVATE | do not allow to join this context from outside. (legacy) |- ! [4] VXF_INFO_INIT | show the init process with pid '1' (legacy) |- ! [5] VXF_INFO_HIDE | (legacy, obsoleted) |- ! [6] VXF_INFO_ULIMIT | (legacy, obsoleted) |- ! [7] VXF_INFO_NSPACE | (legacy, obsoleted) |- ! [8] VXF_SCHED_HARD | activate the Hard CPU scheduling |- ! [9] VXF_SCHED_PRIO | use the context token bucket for calculating the process priorities |- ! [10] VXF_SCHED_PAUSE | put all processes in this context on the hold queue, not scheduling them any longer |- ! [16] VXF_VIRT_MEM | virtualize the memory information so that the VM and RSS limits are used for meminfo and friends |- ! [17] VXF_VIRT_UPTIME | virtualize the uptime, beginning with the time of context creation |- ! [18] VXF_VIRT_CPU | |- ! [24] VXF_HIDE_MOUNT | show empty proc/{pid}/mounts |- ! [25] VXF_HIDE_NETIF | hide network interfaces and addresses not permitted by the network context |}
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information