Hi Hans, When I run any php file from the command line it shows up at "php" under the COMMAND column on my Mac. I'm not running this on a server right now, just locally.
On Thu, Jun 21, 2012 at 4:42 PM, Hans Zaunere <b...@zaunere.com> wrote: >> 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 -- ---------------------------------------------- "May the Source be with you." _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation