08-26-2016
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anybody please help me on how to optimize following command as it use up a lot of CPU :
tail -f $DIR3$DATE4.log |\
while read line
do echo $line | egrep "Processing incoming SMS message" | sed 's/\,/ /g' \
| awk '{print $2}' >> $DIR2/LIST1.$DATE4.log && echo... (6 Replies)
Discussion started by: azmanw2004
6 Replies
2. UNIX for Dummies Questions & Answers
hi guys
I installed NFS server and everything started out fine but I don't have /proc/fs/nfsd entry and so I can't mount nfsd. Therefore I can't start my nfs service.
Why don't I have /proc/fs/nfsd? How do I create that?
Thanks (1 Reply)
Discussion started by: alirezan
1 Replies
3. UNIX for Advanced & Expert Users
Dear Friends,
we are using HP-UX B.11.31 U ia64 HP-UX server. Can you check bellow the top command output whether can point out any abnormality. Becoz i suspect something wrong there,
Load averages: 2.40, 2.73, 2.99
711 processes: 287 sleeping, 424 running
Cpu states:
CPU LOAD USER ... (4 Replies)
Discussion started by: Davinzy
4 Replies
4. UNIX for Dummies Questions & Answers
Hi i recently observed my cpu being used 100% due to which load average on machine get increased to < 5.
I have no idea what the process is?
Appreciate any help in this regard.
root 15859 99.9 0.0 5668 1592 pts/4 R+ 12:28 660:06 \_ pvs
root 7334 99.9 ... (2 Replies)
Discussion started by: pinga123
2 Replies
5. AIX
Hello,
what is the relation between portmap and nfsd and how communication between them looks like. Does the nfsclient contact with the portmap or nfsd first.
Many thanks in advance for helping me to understand this :)
BR,
p (3 Replies)
Discussion started by: pitmod
3 Replies
6. BSD
Hi all,
I am having a following problem. Trying to run PXE boot server on my OpenBSD machine I have ended up on making NFSd daemon works. On all machines I get an error msg. nfsd : nfsd count is invalid: (null) no matter what computer I run it on. Everything works just well on FreeBSD and linux.... (1 Reply)
Discussion started by: smoofy
1 Replies
7. Solaris
We are using oracle database on solaris 10 sparc 64 bit on M5000 machine. we facing performance related issues.
We diagnose using prstat -a command that oracle user not utilizing the ram more than 30 gb total we have 64 gb ram available as in project max-shm-memory set to 42 gb . We are running... (2 Replies)
Discussion started by: zeeshan047
2 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Compile cpp2html.c to produce cpp2html.o.
( Important: the source code in these files is C, not C++, and so... (8 Replies)
Discussion started by: lamentofking
8 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
]Compile cpp2html.c to produce cpp2html.o.
( Important: the source code in these files is C, not C++, and so... (1 Reply)
Discussion started by: bgnaranjo1
1 Replies
10. Slackware
Hi.
Using debian 8.0 on a raspberryPI SERVER, accessing nfs from another raspberry gives quick reply.
But from a slackware 14.1 SERVER on a Celeron 2Ghz dual core, is painfully slow and i cannot figure out why.
Can anyone guide me? (2 Replies)
Discussion started by: dimples
2 Replies
CHCPU(8) User Manuals CHCPU(8)
NAME
chcpu - configure CPUs
SYNOPSIS
chcpu [-e] [-d] [-c] [-g] cpu-list
chcpu [-p] mode
chcpu -r
chcpu [-h] [-V]
DESCRIPTION
chcpu can modify the state of CPUs. It can enable or disable CPUs, scan for new CPUs, change the CPU dispatching mode of the underlying
hypervisor, and request CPUs from the hypervisor (configure) or return CPUs to the hypervisor (deconfigure).
Some options have a cpu-list argument. Use this argument to specify a comma-separated list of CPUs. The list can contain individual CPU
addresses or ranges of addresses. For example, 0,5,7,9-11 makes the command applicable to the CPUs with the addresses 0, 5, 7, 9, 10, and
11.
OPTIONS
-r, --rescan
Trigger a rescan of CPUs. Use this option on systems that do not automatically detect newly attached CPUs. The Linux kernel then
recognizes the new CPUs.
-c, --configure cpu-list
Configure all specified CPUs. Configuring a CPU means that the hypervisor takes a CPU from the CPU pool and assigns it to the vir-
tual hardware on which your kernel runs.
-e, --enable cpu-list
Enable all specified CPUs. Enabling a CPU means that the kernel sets it online. A CPU must be configured, see -c, before it can be
enabled.
-p, --dispatch mode
Set the CPU dispatching mode (polarization). This option has an effect only if your hardware architecture and hypervisor support
CPU polarization. Available modes are:
horizontal The workload is spread across all available CPUs.
vertical The workload is concentrated on few CPUs.
-d, --disable cpu-list
Disable all specified CPUs. Disabling a CPU means that the kernel sets it offline.
-g, --deconfigure cpu-list
Deconfigure all specified CPUs. Deconfiguring a CPU means that the hypervisor removes the CPU from the virtual hardware on which
the Linux instance runs and returns it to the CPU pool. A CPU must be offline, see -d, before it can be deconfigured.
-h, --help
Display help information and exit.
-V, --version
Display version information and exit.
AUTHOR
Heiko Carstens <heiko.carstens@de.ibm.com>
COPYRIGHT
Copyright IBM Corp. 2011
SEE ALSO
lscpu(1)
AVAILABILITY
The chcpu command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils/util-
linux/>.
Linux June 2012 CHCPU(8)