How to get the CPU usage in Linux
type " top"
[root@] ]# top
top - 23:03:23 up 6 days, 3:10, 1 user, load average: 2.25, 1.55, 1.11
Tasks: 95 total, 1 running, 94 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.6%us, 0.6%sy, 0.0%ni, 75.8%id, 20.9%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3500784k total, 3355600k used, 145184k free, 90756k buffers
Swap: 779112k total, 80k used, 779032k free, 3042252k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 15 0 2064 620 532 S 0 0.0 0:02.24 init
2 root RT -5 0 0 0 S 0 0.0 0:00.34 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT -5 0 0 0 S 0 0.0 0:00.30 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
7 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root RT -5 0 0 0 S 0 0.0 0:00.36 migration/2
9 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2
10 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/2
11 root RT -5 0 0 0 S 0 0.0 0:00.28 migration/3
12 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/3
13 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/3
14 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/0
15 root 10 -5 0 0 0 S 0 0.0 0:00.01 events/1
| How Can I Change My Login Password On Linux< Prev | Next >http status code 202 |
|---|


