Results 1 to 10 of 10

Thread: top command

  1. #1

    Cool top command

    hi guys,

    what do you think of the results of this top command?

    ----------
    top - 02:25:50 up 33 days, 2:48, 1 user, load average: 1.06, 0.71, 0.56
    Tasks: 251 total, 1 running, 250 sleeping, 0 stopped, 0 zombie
    Cpu(s): 5.9% us, 3.6% sy, 0.0% ni, 82.7% id, 7.8% wa, 0.0% hi, 0.0% si
    Mem: 4151276k total, 4091892k used, 59384k free, 117016k buffers
    Swap: 2040212k total, 94120k used, 1946092k free, 3349000k cached


    anything you can suggest to improve the speed on this server?

    Thank you in advance,

  2. #2
    Join Date
    Oct 2007
    Location
    Reading, UK
    Posts
    601
    Hi Steven,

    Could you tell us a bit more about what is running on this server and the server spec? It doesn't seem to be that busy in the snap shot you've given.

    Best regards,
    Toby H
    Infrastructure Consultant
    SolutionFire.co.uk
    cPanel | VMware | XenServer | cPanel | 3PAR | R1soft

  3. #3
    Join Date
    Nov 2007
    Location
    New Jersey, USA
    Posts
    4,680
    We will need to know a bit more on your server. What are the full specifications of the server and what kind of websites do you host on it. Also how many clients are on it right now.

    - Dnaiel
    Managed & Unmanaged SSD VPS's by tmzVPS.com | FAST PURE SSD & HDD Plans!
    █ Locations in USA & United Kingdom - Legal Adult Content Allowed! 24/7 Certified Support.
    cPanel/WHM Included | Premium Softaculous | Data Migration Included with Managed Support.
    █ INSTANT SETUP | Paypal, Skrill, 2checkout, BitCoin & all Major Credit Cards Accepted! Skype: tmzvps.chat

  4. #4
    The load seems to be normal but you need to give some more details.
    Serverlogix.com - ★★ Managed VPS / Budget Servers / Colocation ★★
    Facilities : Atlanta, Buffalo and Las Vegas
    Web : http://www.serverlogix.comContact Us

  5. #5
    Join Date
    Aug 2008
    Location
    Chicago, IL
    Posts
    114
    Yea from what you have given us the load appears to be normal. Although if its like 1 website on a vanilla server and its using those resources something more might be happening behind the scenes or something. That is why its important to know what is being done with the server in the first place.
    Jeremy Miller - Account Executive
    SingleHop Inc. - Dedicated Servers Exclusive Specials - www.singlehop.com/jeremymiller
    Phone: 1-866-817-2811 ext. 103

  6. #6
    Hi guys,

    here are some more info on the server, not sure exactly what would help but here is the list,

    OS: redhat Enterprise
    Ram : 4 gig
    Raid 10 - 4 * Western Digital 250GBATA2:7200RPM
    Intel 2.4 GHz 1066FSB - Conroe
    control panel: cpanel
    apache: 2.0
    php: 5.2
    mysql: 4.1

    two websites on it, 1 with alot of traffic, another with almost no traffic,

    it is being used as a dns server and also to surve the website ( php, mysql, html) also some minor css, js, images, and some audio files, we have a seperate server that we use for audio files and videos,so this server is mostly for php/mysql usage

    also we use our own mail server on this box, not sure if that matters,,, thats all i can think of,,, anything else i should share?

    Thank you

  7. #7
    I am mostly worried about the 94k swap on the server,,, is that too much or normal?

  8. #8
    and here is some more results for the top command,

    top - 10:53:29 up 33 days, 11:15, 1 user, load average: 0.66, 0.85, 0.81
    Tasks: 363 total, 2 running, 359 sleeping, 0 stopped, 2 zombie
    Cpu(s): 5.6% us, 3.9% sy, 0.0% ni, 66.1% id, 24.3% wa, 0.2% hi, 0.0% si
    Mem: 4151276k total, 4127188k used, 24088k free, 118884k buffers
    Swap: 2040212k total, 94088k used, 1946124k free, 3249488k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    3521 mysql 15 0 133m 42m 3528 S 6.0 1.0 3048:00 mysqld
    16223 nobody 15 0 21652 8360 3192 S 1.7 0.2 0:00.13 httpd
    6104 nobody 16 0 22160 9648 3732 S 0.7 0.2 0:00.35 httpd
    8682 nobody 15 0 24408 9736 3824 S 0.7 0.2 0:00.35 httpd
    14787 nobody 15 0 21776 8960 3716 S 0.7 0.2 0:00.08 httpd
    14957 root 16 0 2744 1168 772 R 0.7 0.0 0:00.71 top
    15660 nobody 16 0 21720 8848 3632 S 0.7 0.2 0:00.03 httpd
    15668 nobody 15 0 21816 8984 3664 S 0.7 0.2 0:00.05 httpd
    30041 named 21 0 73180 26m 1760 S 0.7 0.7 67:40.39 named
    1397 root 19 0 776m 58m 6776 S 0.3 1.5 37:50.90 java
    3354 root 34 19 0 0 0 R 0.3 0.0 51:44.96 kipmi0
    7521 nobody 16 0 22108 9228 3740 S 0.3 0.2 0:00.35 httpd
    8135 nobody 16 0 21804 9036 3732 S 0.3 0.2 0:00.16 httpd
    8320 nobody 16 0 24432 9424 3816 S 0.3 0.2 0:00.83 httpd
    8339 nobody 16 0 21916 9132 3712 S 0.3 0.2 0:00.32 httpd
    8830 nobody 16 0 21828 9296 3968 S 0.3 0.2 0:00.26 httpd
    9171 nobody 15 0 21772 8992 3720 S 0.3 0.2 0:00.12 httpd
    14585 nobody 17 0 21824 9632 4060 S 0.3 0.2 0:00.17 httpd
    14593 nobody 15 0 21812 9060 3748 S 0.3 0.2 0:00.12 httpd
    14597 nobody 16 0 21796 8876 3672 S 0.3 0.2 0:00.05 httpd
    15074 nobody 16 0 21716 9172 3712 S 0.3 0.2 0:00.16 httpd
    15169 nobody 17 0 21800 8972 3688 S 0.3 0.2 0:00.12 httpd
    15643 nobody 16 0 21852 9056 3708 S 0.3 0.2 0:00.04 httpd
    15682 nobody 16 0 21776 8304 3252 S 0.3 0.2 0:00.01 httpd
    15708 nobody 16 0 21680 8756 3644 S 0.3 0.2 0:00.04 httpd
    15710 nobody 16 0 21868 9464 4088 S 0.3 0.2 0:00.04 httpd
    16105 nobody 16 0 21788 8868 3672 S 0.3 0.2 0:00.02 httpd
    16107 nobody 15 0 21656 8748 3648 S 0.3 0.2 0:00.01 httpd
    16149 nobody 16 0 21636 8616 3596 S 0.3 0.2 0:00.03 httpd
    16222 nobody 16 0 21576 8728 3644 S 0.3 0.2 0:00.01 httpd
    1 root 16 0 2312 536 464 S 0.0 0.0 0:03.56 init

  9. #9
    You guys think more memory is needed based on these stats?

  10. #10
    Join Date
    Oct 2007
    Location
    Reading, UK
    Posts
    601
    Hi Steven,

    It looks fine really, I wouldn't be too worried about 94K in the swap

    Code:
     top - 10:29:13 up 193 days, 20:40,  1 user,  load average: 0.07, 0.04, 0.00
    Tasks: 184 total,   1 running, 182 sleeping,   0 stopped,   1 zombie
    Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   8306856k total,  6540368k used,  1766488k free,   533316k buffers
    Swap: 16779852k total,       92k used, 16779760k free,  5547056k cached
    Is the print out from one of our servers and it is running perfectly.

    Are you actually having performance problems or have you just noticed this in top by chance? Also, what software (script) is the website running on that is taking lots of traffic?
    Toby H
    Infrastructure Consultant
    SolutionFire.co.uk
    cPanel | VMware | XenServer | cPanel | 3PAR | R1soft

Similar Threads

  1. command to stop the wget command?
    By shippuuden in forum Hosting Security and Technology
    Replies: 9
    Last Post: 05-01-2007, 10:18 AM
  2. Need SQL command for this
    By Jeff - Exceed in forum Hosting Security and Technology
    Replies: 3
    Last Post: 04-20-2006, 08:07 AM
  3. Perl: how to run a command line command from inside perl
    By fozzy in forum Programming Discussion
    Replies: 3
    Last Post: 10-28-2005, 11:34 AM
  4. what does this command do ?
    By AndyJ in forum Hosting Security and Technology
    Replies: 2
    Last Post: 07-21-2005, 03:00 PM
  5. Linux command/script to run a command for every file in a directory tree?
    By civ in forum Hosting Security and Technology
    Replies: 5
    Last Post: 01-25-2004, 08:48 PM

Posting Permissions

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