03-11-2008
Any suggestion from UNIX gurus?
10 More Discussions You Might Find Interesting
1. Linux
Hi all,
I am new to this forum, hoping to find the solution to a problem I've been having for days.
I have a VPS on Linux box. I have setup an ftp account with the Plesk control panel. I am trying to receive an ftp data push from a Unix box but they tell me they keep getting permission... (2 Replies)
Discussion started by: carriehoff
2 Replies
2. Shell Programming and Scripting
I am executing the below script from unix box
If row count is zero the mail should not set to the client
The problem is, if row count is zero the mail is going to the client
(what is wrong in the script)
SET HEAD OFF FEED OFF PAGES 0
Select count(*) as change_count from... (9 Replies)
Discussion started by: pmsuper
9 Replies
3. UNIX for Dummies Questions & Answers
rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh`
if $rshstatus <>0 then
errstatus=1
mailx -s "xirsol8dr" ordba@xxx.com >> $log_dr
else if errstatus=0
echo "status to xirsol8dr successful"
can anyone provide if this is t he correct way to do this or is there a better way? (1 Reply)
Discussion started by: bpm12
1 Replies
4. Shell Programming and Scripting
Hi Friends,
I'm new to Unix. I have a fbackup step like
/bin/nice /etc/fbackup -f /dev/rmt/0m -i / -I /opt/monitrol/tmp/Index.full
2 > /var/adm/error.log
the errors for this step is redirected to a log file. How can I make to trigger mails when error occurs.
Please suggest.
Thanks in... (4 Replies)
Discussion started by: avik.nandi
4 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
First post!
I have just discovered that I can use unix to send mail to a mail address. I normally use entourage for my mail.
This unix mail is very intriguing to me, but something is not working... I tried the search, but could not find the answer...
This works:
(in terminal)... (1 Reply)
Discussion started by: bjorn
1 Replies
6. Shell Programming and Scripting
Hi All,
I have sent a mail to my gmail id using the below command.
echo " " | mailx -s "sub" myid@gmail.com
I didn't get any error notification. But still I didn't receive that mail still..
please help me to learn how to send mail to other provider (Yahoo/gmail) from unix server.... (1 Reply)
Discussion started by: little_wonder
1 Replies
7. Shell Programming and Scripting
Hi folks
I need to write UNIX script (with ldapsearch) to query Active Directory. Input is NT login name and output is Email address.
Attached a screenshot of Sysinternals "AD Explorer". I need to do the same in CLI.
http://i.imgur.com/4s6FB.png
I am absolute LDAP/ldapsearch noob. (0 Replies)
Discussion started by: slashdotweenie
0 Replies
8. Solaris
Hi, I wanted to configure a mail system on my UNIX box.
For that I read a document Sun Internet Mail Server 3.5 Advanced Installation Guide: Contents which is actually quite useful document but I am not sure from where can I bring patch? Is this patch will come in any CD form which I need to run... (1 Reply)
Discussion started by: Dhruvak
1 Replies
9. Shell Programming and Scripting
Hi,
I would like to clean up by unix mail mail box thru some script command.. I do know how to delete from mail box ...
e.g.
$ mail
? d*
? quit
But I need to clean up thru some command which I can use in my script before sending any email..
Thanks in advance! (1 Reply)
Discussion started by: pareshkp
1 Replies
10. Shell Programming and Scripting
Currrently I am not able to send/receive any emails to email id. I believe my mail box is full in server. could you please let me kknow to clear the emails in the unix server. (2 Replies)
Discussion started by: ramkumar15
2 Replies
INFNAN(3M) INFNAN(3M)
NAME
infnan - signals invalid floating-point operations on a VAX (temporary)
SYNOPSIS
#include <math.h>
double infnan(iarg)
int iarg;
DESCRIPTION
At some time in the future, some of the useful properties of the Infinities and NaNs in the IEEE standard 754 for Binary Floating-Point
Arithmetic will be simulated in UNIX on the DEC VAX by using its Reserved Operands. Meanwhile, the Invalid, Overflow and Divide-by-Zero
exceptions of the IEEE standard are being approximated on a VAX by calls to a procedure infnan in appropriate places in libm. When better
exception-handling is implemented in UNIX, only infnan among the codes in libm will have to be changed. And users of libm can design their
own infnan now to insulate themselves from future changes.
Whenever an elementary function code in libm has to simulate one of the aforementioned IEEE exceptions, it calls infnan(iarg) with an
appropriate value of iarg. Then a reserved operand fault stops computation. But infnan could be replaced by a function with the same name
that returns some plausible value, assigns an apt value to the global variable errno, and allows computation to resume. Alternatively, the
Reserved Operand Fault Handler could be changed to respond by returning that plausible value, etc. instead of aborting.
In the table below, the first two columns show various exceptions signaled by the IEEE standard, and the default result it prescribes. The
third column shows what value is given to iarg by functions in libm when they invoke infnan(iarg) under analogous circumstances on a VAX.
Currently infnan stops computation under all those circumstances. The last two columns offer an alternative; they suggest a setting for
errno and a value for a revised infnan to return. And a C program to implement that suggestion follows.
IEEE IEEE
Signal Default iarg errno infnan
__________________________________________________
Invalid NaN EDOM EDOM 0
Overflow +-Infinity ERANGE ERANGEHUGE
Div-by-0 +-Infinity +-ERANGE ERANGE or EDOM+-HUGE
(HUGE = 1.7e38 ... nearly 2.0**127)
ALTERNATIVE infnan:
#include <math.h>
#include <errno.h>
extern int errno ;
double infnan(iarg)
int iarg ;
{
switch(iarg) {
case ERANGE: errno = ERANGE; return(HUGE);
case -ERANGE: errno = EDOM; return(-HUGE);
default: errno = EDOM; return(0);
}
}
SEE ALSO
math(3M), intro(2), signal(3).
ERANGE and EDOM are defined in <errno.h>. See intro(2) for explanation of EDOM and ERANGE.
4.3 Berkeley Distribution May 27, 1986 INFNAN(3M)