Hi Mark,
Mark H Weaver skribis:
> Ludovic Courtès writes:
>
>> Last, you’d need to send SIGTSTP to the whole process group of the
>> build, like so (I think, haven’t tried):
>>
>> sudo kill -TSTP -123
>>
>> where 123 is the “SessionPID” shown by ‘guix processes’. However, doing
>> so may aff
Hello everyone,
Ludovic Courtès writes:
>> After perusing info recutils some, I expected the output to be more
>> like:
>>
>> ChildProcessPID: 16923
>> ChildProcessCommand: guile --no-auto-compile -L
>> /gnu/store/8a0wry8cvr405ha8d8bpjyzj5dzghigd-module-import
>> /gnu/store/mh1fkn1d9c9mg6hihxvjn
Hi Ludovic,
Ludovic Courtès writes:
> Last, you’d need to send SIGTSTP to the whole process group of the
> build, like so (I think, haven’t tried):
>
> sudo kill -TSTP -123
>
> where 123 is the “SessionPID” shown by ‘guix processes’. However, doing
> so may affect build results: processes in
Hi,
John Soo skribis:
> After even further investigation,
>
> Does guix processes output the desired rec format? It seems hard to
> select the child process pid:
>
> ChildProcess: 16923: guile --no-auto-compile -L
> /gnu/store/8a0wry8cvr405ha8d8bpjyzj5dzghigd-module-import
> /gnu/store/mh1fkn1
Hi,
John Soo skribis:
> This feels close to little sed/awk pipelines. Which is not to be
> entirely dismissive. I like the compositionality of these tools. In
> fact I mentioned earlier that it might be good to send arbitrary
> signals. But why not let kill (shell or scheme) do that? All we w
Hello Guix,
I just sent a patch to normalize the output of processes with bug number 44460.
The allows me to compose recutils with kill to get the desired effect of
pausing all process trees for the things I want without any convoluted
implementation.I think I would be sat
Hi all,
On +2020-11-03 14:53:07 +0100, Ludovic Courtès wrote:
> Hi,
>
> John Soo skribis:
>
> > I was looking to pause a long build today and asked on IRC how to
> > accomplish pause/resume. It seems this is possible already with the
> > following:
> >
> > kill --signal SIGSTOP|SIGCONT {pids-o
After even further investigation,
Does guix processes output the desired rec format? It seems hard to
select the child process pid:
ChildProcess: 16923: guile --no-auto-compile -L
/gnu/store/8a0wry8cvr405ha8d8bpjyzj5dzghigd-module-import
/gnu/store/mh1fkn1d9c9mg6hihxvjngxmn3qjmp38-ungoogled-chr
After further review, I realize that guix processes already formats
for recutils. I never think to reach for that tool, but it seems
good.
After playing around with the daemon I agree that it plays a
little too loose with processes to make this upstream material ATM
(groups? shepherd? *shrug*).
To close:
Tobias Geerinckx-Rice 写道:
However, this is FUD:
Last, you’d need to send SIGTSTP to the whole process group of
the
build, l
Hello Tobias :),
Tobias Geerinckx-Rice writes:
> Ludo',
>
> Ludovic Courtès 写道:
>> First, note that the daemon is unaware of “packages”, it only knows
>> about “derivations”.
>
> Derivations have a (file) name, which can be matched with a regex
> allowing one to, say, ‘pause libreoffice’. It wo
Ludo',
Ludovic Courtès 写道:
First, note that the daemon is unaware of “packages”, it only
knows
about “derivations”.
Derivations have a (file) name, which can be matched with a regex
allowing one to, say, ‘pause libreoffice’. It works in practice.
I do this often & it's *extremely* convenie
Hello!
I want to preface all this by saying this is not a huge priority to me.
pause/resume would just be a nice quality of life improvement.
Ludovic Courtès writes:
> First, note that the daemon is unaware of “packages”, it only knows
> about “derivations”.
Agreed. I was thinking mostly about
Hi,
John Soo skribis:
> I was looking to pause a long build today and asked on IRC how to
> accomplish pause/resume. It seems this is possible already with the
> following:
>
> kill --signal SIGSTOP|SIGCONT {pids-of-build-process-tree}
>
> There is already a command to list the processes associ
Hi Guix!
I was looking to pause a long build today and asked on IRC how to
accomplish pause/resume. It seems this is possible already with the
following:
kill --signal SIGSTOP|SIGCONT {pids-of-build-process-tree}
There is already a command to list the processes associated to guix
commands: guix
15 matches
Mail list logo