[prev in list] [next in list] [prev in thread] [next in thread]
List: nyphp-talk
Subject: Re: [nyphp-talk] How To Make "php" show up as "somefile" when running the top command...
From: Néstor <rotsen () gmail ! com>
Date: 2012-06-21 22:56:57
Message-ID: CAON-vCPYUgb0Uz-vqBj9J_YXTwBGnRRvfiwZKwJVFQEsgHZkbg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Can you find the php executable that you are using and crate an alias
and put it on your .xxxrc file on the bsd system.
O n my linux I put an alias line on my .bashrc file:
alias vim='/usr/sbin/gvim'
I hope this works for you.
Nestor :-)
On Thu, Jun 21, 2012 at 1:59 PM, Darryle Steplight <dsteplight@gmail.com>wrote:
> Hans,
>
> Using the "ps" command allows me to see "php filename.php" but top
> wouldn't allow me to see the filename, this is what sparked me to
> think about changing "php" to something more specific. I don't know
> why I didn't try "ps" at first.
>
> A little birdy told me that symlinking to the PHP binary will allow
> you to change "php" to whatever you use in your symlink. Makes sense
> to me, but using ps will suffice for now.
>
> On Thu, Jun 21, 2012 at 4:52 PM, Hans Zaunere <bulk@zaunere.com> wrote:
> >> 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.
> >
> > Oh, Mac...
> >
> > In theory there's BSD under there somewhere, but I don't know what
> > they've done to it. I'd imagine the COMMAND column in Mac pulls from
> > ps or top but it's hard to say. You could drop to command line and
> > try top/ps to at first know if the process name is being changed as
> > far as the OS sees it. Then the Mac GUI is another question :)
> >
> > 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
>
[Attachment #5 (text/html)]
Can you find the php executable that you are using and crate an alias<br>and put it \
on your .xxxrc file on the bsd system.<br><br>O n my linux I put an alias line on my \
.bashrc file:<br>alias vim='/usr/sbin/gvim' <br> <br>I hope this works for \
you.<br><br>Nestor :-)<br><br><div class="gmail_quote">On Thu, Jun 21, 2012 at 1:59 \
PM, Darryle Steplight <span dir="ltr"><<a href="mailto:dsteplight@gmail.com" \
target="_blank">dsteplight@gmail.com</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hans,<br> <br>
Using the "ps" command allows me to see "php filename.php" but \
top<br> wouldn't allow me to see the filename, this is what sparked me to<br>
think about changing "php" to something more specific. I don't \
know<br> why I didn't try "ps" at first.<br>
<br>
A little birdy told me that symlinking to the PHP binary will allow<br>
you to change "php" to whatever you use in your symlink. Makes sense<br>
to me, but using ps will suffice for now.<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jun 21, 2012 at 4:52 PM, Hans Zaunere <<a \
href="mailto:bulk@zaunere.com">bulk@zaunere.com</a>> wrote:<br> >> When \
I run any php file from the command line it shows up at<br> >> "php" \
under the COMMAND column on my Mac. I'm not running this on a<br> >> server \
right now, just locally.<br> ><br>
> Oh, Mac...<br>
><br>
> In theory there's BSD under there somewhere, but I don't know what<br>
> they've done to it. I'd imagine the COMMAND column in Mac pulls \
from<br> > ps or top but it's hard to say. You could drop to command line \
and<br> > try top/ps to at first know if the process name is being changed as<br>
> far as the OS sees it. Then the Mac GUI is another question :)<br>
><br>
> H<br>
> _______________________________________________<br>
> New York PHP User Group Community Talk Mailing List<br>
> <a href="http://lists.nyphp.org/mailman/listinfo/talk" \
target="_blank">http://lists.nyphp.org/mailman/listinfo/talk</a><br> ><br>
> <a href="http://www.nyphp.org/show-participation" \
target="_blank">http://www.nyphp.org/show-participation</a><br> <br>
<br>
<br>
</div></div><div class="im HOEnZb">--<br>
----------------------------------------------<br>
"May the Source be with you."<br>
</div><div class="HOEnZb"><div \
class="h5">_______________________________________________<br> New York PHP User \
Group Community Talk Mailing List<br> <a \
href="http://lists.nyphp.org/mailman/listinfo/talk" \
target="_blank">http://lists.nyphp.org/mailman/listinfo/talk</a><br> <br>
<a href="http://www.nyphp.org/show-participation" \
target="_blank">http://www.nyphp.org/show-participation</a><br> \
</div></div></blockquote></div><br>
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/show-participation
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic