Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008

    how to check load via ssh and check files causing load ??

    I would like to know how to check load via ssh and check files causing load ??

    I want the ssh codes for 2 different set of control panels, one with cpanel+whm and other with kloxo+hypervm

    and I would also know how to check the files causing the load, such as some files could have been interrupted while processing, so they could be causing load some times, so I want to stop such processes if any are running on the vps on my friends accounts

  2. #2
    you can check the load via TOP command , You can go into more details with the help of man command, Process causing load can be traced using strace -p pid command i believe well you need to explore more options via shell.
    Server Management, Server Security, Server Monitoring.
    India's Leading Managed Service Provider !! Skype: techs24x7

  3. #3
    Join Date
    Mar 2008
    thanks for the info srv, will check it later once the process I am through is completed

  4. #4
    Join Date
    Aug 2001
    Orange County, CA
    Using 'top' (as mentioned above) you can use Shift+P and Shift+M to sort by CPU or memory usage. Press them again to change from ascending to descending order.

    If you just want to check load, you can use 'w' or 'uptime' rather than 'top'.

    If MySQL is showing a high amount of load, you can use the query 'SHOW PROCESSLIST' when logged into the MySQL console.

    You can check the TCP connections to your server with something like 'netstat -at | less'.

    You can check your auth log (check /etc/syslog.conf) for brute force attacks or lots of SMTP connections using something like 'tail -f /var/log/secure' or 'tail -f /var/log/auth.log'. Your location of the log files may vary. Press Ctrl+C to stop scrolling the log.

    You could also install the 'sysstat' package to use tools like 'iostat' to check HDD performance.
    Jeff Standen, Chief of R&D, WebGroup Media LLC. - LinkedIn
    Cerb is a fast and flexible web-based platform for business collaboration and automation.

  5. #5
    Join Date
    Dec 2005
    Virginia, USA
    This will give the number of established connections by ip.

    netstat -ntu | grep ESTABLISHED | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
    If you want to include all connections and not just established ones then:

    netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
    This is useful to find a particular foreign ip that might be causing trouble.

  6. #6
    Join Date
    Aug 2007
    Brighton, UK
    Use "bmon" for checking network load. Draws nice ascii graphs of your bandwidth usage over each interface.

Similar Threads

  1. How do check e-mail load
    By wasantha in forum VPS Hosting
    Replies: 2
    Last Post: 02-22-2007, 04:13 AM
  2. Check load time
    By in forum Web Hosting
    Replies: 10
    Last Post: 03-16-2006, 08:13 PM
  3. how to check load server with php?
    By pueblosnet in forum Programming Discussion
    Replies: 9
    Last Post: 05-22-2005, 04:41 PM
  4. how to check server load
    By djyeo in forum Hosting Security and Technology
    Replies: 10
    Last Post: 03-23-2005, 02:27 PM
  5. Replies: 8
    Last Post: 12-30-2004, 08:00 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