CPU(1) General Commands Manual CPU(1)NAME
cpu - connection to cpu server
SYNOPSIS
cpu [ -h server ] [ -c cmd args ... ]
DESCRIPTION
Cpu starts an rc(1) running on the server machine, or the machine named in the $cpu environment 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 cur-
rent 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 envi-
ronment variable is set to cpu; the cputype and objtype environment variables reflect the server's architecture.
FILES
The name space of the terminal side of the cpu command is mounted on the CPU side on directory /mnt/term.
SOURCE
/sys/src/cmd/cpu.c
SEE ALSO rc(1), 81/2(1)BUGS
Binds and mounts done after the terminal lib/profile is run are not reflected in the new name space.
CPU(1)
Check Out this Related Man Page
EXPORTFS(4) Kernel Interfaces Manual EXPORTFS(4)NAME
exportfs, srvfs - network file server plumbing
SYNOPSIS
exportfs [ -an ] [ -c ctlfile ]
srvfs name dir
DESCRIPTION
Exportfs is a user level file server that allows Plan 9 compute servers, rather than file servers, to export portions of a name space
across networks. The service is started either by the cpu(1) command or by a network listener process. An initial protocol establishes a
root directory for the exported name space. The connection to exportfs is then mounted, typically on /mnt/term. Exportfs then acts as a
relay file server: operations in the imported file tree are executed on the remote server and the results returned. This gives the appear-
ance of exporting a name space from a remote machine into a local file tree.
The -a option instructs exportfs to authenticate the user, usually because it is being invoked from a remote machine.
The -n option disallows export to user none.
The -c options specifies a network control file onto which exportfs will push the fcall line discipline. This option is intended for net-
works that do not preserve read/write boundaries.
The cpu command uses exportfs to serve device files in the terminal. The import(4) command calls exportfs on a remote machine, permitting
users to access arbitrary pieces of name space on other systems.
Srvfs uses exportfs to create a mountable file system from a name space: a subsequent mount (see bind(1)) of /srv/name will reproduce the
name space rooted at dir. One might use srvfs to enable mounting of an FTP file system (see ftpfs(4)) in several windows.
SOURCE
/sys/src/cmd/exportfs
/sys/src/cmd/srvfs.c
EXPORTFS(4)
Hello,
I'm a newbie to HPUX so please be patient :)
I'm looking at top and it only shows 3 of the 8 cpu's: 0 4 and 5. But the box has 8 cpu's according to the 'machinfo' command.
There are 4 processes using 10% "%CPU" each but it shows the box as 90% idle...???
Also, I don't see any... (16 Replies)
Hi friends,
I am currently working on an issue where i should write a program which utilizes Cpu as specified by the user. The function should be provided with an argument ( how much percentage of CPU has to be utilized by the process ) for example CPU(75) should utilize 75% of CPU. The function... (11 Replies)
Hi,
I have a server type(A group of AIX,HP-UX and Linux servers running with different appn) in which i need to do health check(memory,cpu,h/w etc). I am planning to automate the same. Please help me out in writing the same.
Thanks
Renjesh Raju (9 Replies)
Hello everybody,
I have a file containing some statistics regarding CPU usage. The file has this syntax :
Fri Jul 16 14:27:16 EEST 2010
Cpu(s): 15.2%us, 1.4%sy, 0.0%ni, 82.3%id, 0.1%wa, 0.0%hi, 0.9%si, 0.0%st
Fri Jul 16 15:02:17 EEST 2010
Cpu(s): 15.3%us, 1.4%sy, 0.0%ni, 82.3%id, ... (9 Replies)
One of our database server is suddenly became very slow and i have no clue what to do .Please help. I m sharing the performance inforamtion regarding cpu,harddisk,ram .
########CPU Information########
Machine Uptime Information:
uptime
10:25:06 up 16:50, 1 user, load average: 5.84, 5.65,... (10 Replies)
sorry, not yelling, its just copied from a bug report and this prob is driving me crazy... ran stress --cpu 4 on a xeon and no problem the load went up to 4, but running mysql server for example the load is almost 0.00, where the same mysql server with same throughput gets 0.8 on another lenny... (15 Replies)
Hi,
We have 2 lpars on p6 blade. One of the lpar is having 3 core cpu with 5gb memory running sybase as database. An EOD process takes 25 min. to complete.
Now we have an lpar on P7 server with entitled cpu capacity of 2 with 16 Gb memory and sybase as database. The EOD process which takes... (17 Replies)
Hi,
I am currently using Unix solaris server. I need to send a sms to my mobile whenever the CPU usage exceeds the threshold. I tried using mail command its not working. I am using Vodafone sim. Can anyone help me to find this as soon.:confused: And also exactly i don't know the SP name... (9 Replies)
I have a 12 core linux cpu but the load is really high on this box, hovering around 50. What configuration changes do we need to make so that system have no bottleneck. (13 Replies)
Hi,
I am on SPARC T5-2 with SOLARIS 11.1 / LDOM
From ILOM web interface i see 2 CPU Sparc
From the primary LDOM OS i see 1 CPU
root@LUOVM01 ~ # /usr/bin/kstat -m cpu_info | grep chip_id | uniq
chip_id 0
what is wrong ?
Dont forget you code... (12 Replies)
Hi, so i have this command:
ps axo cmd=,user=,%cpu=,priority= --sort=-%cpu | awk '{print $2}'
And i want to print the second column, that is user. The thing is that i dont know why this is my output:
root
Eskizoi+
Eskizoi+
axo
{print
I dont know why axo and {print are there, the... (20 Replies)
Hi, i am facing a strange issue with wine. I am using ubuntu 14, 17 and 18 and in all version same thing, app which works perfeclty suddenly slow down, and i see that use too much CPU. First, i was thinking that memory is the problem, but now i am thinking that cpu is main problem.
I have a... (10 Replies)