It there a way to display the complete command line in htop
(e.g. in multiple lines or with a moving banner). With the default setting where only one line is displayed it isn't possible to distungish all processes, e.g. different java
programs (because class or jar argument follows a bunch of arguments) or programs with long absolute path of binaries.
Omitting the full absolute path in favour of only the binary would be a compromise where distinction would not be optimal, but better in some cases.
I checked out the settings and the manpage and didn't find an option suitable in my understanding.
for p in $(pidof java); do echo $p:; cat /proc/$p/cmdline| xargs -0 echo; done |less
to inspect pids commandline?