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

Answers were Sorted based on User's Feedback



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

Answer / jsdkar

ps -u <uid>

Is This Answer Correct ?    14 Yes 0 No

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

Answer / lipsa naik

ps -ef | grep <user>

Is This Answer Correct ?    11 Yes 0 No

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

Answer / booger

ps -fu <user>

Is This Answer Correct ?    6 Yes 1 No

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

Answer / sujay kumar

ps -U username

ps U username

Is This Answer Correct ?    6 Yes 1 No

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

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

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

Answer / hanumantha rao m

ps -aef

Is This Answer Correct ?    3 Yes 0 No

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

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

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

Answer / bhaskar

watch "ps -aef|grep "driver.pl""

Is This Answer Correct ?    0 Yes 0 No

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

Answer / manikandant

ps u | grep <User>

Is This Answer Correct ?    0 Yes 2 No

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

Answer / sakthi

ps -ef

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Unix Commands Interview Questions

How to get the last ten lines of a file using awk utility?

1 Answers   Infosys,


How do you remove a crontab file?

6 Answers  


What are the differences among a system call, a library function, and a unix command?

0 Answers  


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

0 Answers  


In UNIX, what is the command to kill a process?

10 Answers  






How to rename files and folders?

7 Answers   IBM, Oracle,


How can i know my Filesystem and its current usage in my prod UNIX system?

4 Answers   HCL, IBM,


distinguish between physical addresses and logical address?

23 Answers   College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

0 Answers  


describe the escaping sequence characteres in unix

1 Answers  


What command will change your prompt to myprompt?

0 Answers  


What is the command to compare two files in unix?

0 Answers  


Categories