On Fri, Jun 27, 2008 at 11:51 PM, Loris Rinaldo
<[EMAIL PROTECTED]> 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.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to