All Questions
3
questions
0
votes
0
answers
819
views
autossh creating many processes
I'm using autossh to connect to a reverse SSH tunnel. I run it from startup.
However, I was facing problems in that the tunnel sometimes goes down.
I created a script which checks if the tunnel is ...
1
vote
2
answers
338
views
Kill all tasks with PID above a certain integer with bash
How may I fetch and kill all processes with a PID above e.g 1000?
Using commands like ps -A and top is fine for viewing the list of processes, but how would one only get the PIDs?
The logic of ...
20
votes
2
answers
120k
views
Restart process on linux by its pidn number with kill command, how?
Well, I want to be able to restart processes on linux and so I looked into kill manpages for that. Apparently kill -l would list all the signals I could send to a process to do what I need, which are:...