Koozali.org: home of the SME Server

sme7admin and cpu usage

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
sme7admin and cpu usage
« on: January 31, 2007, 07:51:12 AM »
I have installed sme7admin on one of my servers yesterday because it is  running VERY slow. Now every 5 minutes I get an email that says:

[ALRT] netkeeper.pleroma.co.za : cpu = 100 % (max=60 %)
Your processor is 100 % loaded, you had set the alert limit to 60 %.

My processor is constantly running between 99.96% and 100%.
Today it seems to be faster but the processor usage is still 99-100%

Is there a way i can determine wat process is using all the cpu usage, or why it is so slow? It is a Intel Pentium 4 - 1.7 with 512mb ram. Running sme7.0

livinginx

sme7admin and cpu usage
« Reply #1 on: January 31, 2007, 07:58:11 AM »
If you ssh into the box (or have a monitor hooked up), you can run ps -A from terminal to list what all processes are running.

Take your action from that point.

Offline Curly

  • ****
  • 114
  • +0/-0
sme7admin and cpu usage
« Reply #2 on: January 31, 2007, 07:42:28 PM »
I agree, ssh in, but use top. This shows the list of processes, but also shows memory usage and % cpu used. It will be pretty easy to find the most cpu-consuming processes.
.......................................

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
sme7admin and cpu usage
« Reply #3 on: January 31, 2007, 09:08:03 PM »
Thank you all for the reply.

Top was exactly wat I was looking for. That was very helpful :-)

Offline pfloor

  • *****
  • 889
  • +1/-0
sme7admin and cpu usage
« Reply #4 on: February 01, 2007, 02:43:48 AM »
Quote from: "Gert"
Thank you all for the reply.

Top was exactly wat I was looking for. That was very helpful :-)

If you like top, you might try htop too.
In life, you must either "Push, Pull or Get out of the way!"

livinginx

sme7admin and cpu usage
« Reply #5 on: February 02, 2007, 04:24:13 AM »
Wow, that is pretty cool.

My main boxes at home are all running Ubuntu and I use Tilda an awful lot.  If I ssh into the server (in tilda) and run htop, it is the perfect fit and I can just keep monitoring by hitting F12 (my bind to bring Tilda up/down).  THanks.

Offline Gert

  • *****
  • 208
  • +0/-0
    • http://www.huge.co.za
sme7admin and cpu usage
« Reply #6 on: February 03, 2007, 12:33:07 PM »
Thanx pfloor htop is GREAT and very helpful! Its new in sme7.