When working on my Mac, sometimes I find a process in Activity Monitor and I want to know what application the process belongs to. I was introduced to this command to do just that.
In this case, I wanted to identify the Application associated with
Find what process is behind Process Name
unfsd in Activity Monitor on my Mac.
ps -aef | grep unfsd
The result was the Local by Flywheel app, that I use to run WordPress websites locally on my machine.
$ ps -aef | grep unfsd 502 36599 36500 0 8:31PM ?? 68:04.46 /Applications/Local by Flywheel.app/Contents/Resources/extraResources/unfsd -s -u -X -p -d -l 192.168.94.1 -n 60983 -m 60983 -e /var/folders/rd/g5hl121d0mqf1jb0l611lyf00000gp/T/local-by-flywheel.exports 502 38465 36374 0 7:34AM ttys004 0:00.00 grep unfsd