is there a way to kill all new processes that appear in watch -n 0 ps -A -o cmd -o pid by new processes i mean everything after the PC start by 30 seconds, every command which did not run in that 30 second to be considered as new. want i want is to make kill -STOP (ID) for all new processes. and why would i want to do that? >because i want to make a system that block all new processes and send alert to the user if he/she wants to resume the process or not. i hope if someone help me, thanks,
Responses (3)
Likely yes to some extent, but it would be unwise.
There's an open source code program called task blocker which blocks processes selectively, so modifying it to a prompt should be doable with the right knowledge.
There's a process manager called daphne which allegedly can trigger certain rules when a process runs, to limit intrusions.
The real question is what direction precisely you have in mind: Virus, possibly, either on the receiving or sending end. Vexation with windows 10, justifiable yet ineffectual since the most savvy user still wouldn't really have a clue regarding background processes. Debug, you're asking the wrong forum.
A process that is blocked is one that is waiting for some event, such as a resource becoming available or the completion of an I/O operation. In a multitasking computer system, individual tasks, or threads of execution, must share the resources of the system In this case "blocking" often is seen as not wanted.
Bad bot.
Educational yet entirely irrelevant.