Be careful about where you run this script if its not in the same dir as strike then it wont work. Also, you should use fully qualified path to the file called ipadress (and maybe spell it correctly for completeness ) Finally, you should set a=0 at some point to exit the loop! Maybe trap a signal or an event like when you hit CNTRL-C
Hi, dear all, I am rather new to Unix and have this problem where I cant seem to ping from 1 host to another. The scenerio is as follows: -
1 QNX host->Eth->1 SCO host
the SCO host is configured with it's IP
the QNX host is configured with another IP
both in the same domain, ie, 172.20.3.XX... (3 Replies)
The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Hello
I have a server in it.siroe.com
I added it.siroe.com in /etc/resolv.conf.
I still can't ping the server.
any service to restart here?
any other file to edit?
thx (4 Replies)
Hi All,
I am using Vmware Workstation 6.0.3 build-80004.
Guest OS: Solaris 10
Host OS : Win XP
I am getting request time out when i am trying to ping from XP ( cmd line) to Solaris VM
- I have assigned IP 192.168.50.5 in Solaris VM ( Hostname: Tower1) and it is in UP status.
... (4 Replies)
Hi,
I have a weird problem.
when ever I do ping command like for example
ping unix.comI get the following message:
# ping unix.com
ping: unknown host unix.com
but when I use host the computer is able to know the host.
# host unix.com
unix.com has address 81.17.242.186
unix.com mail is... (2 Replies)
Hi I am trying to write a script which runs until the host is up. i got it figured out that it needs to be in loop till it return $? = 0.
Not getting it through though. I am not sure about the 6th line !!!
#!/bin/sh
HOSTS="host.txt"
ping(){
for myhost in "$HOSTS"
do
ping -c -1 "$myhost"... (8 Replies)
Hi All,
I have the requirement where am pinging the server and matching the IP address with the existing IP address. Below code is returning me the IP address and my requirement is i have to see that also whether it is pinging or not
PING useipapd01 (172.22.32.87) 56(84) bytes of data.
64... (1 Reply)
Actually. I was getting a ping to remote host failed for one of my etherchannel. When I checked it was in backup adapter and again I use to faileover and brought to primary channel.
But it was again going to backup channel and giving me the alert ping to remotehost failed. When I checked the load... (3 Replies)
Discussion started by: Mohamed Thamim
3 Replies
LEARN ABOUT OSX
clogl
CLOG(3) BSD Library Functions Manual CLOG(3)NAME
clog -- complex logarithm function
SYNOPSIS
#include <complex.h>
double complex
clog(double complex z);
long double complex
clogl(long double complex z);
float complex
clogf(float complex z);
DESCRIPTION
clog(z) returns the complex logarithm of z.
clog(conj(z)) = conj(clog(z)), for all complex floating-point numbers z.
SPECIAL VALUES
The conjugate symmetry of clog() is used to abbreviate the specification of special values.
clog(-0 + 0i) returns -inf + Pi i and raises the divide-by-zero flag.
clog(0 + 0i) returns -inf + 0i and raises the divide-by-zero flag.
clog(x + inf i) returns inf + Pi/2 i, for finite x.
clog(x + NaN i) returns NaN + NaN i.
clog(-inf + yi) returns inf + Pi i, for finite positive y.
clog(inf + yi) returns inf + 0i, for finite positive y.
clog(-inf + inf i) returns inf + 3Pi/4 i.
clog(inf + inf i) returns inf + Pi/4 i.
clog(+-inf + NaN i) returns inf + NaN i.
clog(NaN + yi) returns NaN + NaN i, for finite y.
clog(NaN + inf i) returns inf + NaN i.
clog(NaN + NaN i) returns NaN + NaN i.
NOTES SEE ALSO cexp(3)log(3)complex(3)STANDARDS
The clog() function conforms to ISO/IEC 9899:2011.
4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution