Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Graph with VMstat output

by hexcoder (Curate)
on Jun 02, 2014 at 22:07 UTC ( [id://1088315]=note: print w/replies, xml ) Need Help??


in reply to Graph with VMstat output

Adding to zentara's good advice...

Your line
my @proc = ([@$run_stats_all],[@$unit_stats_all]);
has the same structure as the line in zentaras example
my @data = ...

You can find out about nested structures by using the core module Data::Dumper

use Data::Dumper; print Dumper( \@proc );
It would show the values of @proc along with their internal structure.

Anyway, in this case @proc will have two entries. Each is a reference to an anonymous array.
The first array holds the run_stats_all values,
the second one holds the unit_stats_all values.

Hope that helps!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1088315]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-23 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found