I am new beginner in Unix and little experienced in BaaN ERP.
Problem Statement: I have to run a BaaN session. I have to change the password for both primary and secondary server by using this session.
On primary server only few people has access permission (say 10). But on secondary server... (0 Replies)
Hi All,
I need to get current error messages with time from alert.log.Below is my shell script but it's not working to meet this objective.
could anyone pls share on the above issue for resolution:
####################################################################
## ckalertlog.sh ##... (2 Replies)
hi,
i am very much new to shell scripting i have a requirement that i have to develop a License Renewal Alert system
that has to give a alert mail to the users before 30days of user account expiration, by checking expiration date of the user with the data base, this system will... (0 Replies)
How to check log size every 10min. by script (can use crontab)
if log size not change with alert "Log not update"
Base run on SunOS 5.8 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
logFiles="log1.log log2.log"
logLocation="/usr/home/test/log/"
Out put.
Tue Jan 31... (3 Replies)
I've got a job that finds and removes trace files based upon an access time of more than seven days (I've also tried a modify date).
find TABC* -atime +7 -exec rm +
find TABC* -mtime +7 -exec rm +
Whether I use -atime or -mtime, the process seems to work sporadically. Sometimes it removes... (6 Replies)
Can anyone please assist?
I need to grab each line between the lines "HEADER" and "TRAILER"
Each line contains two timestamps(Timestamp1) and (Timestamp2). I need to create two variables TIME_SUBSTRCT and TIME_ADD and
then recalculate the two timestamps using this logic:... (5 Replies)
Discussion started by: vinus
5 Replies
LEARN ABOUT NETBSD
log2
LOG(3) BSD Library Functions Manual LOG(3)NAME
log, logf, log10, log10f, log1p, log1pf log2, log2f, -- logarithm functions
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h>
double
log(double x);
float
logf(float x);
double
log10(double x);
float
log10f(float x);
double
log1p(double x);
float
log1pf(float x);
double
log2(double x);
float
log2f(float x);
DESCRIPTION
The following functions compute logarithms:
o The log() and logf() functions return the natural logarithm.
o The log10() and log10f() functions return the base 10 logarithm.
o The log1p() and log1pf() functions return the natural logarithm of (1.0 + x) accurately even for very small values of x.
o The log2() and log2f() functions return the base 2 logarithm.
RETURN VALUES
Upon successful completion, the functions return the logarithm of x as descibed above. Otherwise the following may occur:
1. If x is NaN, all functions return NaN.
2. If x is positive infinity, all functions return x. If x is negative infinity, all functions return NaN.
3. If x is +0.0 or -0.0, the log(), log10(), and log2() families return either -HUGE_VAL, -HUGE_VALF, or -HUGE_VALL, whereas the
log1p() family returns x.
4. If x is +1.0, the log(), log10(), and log2() families return +0.0. If x is -1.0, the log1p() family returns -HUGE_VAL,
-HUGE_VALF, or -HUGE_VALL.
In addition, on a VAX, errno is set to EDOM and the reserved operand is returned by log() unless x > 0, by log1p() unless x > -1.
SEE ALSO exp(3), ilogb(3), math(3)STANDARDS
The described functions conform to ISO/IEC 9899:1999 (``ISO C99'').
HISTORY
The history of the logarithm functions dates back to Version 6 AT&T UNIX.
BSD September 13, 2011 BSD