On Fri, 22 Feb 2008 00:12:13 -0800
Z W <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I have 2 unix boxes.
> In each box, I have a unix shell script that captures vmstat
> statistics to a file of the unix box. During the run of the 2 shell
> scripts, I need a common timestamp for both.
> I'm thinking of writing an app to issue commands on a Windows box
> every few mins to
> these shell scripts and capture the statistics back to a file in a
> Windows folder. The app will provide the common timestamp for the
> statistics retrieved from the unix boxes.
> After the run is complete, I need to process these 2 files and graph
> them on a web browser. The output files should look similar to this:
> 
> 12:34:25 200000, 3, 99.0
> 
> 12:34:25 400000, 6, 90.0
> 
> where 12:34:25 is the common timestamp when issuing the vmstat,
> 200000 (or 400000) represents free memory, 3 (or 6) represents page
> mf and 99.0 (or 90.0) represents cpu idle.
> 
> I like to hear from you all what's the best method to accomplish this.
> 
> Can DTrace do better than that ?
> Even better, if one could provide a simple sample to accomplish this.


If you have both hosts synchronized with ntp that would
be much, much better than depending on writing your own
application. ntp is a published Standard.


What are you really trying to look at with vmstat? 
 

James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to