How do you know about running processes of a particular
user?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / punit sharma
ps -u <username> can provide the processes running for the
user.
ps -fu <username> can provide the full listing of the
processes running for the user
Is This Answer Correct ? | 1 Yes | 1 No |
distinguish between interrupts and exceptions?
How to delete a directory containing files and folders?
Is command prompt unix?
if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
How to remove a crontab file?
how will u execute a file in unix
what are the differences between CUI and GUI interfaces?
52 Answers College School Exams Tests, HCL, HP, IBM, IBMR, NIIT, Talco, Wipro,
what is the command to find out the difference between files and folders?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
What is in grep command?
How to get a particular string as your prompt ? Give syntax of that command?