unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 33161@debbugs.gnu.org
Subject: [bug#33161] [PATCH 0/1] Add 'guix processes'
Date: Fri, 26 Oct 2018 11:25:12 +0200	[thread overview]
Message-ID: <20181026092512.28810-1-ludo@gnu.org> (raw)

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

             reply	other threads:[~2018-10-26  9:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-26  9:25 Ludovic Courtès [this message]
2018-10-26  9:42 ` [bug#33161] [PATCH 1/1] Add 'guix processes' Ludovic Courtès
2018-10-28 23:15 ` bug#33161: [PATCH 0/1] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181026092512.28810-1-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=33161@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).