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 number comparison and task killing is not really an issue. It's just in the question to describe what I wish to accomplish more clearly.