ps command
if I give the command ps -ef,
I get the information about all users logged onto the system and their processes. but is there any other kind of option to ps which gives me the login names of the users logged onto the system, and what kind of processes they are running? ps -ef is too long. is there any shorter kind of an option? that for example gives me the names of the processes of well-known people? if I type in ps only, it gives me two processes, ps and bash, very simple. I would like to view such a simple result, for all users logged onto the system. thanks in advance. |
ps -au seems to be doing a job like this :)
|
ps -ef | grep "username"
|
I'm sorry to only be offering you meta-help (it is in your best interests in the longer run), but 'man ps' is a good place to start for information about ps.
You may even choose to generalise that by trying the man page for almost any command that you are interested in. |
All times are GMT -5. The time now is 02:51 PM. |