Advertisement
Guest User

Untitled

a guest
Jun 13th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/usr/bin/ruby
  2.  
  3. RRDFile = `rrdtool fetch ./switch01_traffic.rrd AVERAGE`
  4.  
  5. RRDLine = RRDFile.each { |line| line.split }
  6.  
  7. #print RRDLINE
  8.  
  9. # need to assign each item on a line by line basis to a var then print the vars in a new order (print var1,var2,var3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement