+ Post New Thread
Results 1 to 6 of 6
Web Development Thread, Web Server monitoring in Coding and Web Development; I've got a basic webserver setup, running a moodle install. Im using 'top' on the linux box to show me ...
  1. #1

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    29

    Web Server monitoring

    I've got a basic webserver setup, running a moodle install.

    Im using 'top' on the linux box to show me how much CPU (%) is being used, it seems to be getting hammered at the moment.

    How can I tie the process to a request, how can i work out who or what is causing the massive spike?

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,997
    Thank Post
    590
    Thanked 1,500 Times in 1,346 Posts
    Rep Power
    398
    top gives a list of the processes with the user and how much cpu is being used?

    It does here anyway.

    Ben

  3. #3

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    29
    yes but the user is Apache in this case.

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,374
    Thank Post
    625
    Thanked 951 Times in 653 Posts
    Blog Entries
    2
    Rep Power
    318
    You can do top -u www-data or whatever the Apache user is; or get Apachetop which might help narrow things down a bit.

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    224
    Also consider using htop. It's prettier.

  6. #6

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    29
    Oooh Prety colours!

SHARE:
+ Post New Thread

Similar Threads

  1. Server monitoring
    By theeldergeek in forum Network and Classroom Management
    Replies: 1
    Last Post: 10th September 2008, 11:50 AM
  2. Web Stock Monitoring
    By vunsev in forum Web Development
    Replies: 2
    Last Post: 12th June 2008, 12:53 PM
  3. Monitoring Up and Down Server connection
    By SimpleSi in forum Windows
    Replies: 0
    Last Post: 2nd June 2008, 03:01 PM
  4. Screen shot web monitoring
    By gh256 in forum Network and Classroom Management
    Replies: 31
    Last Post: 22nd May 2008, 10:35 AM
  5. Web traffic monitoring software.
    By Dos_Box in forum Wireless Networks
    Replies: 1
    Last Post: 5th July 2005, 09:33 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •