On Thu, Oct 8, 2009 at 6:54 PM, amrset <[email protected]> wrote:
>
> Nigel Kersten wrote:
>> On Thu, Oct 8, 2009 at 5:04 PM, Roy Nielsen <[email protected]> wrote:
>>
>>> Hello,
>>>
>> /bin/ps -ef works on your Mac ?
>>
>> nigelk$ ps -ef || echo "I don't think this works on a Mac"
>> ps: illegal option -- f
>> usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
>>           [-u]
>>           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
>>        ps [-L]
>> I don't think this works on a Mac
>>
>>
> /bin/ps -ef works on my mac mini - 10.5.7 :)
>
> mac-mini:~ roy$ /bin/ps -ef || echo "I don't think this works on a Mac"
>  UID   PID  PPID   C     STIME TTY           TIME CMD
>    0     1     0   0   0:03.17 ??         0:05.27 /sbin/launchd
>    0    10     1   0   0:00.89 ??         0:01.11 /usr/libexec/kextd
>  .
>  .
>  .

you're right. Somehow I've got COMMAND_MODE flipped which changes
this, and so do a ridiculous proportion of my clients. I wonder what
is setting that?

$ COMMAND_MODE=legacy ps -ef
fails

$ COMMAND_MODE=unix2003 ps -ef
works



-- 
nigel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to