I have a shell script which prints a variable to a text file (sorry if this is the wrong terminology, I'm new to this):
I need period to have 2 decimal places, but stdevt and errt to have however many they already have. period is defined with two, but only prints to the nearest significant figure, is there any way of changing this?
I need to find out the precision on a solaris machine using the unix terminal.
How do I find this out?
Specifics needed:
How are single precision numbers represented (8 or 16 bit)
How are double precision numbers represented (16 or 32 bit)
How are they stored. ( some computers store numbers... (1 Reply)
Hello all,
I don't know ksh that well but when I try to run a simple script using the bc command I get "unexpected '.' ", has any one encouter this or help me. I'm running under redaht 7.2. Here is a simple example:
#!/bin/ksh
#
kilo=`echo "2495 * .25"|bc`
if
then
echo "LESS THEN"... (2 Replies)
Hello all,
I'm having trouble building the GNU Multi Precision (GMP 4.1.3) on the HP Intel Itanium 2 HP-UX 11i
I'm hoping someone out there has had some experience building GMP on this platform. After running the ./configure and doing a make I get an error saying:
`.rodata` is not a section
... (3 Replies)
Hi,
As all of us know that size of int is machine as well as compiler dependent
we can get the range and size of an int , float and char etc in
/usr/include/limits.h
header file of a compiler
but could any one tell me how to get info of precision of float and ... (6 Replies)
Hi,
I search a unix utility to diff two files, that takes as argument numerical precision as well. If two files are different only in numbers and the difference is less than precision then the result as they are the same.
The precision may be absolute (x1-x2) or relative (x2/x1). Also I need the... (1 Reply)
Hi guys,
I have a single column file with millions of records. I want to count the number of records with 6 decimal precision.
for ex:
1234.12
1234.132
12345.12345
1234.1
1234.13
1234.123456
243435.454555
i need to count the number of records with precision of 6 ( i.e here the... (4 Replies)
hi,
I am a new awk user, now i want to change my result from
1 ca 0.2057422D-01 -0.7179106D-02 -0.5600872D-02
2 o 0.2463722D-01 -0.1554542D-01 0.3110649D-01
3 h -0.1068047D-01 0.1016889D-01 -0.4088230D-02
to
1 ca 0.02057422 -0.007179106 -0.005600872
2 o 0.02463722 -0.01554542 ... (4 Replies)
I have a variable in a bash script,
DISTANCE=`awk 'BEGIN {FS="\t"} {if (NR==2) print $3;}' $OUTFILE`
this is a real number taken from a file. The value are like,
0.334561754018
I am using this value in a file name,
'$NAME'_'$DISTANCE'.txt
I would like to shorten the number some to... (4 Replies)
Hi All,
could any body let me know.
how to get timestamp with millisecond precision in unix bash shell.
example -->2005-12-06- 4-22-35-195
please help me.
Thanks,
Krupa:wall: (3 Replies)
I have to do some arithmetic operation on Field 8 which is calculated by Field 9/Field 7
Suppose i have data like :
0800123456|JAN|2017|JAN|2018|0800123456|0|0.0000|0.00|
0800234567|JAN|2017|JAN|2018|0800234567|4|2.5812|10.32|
0800666666|JAN|2017|JAN|2018|0800666666|2|1.7255|3.45|... (0 Replies)
Discussion started by: pumrao
0 Replies
LEARN ABOUT XFREE86
snmp_variables
snmp_variables(4) File Formats snmp_variables(4)NAME
snmp_variables - format of specifying variable names to SNMP tools
SYNOPSIS
system.sysdescr.0
DESCRIPTION
Variable names for SNMP are in the format of Object Identifiers (ASN.1). There are several methods of representation. Each variable name is
given in the format of A.B.C.D...., where A, B, C, and D are subidentifiers in one of two forms of notation. Each subidentifier can be
encoded as a decimal integer or a symbol as found in the RFC 1066 MIB. The case of the symbols is not significant. If there is no leading
period (.) in the variable name, the name will be formed as if having been preceded with iso.org.dod.internet.mgmt.mib. .
A period must be placed before the first variable if the user is to fully specify the name. For example:
1.1.0
system.sysDescr.0
1.sysDescr.0
...all refer to the same variable name. Likewise:
.1.3.6.1.2.1.1.1.0
.iso.org.dod.internet.mgmt.mib.system.sysdescr.0
.1.3.6.1.2.1.1.sysdescr.0
...all refer to the same variable name.
The description of the variables in the MIB is given in the set of MIB files defined by the MIBS environment variable (or the default list
defined at compilation time) and the MIB files in the /etc/sma/snmp/mibs directory (or the MIBDIRS environment variable).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO snmpd.conf(4), attributes(5), sma_snmp(5)
RFC 1065, RFC 1066, RFC 1067, ISO IS 8824 (ASN.1)
SunOS 5.10 16 Jan 2004 snmp_variables(4)