Skip to main content

You can use kill to stop the process.

For a 'polite' stop to the process (prefer this for normal use), send SIGTSTPSIGTSTP:

kill -TSTP [pid] 

For a 'hard' stop, send SIGSTOPSIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONTSIGCONT:

kill -CONT [pid] 

You can use kill to stop the process.

For a 'polite' stop to the process (prefer this for normal use), send SIGTSTP:

kill -TSTP [pid] 

For a 'hard' stop, send SIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONT:

kill -CONT [pid] 

You can use kill to stop the process.

For a 'polite' stop to the process (prefer this for normal use), send SIGTSTP:

kill -TSTP [pid] 

For a 'hard' stop, send SIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONT:

kill -CONT [pid] 
fixed a grammar error; removed reference to other answer from first sentence (it's a bit odd now that the answer is below this one)
Source Link

As maxschlepzig said you couldYou can use kill to stop the process.

For a 'polite' stop to the process (prefer this for normal use), sentsend SIGTSTP:

kill -TSTP [pid] 

For a 'hard' stop, sentsend SIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONT:

kill -CONT [pid] 

As maxschlepzig said you could use kill to stop the process.

For a 'polite' stop to the process (prefer this for normal use), sent SIGTSTP:

kill -TSTP [pid] 

For a 'hard' stop, sent SIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONT:

kill -CONT [pid] 

You can use kill to stop the process.

For a 'polite' stop to the process (prefer this for normal use), send SIGTSTP:

kill -TSTP [pid] 

For a 'hard' stop, send SIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONT:

kill -CONT [pid] 
Changed confusing wording. end is not the same as stop.
Source Link

As maxschlepzig said you could use kill to stop the process.

For a 'polite' endstop to the process (prefer this for normal use), sent SIGTSTP:

kill -TSTP [pid] 

For a 'hard' killstop, sent SIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONT:

kill -CONT [pid] 

As maxschlepzig said you could use kill

For a 'polite' end to the process (prefer this for normal use), sent SIGTSTP:

kill -TSTP [pid] 

For a 'hard' kill, sent SIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONT:

kill -CONT [pid] 

As maxschlepzig said you could use kill to stop the process.

For a 'polite' stop to the process (prefer this for normal use), sent SIGTSTP:

kill -TSTP [pid] 

For a 'hard' stop, sent SIGSTOP:

kill -STOP [pid] 

Note that if the process you are trying to stop by PID is in your shell's job table, it may remain visible there, but terminated, until the process is fg'd again.

To resume execution of the process, sent SIGCONT:

kill -CONT [pid] 
Move all knowledge related to answer into actual answer (rather than keeping info in the comments) and add my experience with processes being terminated, but remaining in job table.
Source Link
Loading
replace non-standard anmd nonportable kill command line by correct one
Source Link
schily
  • 19.8k
  • 5
  • 41
  • 61
Loading
Updated response with the change suggested in the comments
Source Link
Loading
Source Link
Steve Burdine
  • 6.5k
  • 6
  • 28
  • 21
Loading