Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

A script that terminates all processes owned by the current user, that have used more than 1 minute CPU time

$
0
0

How would I write a script that terminates all processes owned by the current user whose machine time (TIME column in ps output, which I believe is the CPU time) is greater than 1 minute?


Viewing all articles
Browse latest Browse all 2930

Trending Articles