bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nohup cannot be interrupted


From: James Youngman
Subject: Re: nohup cannot be interrupted
Date: Sat, 28 Jun 2008 15:34:20 +0100

On Fri, Jun 27, 2008 at 11:51 PM, Loris Rinaldo
<address@hidden> wrote:
> I think there should be anther option for the nohup command, in order to
> quit a command previously launched:
>
> nohup OPTION
> --quit: terminates previously launched nohup command)
>
> I launched a 100GB copy command with nohup and I can't figure out how to
> cancel this operation.

In exactly the way one stops any other Linux or Unix program - with
the "kill" command.   The manual page will explain how to use it
(obviously, you need to select a signal other than SIGHUP).   One uses
"ps" to find the right process ID.  When a process is doing disk I/O,
it can't be interrupted within an individual I/O request.   However,
most programs split large I/O tasks up into lots of smaller chunks
(perhaps 32KB reads and writes, for example) so this is not very
likely to pose a problem in your case.

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]