Plan 9 - man page for cpu (plan9 section 1)
|Linux & Unix Commands - Search Man Pages
cpu - connection to cpu server
cpu [ -h server ] [ -c cmd args ... ]
Cpu starts an rc(1) running on the server machine, or the machine named in the $cpu envi-
ronment variable if there is no -h option. Rc's standard input, output, and error files
will be /dev/cons in the name space where the cpu command was invoked. Normally, cpu is
run in an 81/2(1) window on a terminal, so rc output goes to that window, and input comes
from the keyboard when that window is current. Rc's current directory is the working
directory of the cpu command itself.
The name space for the new rc is an analogue of the name space where the cpu command was
invoked: it is the same except for architecture-dependent bindings such as /bin and the
use of fast paths to file servers, if available.
If a -c argument is present, the remainder of the command line is executed by rc on the
server, and then cpu exits.
The name space is built by running /usr/$user/lib/profile with the root of the invoking
name space bound to /mnt/term. The service environment variable is set to cpu; the
cputype and objtype environment variables reflect the server's architecture.
The name space of the terminal side of the cpu command is mounted on the CPU side on
Binds and mounts done after the terminal lib/profile is run are not reflected in the new
All times are GMT -4. The time now is 07:26 PM.