Monthly Archives: January 2011


$taskset -p 1578
pid 1578's current affinity mask: 1

taskset is used to  retrive or set the processor affinity
mask of either an  existing process,given it's PID, or to
run  a  new  process,  given  it's  command  name,with  a
specified  affinity mask. The  Linux scheduler  will then
honor the  given affinity mask,ensuring  that the process
in question runs only on allowed processors.

setkeycodes. setkeycodes scancode keycode

Assign  a   keycode  event  to   the  specified  keyboard
scancode.    Te   kernel  mathes   these   to  it's   own
keycodes.Scancodes in the range  of 1-88 are hardwired in
the kernel,but the remaining scancodes can be assigned to
keycodes in  the range of 1-127.  Use  getkeycodes to see
current assignment. Use showkey to discover what scancode
a key is sending.If you want to quit from the getkeycodes
command, just wait for a  short time and it may offer the


$cat /proc/1119/cpuset
lightweight objects in the linux kernel that enable users
to partition their multiprocessor machine.
Multiprocessing  is  the  use  of  two  or  more  central
processing units (CPUs) within a single computer system
source :
GNU Make
 -j [jobs], --jobs[=jobs]
Specifies   the  number   of  jobs   (commands)   to  run
simultaneously.  If there is more than one -j option, the
last one is effective.  If the -j option is given without
an argument, make will not  limit the number of jobs that
can run simultaneously.

computer networks
machines  with  multiple  processors can  attach  network
programs  of higher  priorities  to a  processor that  is
little consumed or idle.