Git Product home page Git Product logo

picdat's People

Contributors

darkstar avatar marloh avatar mnglora avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

picdat's Issues

7-mode sysstat charts are empty

How to reproduce:
Analyse any 7-Mode perfstat output with picdat.

Possible cause:
SYSSTAT_BLOCK_HEADER = 'sysstat_x_1sec' in sysstat_module.py
Example line for cdot:
=-=-=-=-=-= PERF 10.252.0.26 POSTSTATS =-=-=-=-=-= sysstat_x_1sec
Example line for 7-mode:
=-=-=-=-=-= PERF filer11 POSTSTATS =-=-=-=-=-= sysstat_1sec.out

When processing larger iteration perfstat exiting with IndexError: list index out of range

2019-11-17 12:14:48,466 INFO: inputfile: C:\Users\victor\Documents\picdat\NetApp01_14_11_perf.zip, outputdir: C:\Users\victor\Documents\picdat\Perf_Out1
2019-11-17 12:14:48,484 INFO: Extract zip...
2019-11-17 12:15:21,375 INFO: Prepare directory...
2019-11-17 12:15:22,093 INFO: Running PicDat in PerfStat mode
2019-11-17 12:15:22,093 INFO: Did not find a console.log file to extract perfstat's cluster and node name.
2019-11-17 12:15:22,107 INFO: Read data...
2019-11-17 12:18:32,542 INFO: (Temporarily extracted files deleted)
Traceback (most recent call last):
File "C:\Users\victor\Documents\picdat\picdat-master\picdat.py", line 181, in
start_picdat()
File "C:\Users\victor\Documents\picdat\picdat-master\picdat.py", line 139, in start_picdat
sort_columns_by_name, compact_file)
File "C:\Users\victor\Documents\picdat\picdat-master\perfstat_mode\perfstat_mode.py", line 98, in run_perfstat_mode
sort_columns_by_name)
File "C:\Users\victor\Documents\picdat\picdat-master\perfstat_mode\data_collector.py", line 193, in read_data_file
sysstat_container.process_sysstat_block(line)
File "C:\Users\victor\Documents\picdat\picdat-master\perfstat_mode\sysstat_container.py", line 279, in process_sysstat_block
self.process_sysstat_keys(line)
File "C:\Users\victor\Documents\picdat\picdat-master\perfstat_mode\sysstat_container.py", line 189, in process_sysstat_keys
'%') for index in self.percent_indices])
File "C:\Users\victor\Documents\picdat\picdat-master\perfstat_mode\sysstat_container.py", line 189, in
'%') for index in self.percent_indices])
IndexError: list index out of range

CRCRLF EOL in generated CSVs

In every CSV you get a unnecessary blank line, which is caused by having a double carriage return followed by a line feed.

I've tracked the bug down to line 47 of the function create_csv in the file picdat/table_writer.py.
"os.linesep" is not allowed as line terminator, when you open the file in text mode.
Source: docs.python.org

while trying to process first perfstat getting getopt.GetoptError: option --inputfile not recognized

File "C:\Users\victor\Documents\picdat\picdat-master\picdat_util.py", line 184, in handle_user_input
['help', 'logfile', 'sortbynames', 'compact', 'webserver', 'debug=', 'input=', 'outputdir='])
File "C:\Python34\lib\getopt.py", line 93, in getopt
opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
File "C:\Python34\lib\getopt.py", line 157, in do_longs
has_arg, opt = long_has_args(opt, longopts)
File "C:\Python34\lib\getopt.py", line 174, in long_has_args
raise GetoptError(_('option --%s not recognized') % opt, opt)
getopt.GetoptError: option --inputfile not recognized

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.