Re: s6-ps

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Sat, 05 Jan 2019 00:20:51 +0000

>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

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC