Originally posted by dreams5617 2. If i want to know the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris) then what command i have to look.
On a Linux machine
will tell you CPU information. If there are two CPUs (and the machine/kernel have been configured appropriately), you'll see two sets of information - one for each CPU.
As a note, on Linux you can use ifconfig -a, but also the "ip addr" command to view ip details and addresses.
Hi I have just a few questions about the Unix aka NIX operating system.
1. Is it a free Operating System and if so where can I obtain it.
2. Where can I start out for a newbies guide to the OS.
Thanks (1 Reply)
Hello :-)
I am new to the world of UNIX/LINUX and I have just purchased my first Web Server. I have "root" access to the system and I have a few basic questions, they are:
1. How do you view all user names that have access to the system?
2. How do you add/delete or modify users?
Anyone... (1 Reply)
Hi all,
I am having putty in my system.But I dont have access to any UNIX Servers.Is there any default or common UNIX Server so that anyone can access and be familiar with UNIX and Shell scripting.
I want to work and practice in UNIX..Thats why I am asking this question.
Kindly give me... (2 Replies)
hey guys,
I have a few general qns on unix, so I'd appreciate quick responses.
1. How do u read a file line by line and display its contents using KSH?
2. How to kill a process using only the name?
3. How to create an empty file with 1MB memory size?
4. How to append some content to an... (2 Replies)
Hi all,
Now Sun provides a large range of x86 servers and Solaris is running fine on both x86/sparc.
For new projects mainly running Oracle DB on SAN, I am wondering which architecture is best for our new projets.
As we won't go for high end servers (using around 4 or 8 Cpu's par host is... (6 Replies)
Yesterday evening my server appeared to fall over. I couldn't copy (scp) files to it, and I couldn't SSH to it either. Every time I tried, it just gave me this message:
Read from remote host <IP ADDRESS>: Connection reset by peer
Connection to <IP ADDRESS> closed.
I got in this morning, and... (4 Replies)
Hello,
I am relatively new to the world of programming in general and to the UNIX System in particular. I have a bunch of theoretical questions related to terminology which I have come across in my coursebooks. I hope I post my question at the right place. Any help would be warmly welcome!
... (1 Reply)
Hi,
Can you answer the following ?
How to identify server is physical or virtual server ?
Why often patching is done in servers ?What is the purpose of doing OS patching in servers. ?
Regards,
Maddy (5 Replies)
Dear All,
Please read version Version 0.81 28 May 2018 of our draft
UNIX.COM General Data Privacy Regulations (GDPR) Compliance.
If you have any data privacy questions or concerns, or would like to see us address any other data privacy topic related to your personal data at UNIX.COM,... (12 Replies)
Discussion started by: Neo
12 Replies
LEARN ABOUT HPUX
chcpu
CHCPU(8) System Administration CHCPU(8)NAME
chcpu - configure CPUs
SYNOPSIS
chcpu -c|-d|-e|-g cpu-list
chcpu -p mode
chcpu -r|-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 -c, --configure cpu-list
Configure the 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.
-d, --disable cpu-list
Disable the specified CPUs. Disabling a CPU means that the kernel sets it offline.
-e, --enable cpu-list
Enable the specified CPUs. Enabling a CPU means that the kernel sets it online. A CPU must be configured, see -c, before it can be
enabled.
-g, --deconfigure cpu-list
Deconfigure the 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.
-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.
-r, --rescan
Trigger a rescan of CPUs. After a rescan, the Linux kernel recognizes the new CPUs. Use this option on systems that do not auto-
matically detect newly attached CPUs.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
RETURN CODES
chcpu has the following return codes:
0 success
1 failure
64 partial success
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 <https://www.kernel.org/pub/linux/utils
/util-linux/>.
util-linux July 2014 CHCPU(8)