[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 430
  • Last Modified:

howto see what programs are users running using ps

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
sherrysidhu
Asked:
sherrysidhu
4 Solutions
 
woolmilkporcCommented:
ps auxwww

wmp
0
 
joolsCommented:
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
 
Duncan RoeSoftware DeveloperCommented:
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
 
RowleyCommented:
for a specfic user use the -fu options, e.g.

ps -fu dave
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now