meteorfox
unread,Feb 26, 2012, 6:33:42 PM2/26/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Clojure
Hi,
I'm interested in creating graphs for NMON data which is essentially a
csv file. Which library can you recommend for this kind of task?
Here's a brief sample of the data I need to parse in..
AAA,progname,nmon_x86_64_fedora16
AAA,command,./nmon_x86_64_fedora16 -f -s 30 -c 60
AAA,version,14g
AAA,disks_per_line,150
AAA,max_disks,256,set by -d option
AAA,disks,9,
AAA,host,sandybridge
AAA,user,meteorfox
AAA,OS,Linux,3.2.6-3.fc16.x86_64,#1 SMP Mon Feb 13 20:35:42 UTC
2012,x86_64
AAA,runname,sandybridge
AAA,time,22:18.50
AAA,date,24-FEB-2012
AAA,interval,30
AAA,snapshots,60
AAA,cpus,8
AAA,proc_stat_variables,8
AAA,note0, Warning - use the UNIX sort command to order this file
before loading into a spreadsheet
AAA,note1, The First Column is simply to get the output sorted in the
right order
AAA,note2, The T0001-T9999 column is a snapshot number. To work out
the actual time; see the ZZZ section at the end
CPU001,CPU 1 sandybridge,User%,Sys%,Wait%,Idle%
CPU002,CPU 2 sandybridge,User%,Sys%,Wait%,Idle%
CPU003,CPU 3 sandybridge,User%,Sys%,Wait%,Idle%
CPU004,CPU 4 sandybridge,User%,Sys%,Wait%,Idle%
CPU005,CPU 5 sandybridge,User%,Sys%,Wait%,Idle%
CPU006,CPU 6 sandybridge,User%,Sys%,Wait%,Idle%
CPU007,CPU 7 sandybridge,User%,Sys%,Wait%,Idle%
CPU008,CPU 8 sandybridge,User%,Sys%,Wait%,Idle%
CPU_ALL,CPU Total sandybridge,User%,Sys%,Wait%,Idle%,Busy,CPUs
........
Thanks
Carlos Torres