The other day I modified the output of lstopo --ps to contain the end of
the cmdline instead of the beginning, because with module systems,
spack, etc. the path to application binaries get longer and longer, and
eventually the actual name of the binary goes away on the right.

But conversely, now it's the end of the options passed to the
application which show up, and when there are a lot, the application
name goes away again, on the left.

Would it be fine to people to just get rid of the path leading to the
application binary, and only show the file name of the binary in the
output of lstopo --ps?

(Basically, taking /proc/$pid/comm instead of trying to find the right
part of /proc/$pid/cmdline to be displayed.)

hwloc-users mailing list

Reply via email to