Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is the difference between command "PS" and "PS -aux"

1,716 views
Skip to first unread message

Julie

unread,
Aug 19, 2004, 12:18:08 PM8/19/04
to
Hi,
I am new to Unix. I hope this is the right group for me to learn about it.
Question:
when I run PS command, I only have a few current process.
Whne I run ps -aux, I have a lot more.
Which one means the current running process?

Thanks,
Julie

Bit Twister

unread,
Aug 19, 2004, 12:27:45 PM8/19/04
to
On 19 Aug 2004 09:18:08 -0700, Julie wrote:
> Hi,
> I am new to Unix. I hope this is the right group for me to learn about it.

or read about it.
http://www.icon.co.za/~psheer/book/index.html.gz

> Question:
> when I run PS command, I only have a few current process.
> Whne I run ps -aux, I have a lot more.

try man ps

> Which one means the current running process?

Since ps is the one running look at it's line.

and try command top

Dave Hinz

unread,
Aug 19, 2004, 12:33:29 PM8/19/04
to
Both of them show current running processes, but the -aux shows
you more. Your system should have man pages installed, try
man ps
...for much more detail than I could go into here from memory.
Lots of good examples and explainations there.

Hope this helps,
Dave Hinz

p...@icke-reklam.ipsec.nu

unread,
Aug 20, 2004, 1:43:44 AM8/20/04
to

How about reading the manpage for ps before posting here.

'man ps'


Read that, if anything is unclear : post a question together with
OS type and version used.


Regards
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.

0 new messages