Search Results

Search: Posts Made By: amarlinux
845
Posted By amarlinux
Find_ldap_server
Hi,
I am having issue with putting a simple if then elif statement working. the script checks for ldap file in solaris system and if it finds solaris box then it looks for the correct file and then...
Forum: Red Hat 04-25-2012
22,257
Posted By amarlinux
in2nix4life, Script is running fine now. I do...
in2nix4life,
Script is running fine now. I do see a few problem.

1. Why am i not able to delete the monitor.log file
2. Though i set the ping for 5 sec but it is continuously running till now....
Forum: Red Hat 04-25-2012
22,257
Posted By amarlinux
Hi in2nix4life, When running your script i am...
Hi in2nix4life,
When running your script i am getting syntax errors.

awk: /packets/{if($4 ~ 0) print $0)
awk: ^ syntax error
awk: /packets/{if($4 ~ 0) print $0)...
Forum: Red Hat 04-20-2012
22,257
Posted By amarlinux
Thanks in2nix4life, i will try that. Thats a...
Thanks in2nix4life, i will try that. Thats a redhat linux machine.
2.6.18-308.1.1.el5, bash shell

Also thanks to rbatte1, but wondering why only ksh running it properly?
Forum: Red Hat 04-20-2012
22,257
Posted By amarlinux
Now its showing. Not sure why ? # ksh -x...
Now its showing. Not sure why ?

# ksh -x ping_out.sh
+ read in p t out rest
+ grep 'packets transmitted' /tmp/2012_04_20
+ [ 60 -ne 60 ]
+ echo 'All okay'
All okay

How to use code tags...
Forum: Red Hat 04-20-2012
22,257
Posted By amarlinux
Thanks. But why is it saying "We have a problem"...
Thanks. But why is it saying "We have a problem" , as there were no gaps or errors shouldnt it say "All okay". Also i didnt catch the logic of
[ $in -ne $out ]
Forum: Red Hat 04-20-2012
22,257
Posted By amarlinux
Thanks again. I am running it for 60 sec. But...
Thanks again.
I am running it for 60 sec. But facing a problem
# cat ping.sh
ping -c 60 serverip > /tmp/`date +%Y_%m_%d`
[root@test1 tmp]# cat ping_out.sh
grep "packets transmitted"...
Forum: Red Hat 04-20-2012
22,257
Posted By amarlinux
Thanks for the response! Can you please provide...
Thanks for the response!
Can you please provide the actual syntax.
Forum: Red Hat 04-20-2012
22,257
Posted By amarlinux
script for continous ping
Hi,
I want to run a script for continuous ping for a day then delete the previous day after checking if there is a gap in between with the other servers connectivity. Output the result in a /tmp...
Forum: Red Hat 03-30-2012
12,568
Posted By amarlinux
Sorry wasnt paying attention, but i did try those...
Sorry wasnt paying attention, but i did try those commands before. Below are out puts, but since its vmxnet3, how to know if its jumbo frames ?


# ifconfig eth0 | grep MTU
UP BROADCAST...
Forum: Red Hat 03-28-2012
12,568
Posted By amarlinux
Sorry about the delay, No it dont display those...
Sorry about the delay, No it dont display those info, and its a vmware environment. So as per vendor policy they wont disclose the NICs physical info. I am aware of the bug previously reported. But...
Forum: Red Hat 03-06-2012
12,568
Posted By amarlinux
/var/log/messages error "kernel: RPC: bad TCP reclen"
Hi,
I am seeing the following errors in my environment, not sure why is it happening, any ideas? Thanks.

kernel: RPC: bad TCP reclen 0x73746174 (non-terminal ) Dec 17 02:14:48 kernel: RPC: bad...
Showing results 1 to 12 of 12

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