Search Results

Search: Posts Made By: mjoshi87
Forum: Solaris 07-13-2011
1,206
Posted By mjoshi87
Recent file available
Dear,

Require a script to check :

If the file under /opt/OV/log directory has recent 5 hours(or user defined value) file generated or not
If generated then cmd to call :
opcmsg a=a o=o...
Forum: Solaris 07-05-2011
56,191
Posted By mjoshi87
inode in solaris
Dear,

How can i check inode information in my Solaris box?


With Regards,
Mjoshi
Forum: Solaris 06-24-2011
4,450
Posted By mjoshi87
Dear thanks the script is working now,,But my...
Dear thanks the script is working now,,But my point is now:

For valid host which are pinging, your script is still running..Does that mean the server is still pinging the source ip continuously?
...
Forum: Solaris 06-23-2011
4,450
Posted By mjoshi87
root@emsnew39 # sh pingtest.sh 50...
root@emsnew39 # sh pingtest.sh 50 hostlistfile.txt
pingtest.sh: syntax error at line 8: `PL=$' unexpected
root@emsnew39 #
Forum: Solaris 06-22-2011
4,450
Posted By mjoshi87
ygemici, please also include this statement...
ygemici,
please also include this statement passed within your script provided whenever i get ping broken
i.e If ping response is not responding(i.e when hostname is not alive) then this cmd to be...
Forum: Solaris 06-21-2011
4,450
Posted By mjoshi87
Need to discuss a general query: ...
Need to discuss a general query:

root@ggnems21 # ping -s ggnems23
PING ggnems23: 56 data bytes
64 bytes from ggnems23.aircel.co.in (172.18.124.38): icmp_seq=0. time=17.6 ms
64 bytes from...
Forum: Solaris 06-21-2011
4,450
Posted By mjoshi87
root@ggnems21 # ping ggnems01 ggnems01 is alive...
root@ggnems21 # ping ggnems01
ggnems01 is alive

I also required it to wait for some time because for some occasions the network is slow and i get delay in response of about 5-10 seconds...
Forum: Solaris 06-21-2011
3,142
Posted By mjoshi87
Can you please explain : if [ "$?" -eq "0"...
Can you please explain :

if [ "$?" -eq "0" ]
Forum: Solaris 06-21-2011
3,142
Posted By mjoshi87
metastat |grep Needs
Dear,

Required an script such that :

If metastat |grep Needs , results in some output then this command to be executed for the same :

opcmsg object=metastat a=OS msg_grp=OpC...
Forum: Solaris 06-21-2011
4,450
Posted By mjoshi87
#!/bin/sh for i in `cat /tmp/PingStatus.txt` ...
#!/bin/sh
for i in `cat /tmp/PingStatus.txt`
do
ping -c 5 -w 5 -n $i | grep -q "bytes from" && echo "$i is OK" || opcmsg object=PING a=OS msg_grp=OpC severity=critical msg_text="PING BROKEN on...
Forum: Solaris 06-20-2011
4,450
Posted By mjoshi87
Dear its failing.......... root@ggnems21...
Dear its failing..........


root@ggnems21 # cat testping.sh
#!/bin/sh
for i in `cat tmp/PingStatus.txt`
do
ping -c 5 -w 5 -n $i | grep -q "bytes from" && echo "$i is OK" || opcmsg object=PING...
Forum: Solaris 06-20-2011
4,450
Posted By mjoshi87
PING broken check
Dear All,

Required a script which will check the PING response from my source file(tmp/PingStatus.txt) containing the hostnames.

If ping response is not responding(i.e when hostname is not...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy