[CentOS] Where to look or command

Will McDonald wmcdonald at gmail.com
Fri Nov 25 17:10:33 UTC 2005


On 25/11/05, Mark Belanger <mark_belanger at ltx.com> wrote:
> Mark Belanger wrote:
>  > Sam Drinkard wrote:
>  >
>
>  >
>  > After the process starts, strace it:
>  >
> Correction:
> strace -p `ps -ef |grep YourProc |grep -v grep | awk '{print $2}'`

'course, you can always do...

strace -p `ps -ef |grep [Y]ourProc | awk '{print $2}'`

... if we're being perfectionist. :)

Will.



More information about the CentOS mailing list