Find process by command name
9 April 2023 (Updated 3 August 2025)
Syntax:
lsof -c <command>
Example:
lsof -c node
This will show all processes spawned by the node
command.
Tagged:
Unix processes
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment