One library you could use is one I wrote called Clojure-CSV, which you
can find at http://github.com/davidsantiago/clojure-csv. If you have
any questions, feel free to email me or message me on github.

   David

On Sun, Feb 26, 2012 at 3:33 PM, meteorfox
<ctorresk8guitar....@gmail.com> wrote:
> 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
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to