Skip to content

w: add --pids option to display the pid of the login and best processes.

Jan Pazdziora requested to merge adelton/procps:w-pids into master

While testing some complex login scenario with ssh multiplexing, I found a need to know what the relationship of the pid recorded in utmp and the process shown by w is. This patch adds option --pids to display the pid of the login process and the best process (of which the cmdline is shown by w) in the "what" column.

Merge request reports