Open Firesphere opened 5 years ago
What do you mean by "wrapping" ?
Glances already display the full command name if you click on the '/' key (by default on the Curses interface and not by default on the Web UI)
I mean that even using the /
, the full command still often runs out of screen, e.g. parameters passed in.
e.g.:
Xorg vt2 -displayfd 3 -auth /run/user/55817/gdm/Xauthority -background none -noreset -keeptty -verbos
is the maximum displayed. with wrapping, I would be able to see any further arguments passed in to Xorg.
I understand but the only way to show all command line arguments is to display the command on multiple lines. In this case, if a process has a very long command line, Glances will display only a few processes...
Example with the PyCharm process ==> 16 lines...
/home/nicolargo/apps/pycharm-2019.2.3/jbr/bin/java -classpath /home/nicolargo/apps/pycharm
2019.2.3/lib/bootstrap.jar:/home/nicolargo/apps/pycharm-2019.2.3/lib/extensions.jar:/home/nicolarg
/apps/pycharm-2019.2.3/lib/util.jar:/home/nicolargo/apps/pycharm-2019.2.3/lib/jdom.jar
/home/nicolargo/apps/pycharm-2019.2.3/lib/log4j.jar:/home/nicolargo/apps/pycharm-2019.2.
/lib/trove4j.jar:/home/nicolargo/apps/pycharm-2019.2.3/lib/jna.jar -Xms128m -Xmx937m
-XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2
-Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes= -XX:+HeapDumpOnOutOfMemoryError -XX:
OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf -Dkotlinx.coroutines.debug=off
-Djdk.module.illegalAccess.silent=true -Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -Dsun.tools.attach.tmp.only=true
-XX:ErrorFile=/home/nicolargo/java_error_in_PYCHARM_%p.log -XX:HeapDumpPath=/hom
/nicolargo/java_error_in_PYCHARM.hprof -Didea.paths.selector=PyCharm2019.2
-Djb.vmOptionsFile=/home/nicolargo/.PyCharm2019.2/config/pycharm64.vmoptions
-Didea.platform.prefix=Python com.intellij.idea.Main
Good point. Maybe a "get full command for currently selected" might be something to consider, but I understand your point. Indeed not really feasible at the moment :)
I like how procs is doing it, you can simply hit ← → arrows to scroll through whole args
Description
It would be useful to create an option to wrap the output of the running processes, so the full process becomes visible, including arguments. Running it out of screen is at times not giving enough information
Versions