How do you know about running processes of a particular
user?

Answer Posted / lekshmanan s

ps -ef|grep $(whoami)
$(whoami) gives the username and that is grep(ed or
searched) in ps -ef

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does 'mkdir' command do in UNIX?

660


How do I run a whois command?

605


How can we use grep command in unix?

618


Does cp command overwrite files?

626


What is awk good for?

588






How do you grep recursively?

557


What do chgrp command do?

592


Who command in unix operating system?

664


Who command in unix?

577


Differentiate cmp command from diff command.

588


What does awk stand for?

615


What are filter commands in unix?

555


What is the use of awk command in unix?

581


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

800


Why is shebang used?

598