LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ps command? (https://www.linuxquestions.org/questions/linux-newbie-8/ps-command-403931/)

lilili 01-16-2006 04:31 AM

ps command?
 
why do when i have opera running and i type ps in konsole i only see bash and ps?

Baldrick65 01-16-2006 04:39 AM

Try ps aux and see if that helps. Try man ps for in-depth details.

Baldrick

Boby 01-16-2006 06:03 AM

Try this ;)

ps -ux | grep opera

And like Baldrick65 mentioned, read the manual :study:
man ps
ps --help

Greetz, Boby.

lilili 01-22-2006 05:10 PM

Ok I see
I have another linux machine in the house. It's running dsl and when I ps, it list all the running process so I think when I ps in slackware it should give me the same result, instead of needing aux
Thanks

jrdioko 01-22-2006 05:33 PM

The other box is not using the intended behavior for ps. In "man ps":

Code:

By default, ps selects all processes with the same effective user ID
(EUID) as the curent user and associated with the same terminal as the
invoker.

If you'd like it to work otherwise, you can always create an alias. I'd guess that's what the other box is doing.

tmillard 01-22-2006 08:32 PM

Bash Alias
 
Its possible your Slackware has a BASH alias setup so when you type 'ps' it translates it to 'ps ax'.

Try typing alias in a terminal window (like konsole).


All times are GMT -5. The time now is 11:45 AM.