Results 1 to 3 of 3

Thread: Script to monitor service performance?

  1. #1
    Join Date
    Sep 2012
    Beans
    94
    Distro
    Ubuntu 12.04 Precise Pangolin

    Script to monitor service performance?

    Hi All,

    I want to ask, how we can monitor services performance, for e.g, apache cpu & nic usage, using script.
    I want to use this script with syslog server, if the apache cpu & nic usage is high, so, stop the syslog services because it will generate haevy logs.

    Thnaks in advanced.

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Script to monitor service performance?

    Turning off system logs due to high CPU load is contradictory, because you need the logs when something breaks, otherwise troubleshooting is nearly impossible.

    Perhaps describe in more detail what you are trying to accomplish. If you want to add entries to your syslog based on performance criteria look at:

    Code:
    man logger
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3

    Re: Script to monitor service performance?

    Windows assumes the user is an idiot.
    Linux demands proof.

Bookmarks

Posting Permissions

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