From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFyNZ-00035R-KM for guix-patches@gnu.org; Fri, 26 Oct 2018 05:26:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFyNW-00081z-F8 for guix-patches@gnu.org; Fri, 26 Oct 2018 05:26:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38924) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFyNW-00081t-Aa for guix-patches@gnu.org; Fri, 26 Oct 2018 05:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFyNW-0002mf-5G for guix-patches@gnu.org; Fri, 26 Oct 2018 05:26:02 -0400 Subject: [bug#33161] [PATCH 0/1] Add 'guix processes' Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFyN5-0002r7-4n for guix-patches@gnu.org; Fri, 26 Oct 2018 05:25:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFyN3-0007gx-1w for guix-patches@gnu.org; Fri, 26 Oct 2018 05:25:34 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 26 Oct 2018 11:25:12 +0200 Message-Id: <20181026092512.28810-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33161@debbugs.gnu.org Hello Guix! This patch adds a ‘guix processes’ command that I find handy to inspect/debug Guix activity. In particular, I realized I had been doing this by hand on berlin when trying to understand what’s going on, so this tool will be helpful there. :-) Note that it’s low-tech: it works by browsing the processes in /proc and extracting the relevant info from there. Thoughts? Ludo’. Ludovic Courtès (1): Add 'guix processes'. Makefile.am | 2 + doc/guix.texi | 56 ++++++++++ guix/scripts/processes.scm | 223 +++++++++++++++++++++++++++++++++++++ po/guix/POTFILES.in | 1 + tests/processes.scm | 86 ++++++++++++++ 5 files changed, 368 insertions(+) create mode 100644 guix/scripts/processes.scm create mode 100644 tests/processes.scm -- 2.19.1