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 ...
- 10-14-2009 #1Just 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
- 10-14-2009 #2Linux 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
- 10-14-2009 #3Just 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.
- 10-14-2009 #4Linux 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


Reply With Quote