Solved

howto see what programs are users running using ps

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now