Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How does one process we can start an executable file? How to
get the PID process, which we started?

Answers were Sorted based on User's Feedback



How does one process we can start an executable file? How to get the PID process, which we started?..

Answer / vimal

ps -ef|grep username


gives the process started by the user.

Is This Answer Correct ?    6 Yes 1 No

How does one process we can start an executable file? How to get the PID process, which we started?..

Answer / akash

We can use

ps -u yourusername

this will list all the processes that are started by you.

Is This Answer Correct ?    3 Yes 3 No

How does one process we can start an executable file? How to get the PID process, which we started?..

Answer / hari

to start a process
chkconfig nttpd on
to restart daemon
chkconfig nttpd restart

find the pid of daemon

pidof -s processname
pidof -s nttpd
pidof -s cupsd
pidof -s httpd

Please check it

Is This Answer Correct ?    0 Yes 0 No

How does one process we can start an executable file? How to get the PID process, which we started?..

Answer / sangeetha

We can start a new process from an existing process by
calling the function system("new process &"). The & sign
indicates the new process will run in background. Then
after this we can use the "ps" command to get the PID of
the new process.

Is This Answer Correct ?    0 Yes 0 No

How does one process we can start an executable file? How to get the PID process, which we started?..

Answer / reddy

ps -ef|grep java

excute the above comand.......

Is This Answer Correct ?    6 Yes 7 No

How does one process we can start an executable file? How to get the PID process, which we started?..

Answer / hari

ps -aux | grep 'process-name'

Pls check it is a guess
Hari

Is This Answer Correct ?    0 Yes 1 No

Post New Answer



More Unix Commands Interview Questions

What is time_t?

0 Answers  


Enumerate some of the most commonly used network commands in unix?

0 Answers  


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?

5 Answers  


in UNIX ,What is the command to view contents of a large error log file?

7 Answers  


what is the use of "test" command in unix?

4 Answers  






What are reported commands?

0 Answers  


what are wild cards?

2 Answers  


what are the different operating systems available?

3 Answers  


distinguish between interrupts and exceptions?

2 Answers   Infosys, Wipro,


What is unix command?

0 Answers  


What is the difference between udp and tcp?

2 Answers   HCL, TCS,


who to change the duplex setting of network interface in command line

1 Answers  






Categories