Shortest Script Challenge – Get PID of highest CPU process and divide it by pi(π)

Previous challenges here:

What is the shortest one liner to get the PID of the process using the highest amount of CPU on your machine and then divide that PID by pi(π)?

As per /u/Ominusx‘s comment regarding how close to pi, I’m stipulating to at least 10 decimal places (i.e. 3.141592653)

submitted by /u/allywilson
[link] [comments]

Leave a Reply