Find the answer to your Linux question:
Results 1 to 4 of 4
Hi! I would like to create a script to monitoring my server: mysql (users), cpu, memory, diskt, apache (logins)... My idea is to make a small script in crontab and ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    48

    Make an script to monitoring my server

    Hi!

    I would like to create a script to monitoring my server: mysql (users), cpu, memory, diskt, apache (logins)...

    My idea is to make a small script in crontab and run this every 10 minuts.
    This is script generates one line with my results and write this results into a csv.

    In my csv i put in a future graphs from my results.

    Anybody know any site to give this code to make this idea? or any ideas?

    thanks

  2. #2
    Linux Newbie
    Join Date
    Nov 2007
    Location
    Planet Earth
    Posts
    152
    If your'e doing that just for fun, you can see programs like mrtg, munin and similars, which do exactly what your'e trying to do.

    But, maybe, is a better idea to use some of those programs...
    EOF

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    48
    i check this programs yet, but i would like anything as very simple.
    and script and few results. I have now the graphs.
    I woult like only to make the scripts to insert into an Spreed Sheet Excel.

  4. #4
    Linux Newbie
    Join Date
    Nov 2007
    Location
    Planet Earth
    Posts
    152
    ok... then you can try with the proc filesystem (almost all about the system is inside, with a computer-friendly format and automatically updated)

    Googling for "linux proc filesystem" will give you a lot of information about how to use those virtual files.
    EOF

Posting Permissions

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