diff options
| author | John Soo <jsoo1@asu.edu> | 2020-11-12 21:16:48 -0800 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-29 23:55:57 +0100 |
| commit | e1c81203ca9aa8a6dedb7c539d3ff845626aadcc (patch) | |
| tree | 1937601bd96824d4173a4b03a9bef233fe0d24bd /doc | |
| parent | d4fac4be0d1bca80a8e78d217b33f887a2843b74 (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.texi | 22 |
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@* | |||
| 84 | Copyright @copyright{} 2020 Alexandru-Sergiu Marton@* | 84 | Copyright @copyright{} 2020 Alexandru-Sergiu Marton@* |
| 85 | Copyright @copyright{} 2020 raingloom@* | 85 | Copyright @copyright{} 2020 raingloom@* |
| 86 | Copyright @copyright{} 2020 Daniel Brooks@* | 86 | Copyright @copyright{} 2020 Daniel Brooks@* |
| 87 | Copyright @copyright{} 2020 John Soo@* | ||
| 87 | 88 | ||
| 88 | Permission is granted to copy, distribute and/or modify this document | 89 | Permission is granted to copy, distribute and/or modify this document |
| 89 | under the terms of the GNU Free Documentation License, Version 1.3 or | 90 | under the terms of the GNU Free Documentation License, Version 1.3 or |
| @@ -12865,9 +12866,12 @@ ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{} | |||
| 12865 | LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock | 12866 | LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock |
| 12866 | LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock | 12867 | LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock |
| 12867 | LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock | 12868 | LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock |
| 12868 | ChildProcess: 20495: guix offload x86_64-linux 7200 1 28800 | 12869 | ChildPID: 20495 |
| 12869 | ChildProcess: 27733: guix offload x86_64-linux 7200 1 28800 | 12870 | ChildCommand: guix offload x86_64-linux 7200 1 28800 |
| 12870 | ChildProcess: 27793: guix offload x86_64-linux 7200 1 28800 | 12871 | ChildPID: 27733 |
| 12872 | ChildCommand: guix offload x86_64-linux 7200 1 28800 | ||
| 12873 | ChildPID: 27793 | ||
| 12874 | ChildCommand: guix offload x86_64-linux 7200 1 28800 | ||
| 12871 | @end example | 12875 | @end example |
| 12872 | 12876 | ||
| 12873 | In this example we see that @command{guix-daemon} has three clients: | 12877 | In 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 | ||
| 12879 | The @code{LockHeld} fields show which store items are currently locked by this | 12883 | The @code{LockHeld} fields show which store items are currently locked |
| 12880 | session, which corresponds to store items being built or substituted (the | 12884 | by this session, which corresponds to store items being built or |
| 12881 | @code{LockHeld} field is not displayed when @command{guix processes} is not | 12885 | substituted (the @code{LockHeld} field is not displayed when |
| 12882 | running as root). Last, by looking at the @code{ChildProcess} field, we | 12886 | @command{guix processes} is not running as root). Last, by looking at |
| 12883 | understand that these three builds are being offloaded (@pxref{Daemon Offload | 12887 | the @code{ChildPID} and @code{ChildCommand} fields, we understand that |
| 12884 | Setup}). | 12888 | these three builds are being offloaded (@pxref{Daemon Offload Setup}). |
| 12885 | 12889 | ||
| 12886 | The output is in Recutils format so we can use the handy @command{recsel} | 12890 | The output is in Recutils format so we can use the handy @command{recsel} |
| 12887 | command to select sessions of interest (@pxref{Selection Expressions,,, | 12891 | command to select sessions of interest (@pxref{Selection Expressions,,, |
