Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    459

    check what Cron jobs have been added on the server?

    Hi,


    i find on the certain time,

    the mysql of server will run a lot of query,

    and the io and load will become very high,

    after the time point,

    all the io and load with be smoth,


    so,i wonder if any Cron job has been add (by certain account) to run something,

    and make the problem.


    can anyone help me check it?



    thanks
    http://forums.cpanel.net/images/misc/progress.gif

  2. #2
    Join Date
    Feb 2004
    Location
    UK
    Posts
    1,429
    Hi

    You can monitor whats being run by

    You need to ssh into your server and run the following command:

    tail -f /var/log/cron

    Then you will be able to see whats been run at the time the load becomes very high

    Thanks

  3. #3
    Join Date
    Nov 2006
    Posts
    459
    Quote Originally Posted by RelicHOST View Post
    Hi

    You can monitor whats being run by

    You need to ssh into your server and run the following command:

    tail -f /var/log/cron

    Then you will be able to see whats been run at the time the load becomes very high

    Thanks
    Hi,

    this is useful to check,thanks


    but it look likely not the corn job make my server get problem.

  4. #4
    Join Date
    Aug 2007
    Location
    India
    Posts
    117
    Run the following command to check the mysql usage.

    mysqladmin -i5 processlist.

    Or check the mysql usage from WHM -> CPU/Mysql Usage.
    Anoop
    █ Freelance Linux Admin
    Email: tracerouteme [at] gmail.com

  5. #5
    Join Date
    Nov 2006
    Posts
    459
    Quote Originally Posted by tracerouteme View Post
    Run the following command to check the mysql usage.

    mysqladmin -i5 processlist.

    Or check the mysql usage from WHM -> CPU/Mysql Usage.

    Hi,

    thanks for your info,

    but it can be used for know who use a lot of resource about it,

    my problem now is i wonder if any reason make it produce a lot of query on the same time,

    because earlier or later of the time point,

    the query is not as much as the time point,

    and a lot of query on the time point with different account,


    so,i want to make sure if any reason make it produce a lot of query on the time point.



    thanks

Posting Permissions

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