Sponsored Content
Full Discussion: How to know if I am Pinged?
Top Forums Shell Programming and Scripting How to know if I am Pinged? Post 302795117 by Junaid Subhani on Wednesday 17th of April 2013 10:06:07 AM
Old 04-17-2013
Wrench How to know if I am Pinged?

Dear All,

I need to build a mechanism by which I can log if any node in my DC is pinging my server or not ?

The purpose is al follows:

Incase any node in my Data Center turns off , I need to have a mechanism by which I am notified that a certain node is no longer responding.

On my Solaris system , can I know if I am being pinged ?

Regards
 

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

Condition to test if a host can be pinged

I have a much larger script that takes an input file of hosts and determines if we support them and checks to ensure the FQDN coincides with our DNS. For instance, the hostname may return a different FQDN when passed to the "host" command, so I keep the value of the output of the "host" command... (4 Replies)
Discussion started by: MaindotC
4 Replies
trigger(8)						      System Manager's Manual							trigger(8)

Name
       trigger - trigger a target node to request a down-line load

Syntax
       /etc/trigger node [ options ]

Description
       The command triggers the bootstrap mechanism of a target node, causing the target to request a down-line load.  Once a target node is trig-
       gered, it loads itself in whatever manner its primary loader is programmed to operate.  The target node could request a down-line load from
       the host that just triggered it or from another adjacent node, or the target node could load itself from its own mass storage device.

       The  node argument is the name or address of the target node.  A node name consists of from one to six alphanumeric characters.	For single
       networks, a node address consists of a decimal integer (1-1023).  For multiple networks, a node address consist	of  two  decimal  integers
       (n.n), where the first indicates the network number (1-63), and the second indicates the node address (1-1023).

       The  command requires the identification of the service circuit over which the load is performed, the Ethernet hardware address of the tar-
       get node, and the service password needed to gain access to the target.	This information is included in the nodes database entry  for  the
       target node.  A node entry is defined with the command.	For further information, see Alternatively, you can choose not to include a target
       node's service password in the nodes database for security reasons.  You must therefore specify this value in the command line by using the
       -p option.

Options
       -p     Uses the specified service and password (next arguments) in accessing the target node.

Examples
       This command triggers node Bangor to issue a down-line load request:
       # /etc/trigger bangor <RET>

See Also
       mop_mom(8), addnode(8), load(8), remnode(8), getnode(8), ccr(8)
       Guide to Local Area Transport Servers

																	trigger(8)
All times are GMT -4. The time now is 05:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy