2

How can I find out how much of a load my webserver is under? I tried top but I don't know how to interpret the information it's showing me for CPU. While top may give me the CPU usage I also need to find out the bandwidth (load on the NIC) to see if the server is being overwhelmed or not. I tried netstat but all I could see is what the active connections are.

I don't know much about serve maintenance, I'm a programmer and my sysadmin is on jury duty. Any hints are much appreciated.

I'm running Apache on Ubuntu server, with a few small PHP scripts. The majority of the traffic is some large binary files which are being downloaded.

Daisetsu
  • 627
  • 1
  • 6
  • 8

2 Answers2

5

For processor usage install htop:

$ sudo apt-get install htop
$ htop

For bandwidth usage install iptaf:

$ sudo apt-get install iptraf
$ iptraf

But I suggest Cacti, Munin, Zabbix.

alvosu
  • 8,437
  • 25
  • 22
0

i second htop as a replacement for top. also i like bmon for live network useage checks, IIRC its in the ubuntu repros too.

kuhkatz
  • 101