jeetsukumaran / Syrupy

System Resource Usage Profiler
http://jeetworks.org/programs/syrupy
GNU General Public License v3.0
194 stars 27 forks source link

RFE: Option to adjust output length of --show-command #19

Open kfiresmith opened 3 years ago

kfiresmith commented 3 years ago

Hi Folks, Because Java commands within PS often have more than 2100 characters by the time you've set all of your runtime settings, lots of common Java programs (Elasticsearch, Tomcat, Kibana, etc) make Syrupy logs unreadable when you need to map processes to commands.

It would be very nice to have another option added along the lines of

python scripts/syrupy.py -m 5 -i 30  --show-command  --limit-command-chars=24

This would allow output to table properly and predictably, and enhance readability without sacrificing command mapping.

Thanks!