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
Syntax:
lsof -c <command>
Example:
lsof -c node
This will show all processes spawned by the node
command.