Okay. Since ping -c 1 -w 5 (where -c is the number of ping attempts and -w is the timeout in seconds) seems to be the AIX way to ping and limit the time it takes to complete the operation:
Hey all. I have a long list of IP addresses I want to ping. The IP's are located in a flat file "ping_info.dat".
I was wondering what the best way to go about this would be. Can someone help me out? (2 Replies)
Hi,
How to ping an ip from an unix machine. Can you please let me know the exact command. I used and i got the below error
ping 171.18.17.2
bash: ping: command not found
Thanks n regards
Ammu (1 Reply)
Hello members,
I have some doubts on how to write a script that can reports success / failure of a batch job ?
1. Run a batch job:
2. Wait and search for a particular string in the Log file:
tail -f log01*.txt | egrep -v "^SUCCESSFUL"
echo "continue with the other tasks"
... (1 Reply)
Keep in mind that I haven't done Perl scripting for a LONG time, so I'm quite rusty.
This is what I would like to do:
- using fork, create 3 or 4 processes to read 3 or 4 different text documents containing server names or IP addresses
- in each of those processes, Perl will ping each of those... (7 Replies)
how can you ping a domain and store the ip?
like given a url in a variable $url
how can i ping it?
also how can i find the local server's ip address on a cpanel server?
(i have multiple servers and didnt want to hard code it in)
(basically i want to check the domain accounts on the server,... (11 Replies)
Hi all!!
Im using ksh and my OS is Linux.
I want to run a script for ten minutes, starting from my current system time.
How to acheive this?
Any help appreciated.
Thanks in advance (5 Replies)
Hi,
I am running a schedular script which will check for a specific time and do the job. I wanted to run this continuously. Meaning even after the if condition is true and it executes the job, it should start running again non stop.
I am using below script
#!/bin/sh
start:
while true
do... (10 Replies)
Hi,
I want to write a script which continuously checking status of a script running in background by nohup command. And if same script is not running then immediately start the script...please help..
i am using below command to run script
nohup system_traps.sh &
but in some... (9 Replies)
I need to ping websites and I need to see which one has the highest delay.
My problem is I need to extract the name Facebook and the time=74.0 ms using awk. I need help doing this please...
PING facebook.com (173.252.90.36) 56(84) bytes of data.
64 bytes from... (5 Replies)
Hi
I have written below log monitoring script to egrep multiple words and redirect the output to a text file and its working fine but I want to add some more below given functionality to it, which is very advance and im not very good in it, so please help if you can :)
I am egrepping all the... (1 Reply)
Discussion started by: scazed
1 Replies
LEARN ABOUT SUNOS
asadmin-jms-ping
asadmin-jms-ping(1AS) User Commands asadmin-jms-ping(1AS)NAME
jms-ping - checks to see if the JMS provider is up and running
SYNOPSIS
jms-ping --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--passwordfile filename] [--secure|-s]
[--terse=false] [--echo=false] [--interactive=false]
Checks to see if the JMS provider is up and running. This command is supported in remote mode only.
OPTIONS --user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--passwordfile file containing the domain application server password.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
Example 1: Using jms-ping
asadmin> jms-ping --user admin --password adminadmin --host bluestar --port 4848 server1
JMS Ping Status=RUNNING
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-jmsdest(1AS), asadmin-delete-jmsdest(1AS), asadmin-list-jmsdest(1AS)J2EE 1.4 SDK March 2004 asadmin-jms-ping(1AS)