how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Hi,
I have a system under test, and I use a script that does a ps.
The output, is in the following format, it's basically the timestamp, followed by the rss and vsize.
09:03:57 68404 183656 68312 181944 69860 217360 67536 182564 69072 183172 69032 199276
09:04:27 68752 183292 70000 189020... (5 Replies)
I have a file with the following content.
> cat /tmp/internetusage.txt
6709.296322 30000 2/7/2010 0.00I am using the following awk command to calculate a percentage from field 1 and 2 from the file.
awk '{ print $1/$2*100 }' /tmp/internetusage.txt
This outputs the value "22.3643" as a... (1 Reply)
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Hi All,
I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form
1). Intercomponents Checking
Passed: All Server are passed.
======================================================================
2). OS version Checking... (9 Replies)
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
In our environment we used to lot of events for ntp issues. I am unable to find the what needs to consider here. :(
ntpq -p fields.
remote refid st t when poll reach delay offset jitter
---------- Post updated at 05:13 AM ---------- Previous update was at 04:47 AM... (1 Reply)
Hi
i an not able to understand what below command in saying in its O/P
what i understand is the astrick(*) one is acting as a ntp master.
but not able to understand what insane and sys.peer here means.
# ntpq
ntpq> pe
remote refid st when poll reach delay ... (2 Replies)
Problem with external aerial and galleonm time server just turned back on. I'm guessing this is telling me its not worked for 9 days?
Should I now force a poll or wait?
$ntpq -p
remote refid st t when poll reach delay offset disp... (2 Replies)
Discussion started by: psychocandy
2 Replies
LEARN ABOUT MOJAVE
ntpq
NTPQ(1) General Commands Manual NTPQ(1)NAME
ntpq - standard NTP query program
SYNOPSIS
ntpq [-inp] [-c command] [host] [...]
DESCRIPTION
The ntpq utility program is used to monitor NTP daemon ntpd operations and determine performance. It uses the standard NTP mode 6 control
message formats defined in Appendix B of the NTPv3 specification RFC1305. The same formats are used in NTPv4, although some of the vari-
ables have changed and new ones added. The description on this page is for the NTPv4 variables.
The program can be run either in interactive mode or controlled using command line arguments. Requests to read and write arbitrary vari-
ables can be assembled, with raw and pretty-printed output options being available. The ntpq can also obtain and print a list of peers in a
common format by sending multiple queries to the server.
If one or more request options is included on the command line when ntpq is executed, each of the requests will be sent to the NTP servers
running on each of the hosts given as command line arguments, or on localhost by default. If no request options are given, ntpq will
attempt to read commands from the standard input and execute these on the NTP server running on the first host given on the command line,
again defaulting to localhost when no other host is specified. ntpq will prompt for commands if the standard input is a terminal device.
ntpq uses NTP mode 6 packets to communicate with the NTP server, and hence can be used to query any compatible server on the network which
permits it. Note that since NTP is a UDP protocol this communication will be somewhat unreliable, especially over large distances in terms
of network topology. ntpq makes one attempt to retransmit requests, and will time requests out if the remote host is not heard from within
a suitable timeout time.
Note that in contexts where a host name is expected, a -4 qualifier preceding the host name forces DNS resolution to the IPv4 namespace,
while a -6 qualifier forces DNS resolution to the IPv6 namespace.
OPTIONS
Command line options are described following. Specifying a command line option other than -i or -n will cause the specified query (queries)
to be sent to the indicated host(s) immediately. Otherwise, ntpq will attempt to read interactive format commands from the standard input.
-4 Force DNS resolution of following host names on the command line to the IPv4 namespace.
-6 Force DNS resolution of following host names on the command line to the IPv6 namespace.
-c The following argument is interpreted as an interactive format command and is added to the list of commands to be executed on the
specified host(s). Multiple -c options may be given.
-i Force ntpq to operate in interactive mode. Prompts will be written to the standard output and commands read from the standard input.
-n Output all host addresses in dotted-quad numeric format rather than converting to the canonical host names.
-p Print a list of the peers known to the server as well as a summary of their state. This is equivalent to the peers interactive com-
mand.
SEE ALSO
/usr/share/doc/ntp-doc/html/ntpq.html for the full documentation.
Network Time Protocol November 9, 2007 NTPQ(1)