My dev VM was causing my machine's fan to scream! I checked my machines processes and it was my dev Ubuntu VM... After running `top` on my VM, I noced a PHP process was eating about 99% CPU.
I needed to know which process it was!
Apparently, ps
can build a process tree for you. That's amazing!
Run the following command to output a process tree to a log file.
ps faxuewwww > process-dump.log
Software engineer by profession, embedded systems tinkerer, husband, father, fantasy novel devourer, wine lush, beer and cheese connoisseur