Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '2nd Question to: Using ps axc is easier' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
2nd Question to: Using ps axc is easier
Authored by: aranor on Dec 06, '02 12:34:10AM

That's because you used the -c switch. That shows the name of the process itself (executable name), which for CFM apps (i.e. most Carbon apps), will show 'LaunchCFMApp'. If you leave that switch off (and put in -ww to make sure the entire line is displayed) then it shows the path to the process, and you can successfully use grep on it.

Anyway, use this to get the PID of the process you want:

ps -axww | grep -i <process name>



[ Reply to This | # ]