scavetool problems

587 views
Skip to first unread message

Ernesto Garcia

unread,
Feb 1, 2012, 6:59:05 AM2/1/12
to omn...@googlegroups.com
Hi,

I'm using scavetool to export my sca files to csv, I apply this command:

scavetool scalar -p  name "Throughput" -O filtradomqtts-10.csv -F csv Publishers10-*.sca

but i got this error:

Exception: cannot open `Throughput' for read

I'm in the results directory where Publishers10 files are located.

Is there something wrong in the command ? please help me.

--
Ernesto

Borbély Tamás

unread,
Feb 1, 2012, 10:46:46 AM2/1/12
to omn...@googlegroups.com
Hi,

Try

scavetool scalar -p  "name(Throughput)" -O filtradomqtts-10.csv -F csv Publishers10-*.sca

or simply

scavetool scalar -p  "Throughput" -O filtradomqtts-10.csv -F csv Publishers10-*.sca


-- Tomi

Ernesto Garcia

unread,
Feb 1, 2012, 1:12:31 PM2/1/12
to omn...@googlegroups.com
thanks Tomi.

I 've noted a difference in export with IDE and with the scavetool command.

When i exported from IDE, i can define how i want to put the information in the file. I mean, i get a file where the first colum is the name of the module fixhost x, and tthe other colums contains the value of each run. I can select scalar grouped by module name and scalar name so i got:
                run 0  run 1 run 2 ...... run 9
      host1 
      host2
      host 3


But with comand line, i get a file where runs are in consecutive rows

host 1  run0
host 2 run 0
host 3 run 0
host 1 run 1
host 2 run 1
host 3 run 1
and so on... this is not suitable to parser it.

Do you know the way to put the format file as i described ?

Thank you for your help.

Ernesto


2012/2/1 Borbély Tamás <tomi.b...@gmail.com>


--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp



--
Ernesto

Borbély Tamás

unread,
Feb 2, 2012, 5:13:06 AM2/2/12
to omn...@googlegroups.com
I'm afraid, that's not possible with scavetool.
It only supports the 'scatter' operation on scalars, but that's for different purposes.

-- Tomi

2012/2/1 Ernesto Garcia <otse...@gmail.com>
Reply all
Reply to author
Forward
0 new messages