From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2431 Path: news.gmane.org!.POSTED!not-for-mail From: "Laurent Bercot" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: s6-ps Date: Sat, 05 Jan 2019 00:20:51 +0000 Message-ID: References: <9f647c4c-2dc3-b977-928c-ee164ba88afe@ntlworld.com> Reply-To: "Laurent Bercot" NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1546647529 4221 195.159.176.226 (5 Jan 2019 00:18:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2019 00:18:49 +0000 (UTC) User-Agent: eM_Client/7.2.33939.0 To: "Jonathan de Boyne Pollard" , Supervision Original-X-From: supervision-return-2021-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Jan 05 01:18:44 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1gfZfo-0000yS-5e for gcsg-supervision@m.gmane.org; Sat, 05 Jan 2019 01:18:44 +0100 Original-Received: (qmail 4399 invoked by uid 89); 5 Jan 2019 00:21:19 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 4392 invoked from network); 5 Jan 2019 00:21:18 -0000 In-Reply-To: <9f647c4c-2dc3-b977-928c-ee164ba88afe@ntlworld.com> X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrvddvgddvvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhhrfgggtgfgsehtqhertddtreejnecuhfhrohhmpedfnfgruhhrvghnthcuuegvrhgtohhtfdcuoehskhgrqdhsuhhpvghrvhhishhiohhnsehskhgrrhhnvghtrdhorhhgqeenucfrrghrrghmpehmohguvgepshhmthhpohhuthenucevlhhushhtvghrufhiiigvpedt Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2431 Archived-At: >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