Operating System - HP-UX
1823079 Members
3275 Online
109645 Solutions
New Discussion юеВ

System Monitoring, Graphs and Perl

 
Vijaya Kumar_3
Respected Contributor

System Monitoring, Graphs and Perl

I am doing some monitoring stuff...
To monitor these:
CPU
Memory
I/O
Network

I am planning to collect these data continuosly using shell scripts and convert the data in to graphs. I know this can be done using perl scripts (using GD:Graph module). I am going to use this module to convert my data to graph.

I am looking for your suggestions to collect the information using shell scripts.
Memory - vmstat and sar
CPU - sar and vmstat
I/O - iostat and sar
Network - netstat

Is there any utlities used for continuous monitoring, which gives real time data to be converted into graphs other thank this.Is there any way to collect data from glance? top?

I heard glance uses a repository. Do u have any information, i can use that data?

thanks
vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
6 REPLIES 6
Uday_S_Ankolekar
Honored Contributor

Re: System Monitoring, Graphs and Perl

Did you try Perfview?? PV in short.

-USA..
Good Luck..
Vijaya Kumar_3
Respected Contributor

Re: System Monitoring, Graphs and Perl

Thanks USA for your suggestion(i am getting a feeling like your name is usha)... I dont want to buy a product...no budget fot it!!!

My aim is just to monitor these and use my limux box to convert to graphs. there are perl modules which are ready to convert the data to graphs.
I need your suggestions to collect the data thro shell scripts
thanks
Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Steven E. Protter
Exalted Contributor

Re: System Monitoring, Graphs and Perl

The Linux/Gnome XWindows service has a prety good graphic monitor called gtop. It monitors these features in a graphical mode pretty well.

You question is listed in HP/UX which has a fine pay/for tool for this purpose called Glance.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vijaya Kumar_3
Respected Contributor

Re: System Monitoring, Graphs and Perl

Thanks Steven.

I think, Glance wont give historic information.
My plan is:
1. Collect the data from HP-Ux
2. Transfer the data to Linux
3. Draw graphs
4. Publish in Apache

I am not sure whether i can collect historic data from glance? thats why i am planning to collect these information every 10 mins and transfer the data every 1 hour to linux box.
thanks
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Bill Hassell
Honored Contributor

Re: System Monitoring, Graphs and Perl

Glance comes with a graphical Xwindow tool called gpm which creates a lot of graphs. By picking an appropriate sample length. you can see the entire day. What you really need is MeasureWare or mwa for short. It makes sar and iostat numbers obsolete. The collected data (covering hundreds of metrics) can be extracted into comma-delimited records, ready for plotting.


Bill Hassell, sysadmin
Mark Ma_4
Occasional Advisor

Re: System Monitoring, Graphs and Perl

actually ,we ever do these before.
our solution is that develop a data analasis system based on MWA's data source.

as you say that PV CAN NOT collect history data,so we resolve it by merge all mwa agent db's data into out centralized ORACLE database ,and then we using graphic development tools show what we need,including CPU/DISK/MEM/APP/NETIF and so on.

wish this could give u some point.