Posted by joseph on May 31, 2010 ·
This post will demonstrate a detailed method of enumerating processors in a running linux server. Before delving into the topic, some terms should be defined:
Physical Package: The physical package is a microprocessor. For each physical package, it plugs into a physical socket on a mainboard, and may [...]
Posted by joseph on October 25, 2009 ·
How we can limit the CPU usage of a sepcified process with the CPUlimit utility?
Cpulimit is a simple program that attempts to limit the CPU usage of a process. It’s expressed in percentage, not in cpu time.
This is useful to control batch jobs, when you don’t want them to eat too much CPU [...]
Posted by joseph on September 11, 2009 ·
Taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity. Under latest version of Debian / Ubuntu / Redhat Linux taskset is installed by default with util-linux package.