[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nohup feature request / Please fwd to Jim Meyering
From: |
Pádraig Brady |
Subject: |
Re: nohup feature request / Please fwd to Jim Meyering |
Date: |
Thu, 07 Jun 2007 19:20:08 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061116) |
Jack van de Vossenberg wrote:
> Dear Jim
>
> I use nohup (ubuntu linux), and I have a feature request.
> Often I run more than one program at a time under nohup, and some of
> these programs run for at least a couple of hours.
>
> Every now and then nohup writes the output to nohup.out, which I find
> very useful.
>
> My request is: could the output be preceded by
> 1) the name/PID of the process that produces the output.
That's not possible unfortunately, as nohup just
sets things up, and replaces itself with the command.
It might suffice to have separate files for each command,
which you can specify by using redirection:
nohup nice command1 >command1.out&
nohup nice command2 >command2.out&
Personally I much prefer using screen to nohup:
http://www.pixelbeat.org/docs/screen/
> 2) the time that the output was produced.
Hrm, if your command output was sufficiently terse,
perhaps you could use the system logging facility for that?
nohup nice command1 | logger&
Pádraig.
- nohup feature request / Please fwd to Jim Meyering, Jack van de Vossenberg, 2007/06/07
- Re: nohup feature request / Please fwd to Jim Meyering, Andreas Schwab, 2007/06/07
- Re: nohup feature request / Please fwd to Jim Meyering,
Pádraig Brady <=
- Re: nohup feature request / Please fwd to Jim Meyering, Phillip Susi, 2007/06/07
- Re: nohup feature request / Please fwd to Jim Meyering, Bob Proulx, 2007/06/07
- Re: nohup feature request / Please fwd to Jim Meyering, Phillip Susi, 2007/06/12
- Re: nohup feature request / Please fwd to Jim Meyering, Bob Proulx, 2007/06/12
- Re: nohup feature request / Please fwd to Jim Meyering, John Cowan, 2007/06/12
- Re: nohup feature request / Please fwd to Jim Meyering, Phillip Susi, 2007/06/13
- Re: nohup feature request / Please fwd to Jim Meyering, Bob Proulx, 2007/06/13
- Re: nohup feature request / Please fwd to Jim Meyering, Phillip Susi, 2007/06/14
- Re: nohup feature request / Please fwd to Jim Meyering, Micah Cowan, 2007/06/14
- Re: nohup feature request / Please fwd to Jim Meyering, Phillip Susi, 2007/06/14