07-01-2015
Hmmmm! May be worth a try. Thanks! I'll suggest it to client (who are now sick of me).
But not tonight ... Enough trouble for one day! Thanks again. I'll let you know if it works.
10 More Discussions You Might Find Interesting
1. Programming
dear all ,
iam trying to compile a progam using gcc compiler on a sun 280 R machine running solaris 9 .
iam getting an error in the last step when the compiler tries to link the objects , although the compiler executes some applicarions that contains no objects smoothly,
the error that... (1 Reply)
Discussion started by: ppass
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
i have both Linux and Windows XP on my PC.
i used to use grub as a boot loader and everything was perfect, until
i reinstalled Windows.
apparently, Windows installer installed its own bootloader, that
doesn't recognize Linux.
i tried using a tool called GrubInstaller for Windows, and now... (4 Replies)
Discussion started by: shx2
4 Replies
3. Programming
Hi,
I just pulled out my code from source control, then I compiled, the compilation is successful at that time.
Then I modified one of the source file, Then I compiled, I got the following error
ld: fatal: Symbol referencing errors. No output written to ../../CM/bin/cato
Before... (1 Reply)
Discussion started by: sarwan
1 Replies
4. UNIX for Dummies Questions & Answers
zero experience Unix user here. Cannot boot our Sparc10.
Running:
SunOS release 5.3 Version Generic_Patch
message says:
(Can't load swapgeneric)
Program terminated
Tried to 'boot -s' , but this looks like a problem w/ Generic_Patch maybe?
At bootup, the devices come up fine and it... (0 Replies)
Discussion started by: man_of_action
0 Replies
5. Solaris
I modified the partitions on my Solaris 10 disk using format command in "boot cdrom -s" mode and then tried rebooting with "reboot". It said "Boot load failed".
Why does this happen?
I have faced this error before:( and I went in for a fresh installation of the OS.Can anyone tell me the reason as... (1 Reply)
Discussion started by: lydiaEd
1 Replies
6. SCO
hi
SCO Unix 5.0.6 doesn't boot due to this problem:
not a directory
boot not found
cannot open
stage 1 boot failure: error loading hd (40)/boot
Knows someone howto solve it? (16 Replies)
Discussion started by: ccc
16 Replies
7. Solaris
This is the error message that I am getting on a Solaris 10 sparc server
scsi: no major number
cannot load drivers for /pci@400.....
Can't load the root filesystem
Type 'go' to resume
{0} ok
Is there a way for me to correct this issue. It looks like I am missing a scsi driver to boot up... (5 Replies)
Discussion started by: trinityforce
5 Replies
8. Solaris
Dear all,
I Need your help,my server v240 with sun solaris 10 can't remote login.I try conncet via rsc and then go to OK prom....and i get the status :
{1} ok boot -a
FATAL: system is not bootable, boot command is disabled
{1} ok boot cdrom -s
FATAL: system is not bootable, boot command is... (2 Replies)
Discussion started by: fredginting
2 Replies
9. Solaris
I have M10-1. Installation OS 10 from cdrom external.
Here message from OK Prompt
{0} ok probe-scsi-all
/pci@8000/pci@4/pci@0/pci@2/pci@0/usb@4,1/cdrom@1
Unit 0 Removable Read Only device HL-DT-STDVDRAM GP65NB60 PF00
But..
{0} ok boot... (3 Replies)
Discussion started by: mbahjiman
3 Replies
10. What is on Your Mind?
Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup.
However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
math::calc::units
Units(3pm) User Contributed Perl Documentation Units(3pm)
NAME
Math::Calc::Units - Human-readable unit-aware calculator
SYNOPSIS
use Math::Calc::Units qw(calc readable convert equal);
print "It will take ".calc("10MB/(384Kbps)")." to download
";
my @alternative_descriptions = readable("10MB/(384Kbps)");
print "A week is ".convert("1 week", "seconds")." long
";
if (equal("$rate bytes / sec", "1 MB/sec")) { ... };
DESCRIPTION
"Math::Calc::Units" is a simple calculator that keeps track of units. It currently handles combinations of byte sizes and duration only,
although adding any other multiplicative types is easy. Any unknown type is treated as a unique user type (with some effort to map English
plurals to their singular forms).
The primary intended use is via the "ucalc" script that prints out all of the "readable" variants of a value. For example, "3 bytes" will
only produce "3 byte", but "3 byte / sec" produces the original along with "180 byte / minute", "10.55 kilobyte / hour", etc.
The "Math::Calc::Units" interface only provides for string-based computations, which could result in a large loss of precision for some
applications. If you need the exact result, you may pass in an extra parameter 'exact' to "calc" or "convert", causing them to return a
2-element list containing the numerical result and a string describing the units of that result:
my ($value, $units) = convert("10MB/sec", "GB/day");
(In scalar context, they just return the numeric value.)
Examples of use
o Estimate transmission rates (e.g., 10MB at 384 kilobit/sec)
o Estimate performance characteristics (e.g., disk I/O rates)
o Figure out how long something will take to complete
I tend to work on performance-sensitive code that involves a lot of network and disk traffic, so I wrote this tool after I became very sick
of constantly converting KB/sec to GB/day when trying to figure out how long a run is going to take, or what the theoretical maximum
performance would be if we were 100% disk bound. Now I can't live without it.
Contraindications
If you are just trying to convert from one unit to another, you'll probably be better off with "Math::Units" or "Convert::Units". This
module really only makes sense when you're converting to and from human-readable values.
AUTHOR
Steve Fink <sfink@cpan.org>
SEE ALSO
ucalc, Math::Units, Convert::Units.
perl v5.10.0 2009-08-04 Units(3pm)