Solved

howto see what programs are users running using ps

Posted on 2010-11-30
4
425 Views
Last Modified: 2012-05-10
hi Experts

how can i see what program a user is running.

i know the following already
1. ps aux | grep username but it does not give me a lot of info
2. also, i tried pstree but not happy with it too
3. the closest one i found was ps -ef | grep username

is there a better way?

Thanks Experts
0
Comment
Question by:sherrysidhu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 63 total points
ID: 34241988
ps auxwww

wmp
0
 
LVL 19

Assisted Solution

by:jools
jools earned 63 total points
ID: 34242631
I usually use ps -eaf, more out of habit than anything else.

That said, the man page for ps does describe the options fairly clearly, is there any information you wanted in particular?
0
 
LVL 34

Assisted Solution

by:Duncan Roe
Duncan Roe earned 62 total points
ID: 34242921
I like ps axfu in a full-screen window. Shows you everything, but it's easy to find what you want because of the indented ASCII-art display. Also you can see who started what.
0
 
LVL 13

Assisted Solution

by:Rowley
Rowley earned 62 total points
ID: 34246658
for a specfic user use the -fu options, e.g.

ps -fu dave
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question