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


Please Help Members By Posting Answers For Below Questions

Why is awk called awk?

571


What is the search command in unix?

585


What is rmdir command?

541


Which command is used to restrict incoming messages?

580


How to display no of records in oracle using unix command?

579






What do chmod command do?

594


What is difference between grep and find command in unix?

569


What are bash commands?

582


What does awk stand for?

601


Who command in unix?

562


Explain the steps that a shell follows while processing a command.

674


What command is used to switching between users in unix?

556


Which command can you use to find the currently running process in unix server?

574


How does the system know where one command ends and another begins?

1562


Explain command to view process running?

607