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

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 2822

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>