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