|
|||||||
| Register | Members List | New Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Registered User
Join Date: Nov 2003
Location: USA
Posts: 70
|
Unix ps command for Mac OS apps
When i run the ps command through unix it only shows up all current proceses in the unix shell. How can i get this to encompass all of mac os processes?
is this even posible? thanks BTW: Mac Rules!!! |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
ps -ax
Enjoy. ![]() |
|
|
|
#3 |
|
Registered User
Join Date: Nov 2001
Location: Plano, TX
Posts: 727
|
The ps man page says something about it only displaying processes attached to a terminal. Typing "top" will give you info about OSX processes though.
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Nov 2001
Location: Plano, TX
Posts: 727
|
Quote:
![]() |
|
|
|
|
|
|
#5 |
|
Banned
Join Date: Apr 2002
Posts: 7,417
|
>man ps
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Jun 2003
Location: UMich
Posts: 128
|
If you really want to see just OS X apps, assuming you keep them where you're supposed to, you can just pipe a grep into ps:
code: |
|
|
|
|
|
#7 |
|
Guest
Posts: n/a
|
Ok just to point out...
You don't need the "-" with the ps commands you have listed with bash. ps ax (and for memory usage) ps aux However if you want the same output as ps ax only just the process names (not the directorys) you need the "-" and the command is "ps -A" This is just because of ps's different style of options... "ps - [letters]" are Unix98 style options. "ps [letters]" are BSD-style options. Which I guess is OSX style too. "ps --[words]" are GNU style options. All get the job done... so it is up to you.. |
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|