Wednesday, July 21, 2010

Linux Command - TOP CPU States

TOP is a command for linux to analyze current processor activity at real time.

At the CPU, it shows

Cpu(s): 43.1%us, 6.5%sy, 0.0%ni, 41.7%id, 2.7%wa, 1.0%hi, 5.0%si, 0.0%st

Belows are their meaning

us -> User mode CPU time: The time the CPU has spent running users’ processes that are not niced.
sy -> System mode CPU time: The time the CPU has spent running the kernel and its processes.
ni -> Niced task CPU time: The time the CPU has spent running users’ proccess that have been niced.
id -> Idle CPU time: The time the CPU has not been used by process
wa -> iowait: Amount of time the CPU has been waiting for I/O to complete.
hi -> Hardware IRQ: The amount of time the CPU has been servicing hardware interrupts.
si -> Software Interrupts.: The amount of time the CPU has been servicing software interrupts.

See this for more TOP usage

http://www.thegeekstuff.com/2010/01/15-practical-unix-linux-top-command-examples/

Hadoop - How to setup a Hadoop Cluster

Below is a step-by-step guide which I had used to setup a Hadoop Cluster Scenario 3 VMs involved: 1) NameNode, ResourceManager - Host...