I cant find way to monitor single linux terminal command.
I want to monitor this command:
php index.php parse
The problem is this process works too short to get pid so I hope there is something like this:
singlecommandmonitor php index.php parse
singlecommandmonitor is software witch monitors ram, cpu ect. usage and
php index.php parse is command I want to monitor. It should work similar to sudo, but instead of giving root permissions it should monitor resources.
I hope someone will understand what I need :)
Thank you for answers.