summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-11-12 21:16:48 -0800
committerLudovic Courtès <ludo@gnu.org>2020-11-29 23:55:57 +0100
commite1c81203ca9aa8a6dedb7c539d3ff845626aadcc (patch)
tree1937601bd96824d4173a4b03a9bef233fe0d24bd /doc
parentd4fac4be0d1bca80a8e78d217b33f887a2843b74 (diff)
processes: Put ChildProcess and ChildPID on separate lines.
* guix/scripts/processes.scm (daemon-session->recutils): Put child process information in separate fields. * doc/guix.texi (Invoking guix processes): Document change in output of 'guix processes'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi22
1 files changed, 13 insertions, 9 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 56a1a21bbb0..7cef2371ade 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -84,6 +84,7 @@ Copyright @copyright{} 2020 André Batista@*
84Copyright @copyright{} 2020 Alexandru-Sergiu Marton@* 84Copyright @copyright{} 2020 Alexandru-Sergiu Marton@*
85Copyright @copyright{} 2020 raingloom@* 85Copyright @copyright{} 2020 raingloom@*
86Copyright @copyright{} 2020 Daniel Brooks@* 86Copyright @copyright{} 2020 Daniel Brooks@*
87Copyright @copyright{} 2020 John Soo@*
87 88
88Permission is granted to copy, distribute and/or modify this document 89Permission is granted to copy, distribute and/or modify this document
89under the terms of the GNU Free Documentation License, Version 1.3 or 90under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -12865,9 +12866,12 @@ ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}
12865LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock 12866LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock
12866LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock 12867LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock
12867LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock 12868LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock
12868ChildProcess: 20495: guix offload x86_64-linux 7200 1 28800 12869ChildPID: 20495
12869ChildProcess: 27733: guix offload x86_64-linux 7200 1 28800 12870ChildCommand: guix offload x86_64-linux 7200 1 28800
12870ChildProcess: 27793: guix offload x86_64-linux 7200 1 28800 12871ChildPID: 27733
12872ChildCommand: guix offload x86_64-linux 7200 1 28800
12873ChildPID: 27793
12874ChildCommand: guix offload x86_64-linux 7200 1 28800
12871@end example 12875@end example
12872 12876
12873In this example we see that @command{guix-daemon} has three clients: 12877In this example we see that @command{guix-daemon} has three clients:
@@ -12876,12 +12880,12 @@ integration tool; their process identifier (PID) is given by the
12876@code{ClientPID} field. The @code{SessionPID} field gives the PID of the 12880@code{ClientPID} field. The @code{SessionPID} field gives the PID of the
12877@command{guix-daemon} sub-process of this particular session. 12881@command{guix-daemon} sub-process of this particular session.
12878 12882
12879The @code{LockHeld} fields show which store items are currently locked by this 12883The @code{LockHeld} fields show which store items are currently locked
12880session, which corresponds to store items being built or substituted (the 12884by this session, which corresponds to store items being built or
12881@code{LockHeld} field is not displayed when @command{guix processes} is not 12885substituted (the @code{LockHeld} field is not displayed when
12882running as root). Last, by looking at the @code{ChildProcess} field, we 12886@command{guix processes} is not running as root). Last, by looking at
12883understand that these three builds are being offloaded (@pxref{Daemon Offload 12887the @code{ChildPID} and @code{ChildCommand} fields, we understand that
12884Setup}). 12888these three builds are being offloaded (@pxref{Daemon Offload Setup}).
12885 12889
12886The output is in Recutils format so we can use the handy @command{recsel} 12890The output is in Recutils format so we can use the handy @command{recsel}
12887command to select sessions of interest (@pxref{Selection Expressions,,, 12891command to select sessions of interest (@pxref{Selection Expressions,,,