>It occurs to me that s6-ps would gain from having an "exe" column.
That functionality:
- isn't available in procps. I modelled the available columns from
procps' ones. Although that doesn't mean much, because there are many
more columns available now in recent versions of procps than there are
in s6-ps.
- requires an extra system call per process: a readlinkat() on "exe".
I tried to limit the functionality to what can be read in the "stat"
file. Using "comm" as well was unavoidable, but annoying.
That said, if there's demand for it, I'm not opposed to adding a
column for exe. I just wasn't aware of people besides me actually using
s6-ps. :)
--
Laurent
Received on Sat Jan 05 2019 - 00:20:51 UTC