Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/ruby
- RRDFile = `rrdtool fetch ./switch01_traffic.rrd AVERAGE`
- RRDLine = RRDFile.each { |line| line.split }
- #print RRDLINE
- # 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