10-24-2008
Apologies for error in the last post:
WRONG ONE:
Your CPU is dual-core. So you have 8 CPUs = 32 cores.
CORRECT ONE :
Your CPU is dual-core. So you have 8 CPUs = 16 cores
-UniRock
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I´m trying to get the information of vmstat & top in two different logfiles.
That not that difficult.
vmstat 30 >> myfile.log
top >> myfile2.log
But I also like to include a timestamp every 30 sec to be sure from what date the logs are.
For the Top command I were able to... (2 Replies)
Discussion started by: isacs
2 Replies
2. HP-UX
HI all,
I've been having issues with printers and plotters disabling with no reason at all...It could happen to the same workstation once a day or once a week..There is nothing consistant..I stop and restart the spooler, only then can I re-enable the disabled printer....
If anyone is... (0 Replies)
Discussion started by: Shutdown
0 Replies
3. UNIX for Advanced & Expert Users
We have a C program which does the encryption and decryption. It is running fine in UNIX 386. But the same C program is giving different results in HP UX server.
We found that the Ascii codes (output) are different. I don;t know why it is giving different results. How can we get the same output... (4 Replies)
Discussion started by: Rajeshsu
4 Replies
4. HP-UX
Hello,
is there some way to change b/w colour of top command output in hpux B.11.31 ? (1 Reply)
Discussion started by: tonijel
1 Replies
5. AIX
Is there a 'top' command equivalent in AIX 4.2 ?
I already checked and I do not see the following ones anywhere:
top
nmon
topas (1 Reply)
Discussion started by: Browser_ice
1 Replies
6. Solaris
Hi guru
I want to know which company's hardware is more stable means in term of H/W faults or replacement, in case of IBM (AIX), HP (HPUX) & SUN MICROSYSTEM (Solaris) & which order also, if we go through more stable to less stable system.
Regards (1 Reply)
Discussion started by: girish.batra
1 Replies
7. HP-UX
Hi folks,
I am trying to run more than 8 threads in OpenMP team on my HP-UX 11i v3 system (without root access), but NO success.
Compiler: aCC A.06.26
I tried to setup: OMP_NUM_THREADS, omp_set_num_threads(), max_thread_proc=1000, nkthread=8416, set_dynamic=0
Machine has 2 processors... (1 Reply)
Discussion started by: ATveretinov
1 Replies
8. Solaris
Hello Guru's
I'm trying to take the output of solaris top command and output to a txt file every few minutes. The issue that I'm experiencing is that I can run the following:
#!/bin/bash
#
logfile="/usr/mvf/morris/top.log"
# echo... (2 Replies)
Discussion started by: littlemorris
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)