Solved

howto see what programs are users running using ps

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 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

15 Experts available now in Live!

Get 1:1 Help Now