Hello,
On Tue, 03 Jul 2018, Walter Dnes wrote:
> Thanks; this could be interesting. Run "ps x", grep for specific
>commands in the output, read the pid at the start of the line, and
>autofreeze those processes..
Use 'pgrep [-u UID/USERNAME] pattern' or adjust ps output to only
display what interests you, e.g.:
$ ps -eo pid,cmd
$ ps -eo pid,cmd | awk '$2 ~ /pattern/ { print $1; }'
$ ps -eo pid,cmd | awk '$2 == "string" { print $1; }'
etc.
Or try 'pidof' (which needs the exact command-name and might return
mismatches).
HTH,
-dnh
--
printk (KERN_DEBUG "Somebody wants the port\n");
linux-2.6.6/drivers/parport/parport_pc.c