1833420 Members
2881 Online
110052 Solutions
New Discussion

Process name for rndc

 
SOLVED
Go to solution
Ryan Bernard
Frequent Advisor

Process name for rndc

Hi

Anybody know what is the process / daemon name for rndc? Will the pid be called rndc.pid in /var/run/ ?

Thanks in advance~
10 REPLIES 10
Autocross.US
Trusted Contributor

Re: Process name for rndc

This should help:
http://docs.hp.com/en/B3921-90010/rndc.1.html

I drive way too fast to worry about calories.
Steven E. Protter
Exalted Contributor

Re: Process name for rndc

Shalom,

This is part of the DNS/Bind group of daemons.

http://docs.hp.com/hpux/pdf/5969-4360.pdf

http://marc.info/?l=bind-announce&m=104674495710810&w=2

I think it should be controlled by named and named as such.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ryan Bernard
Frequent Advisor

Re: Process name for rndc

Thanks for your help~! But don't think the name of the rndc process is found in the links.

For named, it will be named.pid in /var/run/ . Not too sure about rndc.

Heironimus
Honored Contributor
Solution

Re: Process name for rndc

rndc is a command used to control a daemon, not a daemon itself. rndc is used to control a running copy of named. The process name during its (very brief) run time will simply be "rndc" and it won't have a PID file because it will exit as soon as it's done.
Ryan Bernard
Frequent Advisor

Re: Process name for rndc

Thanks for the information. The reason I asking is because if the rndc hang, I will need to do a tusc for troubleshooting purposes. So need to know where to find the process ID.

Steven E. Protter
Exalted Contributor

Re: Process name for rndc

Shalom,

Best place to find the PID is in the ps -ef listing.

ps -ef | grep named

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Heironimus
Honored Contributor

Re: Process name for rndc

You'll have to use ps and grep to get the PID. rndc sends commands to named over TCP and then exits. If it's hanging it may be waiting for the connection to open.
Ryan Bernard
Frequent Advisor

Re: Process name for rndc

So when executing rndc, it won't show up in ps -ef |grep rndc?

Dennis Handly
Acclaimed Contributor

Re: Process name for rndc

>when executing rndc, it won't show up in ps -ef |grep rndc?

When a process executes, it should show up in ps(1), unless it is finishes quickly. See rndc(1):
http://docs.hp.com/en/B2355-60130/rndc.1.html
Ryan Bernard
Frequent Advisor

Re: Process name for rndc

Thanks to all~!