Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

process start question

Status
Not open for further replies.

dandan123

Technical User
Sep 9, 2005
505
0
0
US
When I do a ps -ef I find this among other things -

root 574 573 0 May 20 ? 0:01 /usr/sbin/ntpdate -s -w 172.10.xxx.xx

How do I find out how this process was initiated ? I've searched through /etc/rc1.d /etc/rc2.d and /etc/rc3.d and did not find anything.
 
What version of Solaris is it?

On my Solaris 9 or older, the file should be in [tt]/etc/init.d/xntpd[/tt]. And there should be a hard link [tt]/etc/rc2.d/S74xntpd[/tt].

If it's Solaris 10, it's managed by the service management facility (smf) under the service identifier [tt]svc:/network/ntp:default[/tt]. Type [tt]svcs[/tt] to see if it's there.
 
[tt]/etc/init.d/xntp[/tt] does run ntpdate, if you have defined a server in /etc/inet/ntp.conf, before starting xntpd.

If you have Solaris 10, smf runs ntp as network/ntp.
 
Thanks for your responses.

It's /etc/init.d/xntpd (not xntp) by the way.

But it looked as if someone started it manually and pointed it to the wrong ip address.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top