>     How do i get my PHP file running from the command line to show up
> as "SOMENAME" when I execute the top command from the terminal? Right
> now it will show up as "php" but I want to be able to distinguish it
> from other php  files that may be running. I've seen this done once so
> I know it's possible. I'm not sure if this is the right list to ask
> but I thought it would be worth a shot.

proctitle pecl extension is probably what you want, though read this:

https://bugs.php.net/bug.php?id=29479

Though in any case, running php yourscript.php should show up as it's
called in top/ps.

H
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show-participation

Reply via email to