Jack van de Vossenberg <[EMAIL PROTECTED]> writes:

> 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.

nohup does not produce the output by itself, it's done directly by the
executed command.  In fact, nohup just sets up the signals and
redirection and the replaces itself by directly executing the command.

> My request is: could the output be preceded by
> 1) the name/PID of the process that produces the output.
> 2) the time that the output was produced.

There is no way to control the output after the command is executed.  If
you want to know which command produces which output redirect it
manually to different files.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to