10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Medel : 9117-MMC
OS: AIX 6.1
Patch level : 6100-07-04-1216
Hacmp version : HACMP v 6.1.0.8
Oracle : 11.2.0.3 RAC
Node : 2 node
Dear, my one node server has been restarted early this morning, So, i tried to start HA and Oracle database.
after that, the follow error appears at the node... (1 Reply)
Discussion started by: tomato00
1 Replies
2. Shell Programming and Scripting
I was wondering if I could get some feedback on my script to grab time from our MDM... I blocked out all of the important stuff. I really appreciate any guidance, since I am long out of practice.
#!/bin/bash
serial=$1
# get last seen value of ipad
lastseen=$(curl -s -X "GET"... (11 Replies)
Discussion started by: andysensible
11 Replies
3. Shell Programming and Scripting
It takes 6 hrs for a 90 GB zip file that i am copying / transferring from serverA onto serverB.
scp user1@serverA:/opt/setup/cash.zip .
Output:
cash.zip 21% 19GB 4.7MB/s 4:11:46 ETA
uname -a
SunOS serverB 5.11 11.2 sun4v sparc sun4vCan you please suggest if i could do... (11 Replies)
Discussion started by: mohtashims
11 Replies
4. AIX
Hello,
Please help me with a script with which I can check long running processes on the database server and the os is AIX.
Best regards,
Vishal (5 Replies)
Discussion started by: Vishal_dba
5 Replies
5. Shell Programming and Scripting
echo "1337124526" | perl -pe 's/(\d+)/easttime($1)/e'
the above gives a date and time.
how can i subtract the date and time given by this command, from the current present date?
can this be a one liner or as close to a one-liner as possible? (1 Reply)
Discussion started by: SkySmart
1 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
We have 20 jobs are scheduled.
In that one of our job is taking long time ,it's not completing.
If we are not terminating it's running infinity time actually the job completion time is 5 minutes.
The job is deleting some records from the table and two insert statements and one select... (7 Replies)
Discussion started by: ajaykumarkona
7 Replies
7. AIX
Hi,
I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that?
Thanks,
Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies
8. Shell Programming and Scripting
Dear everyone...
thanks to this forum I am able to do everyday more and more complex scripts...but now I come up with problem with optimisation..
problem 1 - optimise:
here is my code:
while read number
do
nawk -F "|" -v... (8 Replies)
Discussion started by: abdulaziz
8 Replies
9. Shell Programming and Scripting
Hi,
I have here a script which is used to purge older files/directories based on defined purge period. The script consists of 45 find commands, where each command will need to traverse through more than a million directories. Therefore a single find command executes around 22-25 mins... (7 Replies)
Discussion started by: sravicha
7 Replies
10. Linux
Hi,
I am trying to login using ssh on Red Hat Linux 5 server,
The password appears immediately but after I enter the password it takes about 90 seconds to login completely.
Please suggest what changes require?
Regards,
Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies
ntp(n) Tnm Tcl Extension ntp(n)
__________________________________________________________________________________________________________________________________________________
NAME
ntp - Retrieve NTP status information.
_________________________________________________________________
DESCRIPTION
The Network Time Protocol (NTP) (RFC 1119, RFC 1305) allows to synchronize computer clocks by exchanging NTP messages. The ntp command
allows to retrieve control variables from NTP peers.
NTP COMMAND
ntp [options]
Invoking the ntp command with options but without any command arguments allows to retrieve and change the default values. See the
description of supported options below. Default values are bound to a Tcl interpreter which allows to have multiple Tcl interpreter
with different defaults.
ntp [options] host arrayName
The ntp command sends a NTP version 3 mode 6 request to host and writes status information into the Tcl array arrayName. After suc-
cessful completion, the array will contain the following elements (RFC 1305):
peer.delay
This is a signed fixed-point number indicating the roundtrip delay of the peer clock relative to the local clock over the
network path between them, in seconds.
peer.dispersion
This is a signed fixed-point number indicating the maximum error of the peer clock relative to the local clock over the net-
work path between them, in seconds.
peer.offset
This is a signed, fixed-point number indicating the offset of the peer clock relative to the local clock, in seconds.
peer.precision
This is a signed integer indicating the precision of the various clocks, in seconds to the nearest power of two.
peer.reach
This is a shift register used to determine the reachability status of the peer, with bits entering from the least significant
(rightmost) end. A peer is considered reachable if at least one bit in this register is set to one.
peer.srcadr
This is the IP address of the peer.
peer.stratum
This is an integer indicating the stratum of the local clock.
peer.valid
This is an integer counter indicating the valid samples remaining in the filter register. It is used to determine the reacha-
bility state and when the poll interval should be increased or decreased.
sys.peer
This is a selector identifying the current synchronization source.
sys.precision
This is a signed integer indicating the precision of the various clocks, in seconds to the nearest power of two.
sys.refid
This is a 32-bit code identifying the particular reference clock.
sys.rootdelay
This is a signed fixed-point number indicating the total roundtrip delay to the primary reference source at the root of the
synchronization subnet, in seconds.
sys.rootdispersion
This is a signed fixed-point number indicating the maximum error relative to the primary reference source at the root of the
synchronization subnet, in seconds.
sys.stratum
This is an integer indicating the stratum of the local clock
sys.system
A textual description of the system type.
NTP OPTIONS
The following options control how NTP requests are send and how the ntp command deals with lost NTP packets.
-timeout time
The -timeout option defines the time the ntp command will wait for a response. The time is defined in seconds with a default of 2
seconds.
-retries number
The -retries option defines how many times a request is retransmitted during the timeout interval. The default number of retries is
2.
SEE ALSO
scotty(1), Tnm(n), Tcl(n)
AUTHORS
Erik Schoenfelder <schoenfr@gaertner.de>
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm ntp(n)