User Tools

Site Tools


сигналы

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сигналы [2021/10/04 08:58]
val [HUP]
сигналы [2021/10/04 09:01] (current)
val [HUP]
Line 47: Line 47:
  
 $ nohup /​usr/​bin/​ssh -N -R 200X:​localhost:​22 userX@gate.isp.un $ nohup /​usr/​bin/​ssh -N -R 200X:​localhost:​22 userX@gate.isp.un
 +userX@gate.isp.un'​s password:
 +
 <​Ctrl-Z>​ <​Ctrl-Z>​
-bg+ 
 +bg 
 <​Ctrl-D>​ <​Ctrl-D>​
 +</​code>​
 +
 +===== TSTP <​Ctrl-Z>​ =====
 +
 +  * [[https://​ru.wikipedia.org/​wiki/​SIGTSTP]]
 +
 +<​code>​
 +# kill -TSTP <PID>
 +
 +# jobs
 +
 +# bg ...
 +
 +# fg ...
 </​code>​ </​code>​
  
Line 59: Line 77:
 # kill -INT <PID> # kill -INT <PID>
 </​code>​ </​code>​
- 
  
 ===== KILL ===== ===== KILL =====
Line 82: Line 99:
  
 # pkill -STOP -u student bash # pkill -STOP -u student bash
-</​code>​ 
- 
-===== TSTP <​Ctrl-Z>​ ===== 
- 
-  * [[https://​ru.wikipedia.org/​wiki/​SIGTSTP]] 
- 
-<​code>​ 
-# kill -TSTP <PID> 
- 
-# jobs 
- 
-# bg ... 
- 
-# fg ... 
 </​code>​ </​code>​
  
Line 102: Line 105:
 # kill -CONT <PID> # kill -CONT <PID>
  
-# pkill -STOP -u student bash+# pkill -CONT -u student bash
  
 # fg %JOBID # fg %JOBID
сигналы.1633327110.txt.gz · Last modified: 2021/10/04 08:58 by val