Q1o you have ntpdate peers in /etc/ntp/step-tickers?
Ans: Yes.The name of GPS Clock device is mentioned their.
Q2: Is your system a virtual host (which one)?
Ans: Do you mean to Say whether it is a virtual machine or not?
Is so then, we are having mix setup. The machine from where I am giving you the command output of Q3 is a Virtual Machine hosted in VM (VMWare Esxi 6.0.0)
and there are other machines (RHEL 5.9 basesd) whish are not VM are also having the same observations asked in the questions.
Q3: Please give output of:
Ans:
Last edited by Don Cragun; 02-28-2017 at 02:38 AM..
Reason: Add CODE and ICODE tags.
For vertitas netbackup 6.0
I have media server :Solaris
Client server: Windows
I want to restart the netbackup service on the media server .
plz suggest ASAP. (1 Reply)
Hello, I am trying to write a script which will monitor few processes(winbind) for cpu utilization, If the process consumes more than say 99% cpu for 3 minutes, I want to run a script to restart the service which forks the process.
---------- Post updated at 11:21 AM ---------- Previous update... (5 Replies)
Hi All,
May i please know if it is possible to write a script to check the log messages and automatically restart a service if it is failed or it is stopped.
Appreciate your suggestions.
Thanks in advance.
regards,
Eajaz (2 Replies)
Hi All,
Requirement : I need to check for some services in my environment and restart the service if its not running.
I have written script to check the script if its running or not. While if its not running i need to restart it using ./start command. But it will ask for password prompt and i... (4 Replies)
Hey
Excuse me if this question is repeated everywhere but I am still new with scripting and I couldn't apply what I found to my case :confused::confused:
I am trying to run a rec process on a ssh client and at the same time play a file from my computer so i tried this
#!/bin/bash
echo... (3 Replies)
Hi,
Beside using crontab, what is other application we can set it? Normally I check using command crontab -l.
Any other path I need to check? Please guide me.
Thanks. (2 Replies)
Hello,
I'l like to create a script that restart a service (/etc/init.d/httpd restart) and also check if after restart the service is actually running. Sometimes it happen that at the first try the service fails to restart.
Thanks (2 Replies)
When I update the server with new SSL certificates, and restart httpd, I get errors :
# service httpd restart
Stopping httpd:
rm: cannot remove `/usr/local/apache2/bin/httpd/logs/httpd.pid': Not a directory
Starting httpd: ... (0 Replies)
I'm using a debian variant. My system clock already auto synchronizes. I'd like to have some sort of alert or log entry if the time is ever off by more than a particular amount. My first choice is to have a new file created on the desktop each day that there is a slip greater than the specified... (4 Replies)
Discussion started by: jutnobs
4 Replies
LEARN ABOUT SUNOS
ntptrace
ntptrace(1M) System Administration Commands ntptrace(1M)NAME
ntptrace - trace a chain of NTP hosts back to their master time source
SYNOPSIS
/usr/sbin/ntptrace [-vdn] [-r retries] [-t timeout] [server]
DESCRIPTION
ntptrace determines where a given Network Time Protocol (NTP) server gets its time from, and follows the chain of NTP servers back to
their master time source. If given no arguments, it starts with localhost.
OPTIONS
The following options are supported:
-d Turns on some debugging output.
-n Turns off the printing of host names; instead, host IP addresses are given. This may be necessary if a nameserver is down.
-r retries Sets the number of retransmission attempts for each host.
-t timeout Sets the retransmission timeout (in seconds); default = 2.
-v Prints verbose information about the NTP servers.
EXAMPLES
Example 1: Sample Output From the ntptrace Command
The following example shows the output from the ntptrace command:
% ntptrace
localhost: stratum 4, offset 0.0019529, synch distance 0.144135
server2.bozo.com: stratum 2, offset 0.0124263, synch distance 0.115784
usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB'
On each line, the fields are (left to right):
o The server's host name
o The server's stratum
o The time offset between that server and the local host (as measured by ntptrace; this is why it is not always zero for localhost)
o The host's synchronization distance
o The reference clock ID (only for stratum-1 servers)
All times are given in seconds. Synchronization distance is a measure of the goodness of the clock's time.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWntpu |
+-----------------------------+-----------------------------+
SEE ALSO xntpd(1M), attributes(5)BUGS
This program makes no attempt to improve accuracy by doing multiple samples.
SunOS 5.10 19 Mar 1998 ntptrace(1M)