How does one process we can start an executable file? How to
get the PID process, which we started?
Answer Posted / 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 |
Post New Answer View All Answers
What is the use of the tee command?
What is the use of cut command in unix?
How do you repeat a command in terminal?
How do you grep recursively?
What is the use of find command in unix?
Which command is used to restrict incoming messages?
Explain command to view process running?
Enlist some filename manipulation commands in unix.
Describe the usage and functionality of the command rm –r * in unix?
How do I run a whois command?
What is ctrl d?
What does the md command do?
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
Is grep faster than awk?
What do chmod, chown, chgrp commands do?