Solved

howto see what programs are users running using ps

Posted on 2010-11-30
4
422 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

776 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