)]}'
{"tools/dstat.sh":[{"author":{"_account_id":8726,"name":"Victor Morales","email":"chipahuac@hotmail.com","username":"electrocucaracha"},"change_message_id":"ce169e77bd7e37d6da267b8dbdf3f13947b3ed17","unresolved":false,"context_lines":[{"line_number":13,"context_line":"LOGDIR\u003d$1"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# Command line arguments for primary DStat process."},{"line_number":16,"context_line":"DSTAT_OPTS\u003d\"-tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# Command-line arguments for secondary background DStat process."},{"line_number":19,"context_line":"DSTAT_CSV_OPTS\u003d\"-tcmndrylpg --output $LOGDIR/dstat-csv.log\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3a461143_9df25605","line":16,"range":{"start_line":16,"start_character":24,"end_line":16,"end_character":67},"updated":"2017-02-02 18:02:29.000000000","message":"Maybe I\u0027m wrong but, isn\u0027t the output of this arguments send to the /dev/null in the line 22? In order to see the output of this, shouldn\u0027t need to be in the line 19?","commit_id":"6d79ebcae10dddb804856e7838aa391749266ebb"},{"author":{"_account_id":8726,"name":"Victor Morales","email":"chipahuac@hotmail.com","username":"electrocucaracha"},"change_message_id":"459731c2f0d67dc94f04e32e059e5304fe8ade32","unresolved":false,"context_lines":[{"line_number":13,"context_line":"LOGDIR\u003d$1"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# Command line arguments for primary DStat process."},{"line_number":16,"context_line":"DSTAT_OPTS\u003d\"-tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# Command-line arguments for secondary background DStat process."},{"line_number":19,"context_line":"DSTAT_CSV_OPTS\u003d\"-tcmndrylpg --output $LOGDIR/dstat-csv.log\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3a461143_181d9466","line":16,"range":{"start_line":16,"start_character":24,"end_line":16,"end_character":67},"in_reply_to":"3a461143_3d17a2ee","updated":"2017-02-02 18:14:36.000000000","message":"Hey Matthew, thanks for the explanation. Definitely it makes more sense now.  I was trying to know who was the winner in terms of memory consumption but I couldn\u0027t find it in the output file[1]. I\u0027m wondering if it could be possible to reuse the line 16 into the line 19? \n\nDSTAT_CSV_OPTS\u003d\"$DSTAT_OPTS --output $LOGDIR/dstat-csv.log\"\n\nThat could help to do a postmortem analysis.\n\n[1] http://logs.openstack.org/20/428220/1/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/6d6c703/logs/dstat-csv_log.txt.gz","commit_id":"6d79ebcae10dddb804856e7838aa391749266ebb"},{"author":{"_account_id":8726,"name":"Victor Morales","email":"chipahuac@hotmail.com","username":"electrocucaracha"},"change_message_id":"45eae69871c842dce7a15d8b87602a99bc3d7ef4","unresolved":false,"context_lines":[{"line_number":13,"context_line":"LOGDIR\u003d$1"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# Command line arguments for primary DStat process."},{"line_number":16,"context_line":"DSTAT_OPTS\u003d\"-tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# Command-line arguments for secondary background DStat process."},{"line_number":19,"context_line":"DSTAT_CSV_OPTS\u003d\"-tcmndrylpg --output $LOGDIR/dstat-csv.log\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3a461143_fdf51acb","line":16,"range":{"start_line":16,"start_character":24,"end_line":16,"end_character":67},"in_reply_to":"3a461143_9df25605","updated":"2017-02-02 18:04:53.000000000","message":"Forget it, this is used in line 26","commit_id":"6d79ebcae10dddb804856e7838aa391749266ebb"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"40586f85523bfc96b1a85d2115b41b4fdd175dc5","unresolved":false,"context_lines":[{"line_number":13,"context_line":"LOGDIR\u003d$1"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"# Command line arguments for primary DStat process."},{"line_number":16,"context_line":"DSTAT_OPTS\u003d\"-tcmndrylpg --top-cpu-adv --top-io-adv --top-mem --swap\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# Command-line arguments for secondary background DStat process."},{"line_number":19,"context_line":"DSTAT_CSV_OPTS\u003d\"-tcmndrylpg --output $LOGDIR/dstat-csv.log\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3a461143_3d17a2ee","line":16,"range":{"start_line":16,"start_character":24,"end_line":16,"end_character":67},"in_reply_to":"3a461143_9df25605","updated":"2017-02-02 18:05:49.000000000","message":"So we run dstat twice in devstack, once for console output which is launched at L26. This opts string is used there and where we want the output so it ends up in screen-dstat.txt.\n\nL19 and L22 are to generate a csv format output which is written directly to the logs. That goes to /dev/null because we rely on the --output argument to write the log file.","commit_id":"6d79ebcae10dddb804856e7838aa391749266ebb"}]}
