I have Ubuntu server and apache2 installed on it. I want to benchmark it using ab tool from another machine. I want to know how measure load of this program. In top is showing this:
top - 06:02:19 up 3 min, 2 users, load average: 0.28, 0.26, 0.12
Tasks: 94 total, 2 running, 92 sleeping, 0 stopped, 0 zombie
Cpu(s): 67.2%us, 5.5%sy, 0.0%ni, 26.3%id, 0.5%wa, 0.0%hi, 0.5%si, 0.0%st
Mem: 499320k total, 342028k used, 157292k free, 42504k buffers
Swap: 514044k total, 0k used, 514044k free, 71388k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1521 www-data 20 0 49180 22m 4144 S 23 4.6 0:00.68 apache2
1520 www-data 20 0 49180 22m 4152 S 22 4.6 0:00.66 apache2
1124 www-data 20 0 49180 22m 4152 S 22 4.6 0:00.70 apache2
1519 www-data 20 0 49180 22m 4152 S 20 4.6 0:00.70 apache2
1525 www-data 20 0 49180 22m 4144 S 16 4.6 0:00.47 apache2
1123 www-data 20 0 49168 22m 4152 S 9 4.6 0:00.78 apache2
1125 www-data 20 0 49168 22m 4152 S 9 4.6 0:00.77 apache2
1126 www-data 20 0 49168 22m 4152 S 9 4.6 0:00.73 apache2
1127 www-data 20 0 49168 22m 4152 S 9 4.6 0:00.74 apache2
1523 www-data 20 0 42896 14m 3388 R 5 3.1 0:00.14 apache2
1038 whoopsie 20 0 24476 3720 2856 S 0 0.7 0:00.01 whoopsie
1089 root 20 0 34060 6988 3640 S 0 1.4 0:00.05 apache2
1338 ubuntu 20 0 2832 1192 944 S 0 0.2 0:00.30 top
1417 ubuntu 20 0 9652 1456 824 S 0 0.3 0:00.02 sshd
1 root 20 0 3540 1876 1248 S 0 0.4 0:00.83 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:00.03 ksoftirqd/0
4 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/0:0
5 root 20 0 0 0 0 S 0 0.0 0:00.48 kworker/u:0
6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
8 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
9 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/1:0
10 root 20 0 0 0 0 S 0 0.0 0:00.01 ksoftirqd/1
11 root 20 0 0 0 0 S 0 0.0 0:00.17 kworker/0:1
12 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
13 root 0 -20 0 0 0 S 0 0.0 0:00.00 cpuset
14 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper
15 root 20 0 0 0 0 S 0 0.0 0:00.00 kdevtmpfs
16 root 0 -20 0 0 0 S 0 0.0 0:00.00 netns
17 root 20 0 0 0 0 S 0 0.0 0:00.32 kworker/u:1
18 root 20 0 0 0 0 S 0 0.0 0:00.00 sync_supers
19 root 20 0 0 0 0 S 0 0.0 0:00.00 bdi-default
20 root 0 -20 0 0 0 S 0 0.0 0:00.00 kintegrityd
21 root 0 -20 0 0 0 S 0 0.0 0:00.00 kblockd
22 root 0 -20 0 0 0 S 0 0.0 0:00.00 ata_sff
23 root 20 0 0 0 0 S 0 0.0 0:00.00 khubd
So its difficult to do it without any script or program. How can I do this?