12-16-2002
RTM Thanks for answring both of my questions.
Althought i did not understand the bug issue, but i do appriciate your answer/suggestion/help.
Thanks again.
Abid Malik
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I recentlly installed solaris 8 on a 2G HD successfully ,
but cannot boot pass a screen that has a error message
"BAD PBR".
My queston would be is how do I get pass this and
how do I repair it?
I have visited the SUN SYSTEM website many times
trying to get information.
thanks
Mogfog (2 Replies)
Discussion started by: mogfog
2 Replies
2. Solaris
hello mentor.
I'm getting an error " fdgetchng: write protect check failed "
after I rebooted my laptop because it hangs when i open server management console.
what seems to be the problem?
thanks (3 Replies)
Discussion started by: eykyn17
3 Replies
3. UNIX for Dummies Questions & Answers
ok, i recently posted asking for a distro of unix, and someone said to try solaris, so i booted up the dvd iso installer. And after making some kind of mistake in the preperation, I couldnt retry the installer, it repeated the Warning: Bad Geometry. thing, and when i tried to just boot up into... (0 Replies)
Discussion started by: FaoX666
0 Replies
4. Solaris
Hai
while booting sun solaris 10 in a intel machine,its showing PBR bad and its showing disk boot failure.but the is detecting.please guide me (1 Reply)
Discussion started by: subbiahvin
1 Replies
5. Red Hat
Hi,
My HP-Proliant Machine have faced abnormal shutdown due to a power failure.
after the event : "Operating System not found" appears & the system could not load operating system.
O/S: RHEL AS 4 update 2
Software Raid 1+0 were configured.
Facts Gathered:
All mount points are... (1 Reply)
Discussion started by: Muhammad Ahmad
1 Replies
6. Solaris
After installing Solaris 10 x86 (solaris 5 2009 update 7 ) i've been granted a “Bad PBR sig” error message on boot, making my system unbootable. any one has any solution for this problem (1 Reply)
Discussion started by: maxim42
1 Replies
7. Solaris
Hi folks.
By disk cloning on Solaris x86, I used a command dd.
I pulled out the source and inserted the new disk.
By loading I have received the following issue: BAD PBR SIGN. :( (5 Replies)
Discussion started by: wolfgang
5 Replies
8. Solaris
Hello everyone,
I have a Sun x4600 (Solaris 10 x86) server.During boot up "Bad PBR sig" error comes soon after post (before GRUB). Unless the return key is pressed the server never boots up. Once the return key is pressed the boot process continues without any problem.
Can you please help me... (1 Reply)
Discussion started by: pingmeback
1 Replies
9. Solaris
Hi,
Iam trying to instal a solaris operating system in a vmware on my local windows system via an iso image named as "solaris10.vmx". but as soon as the vm console opens i get an error message as:
"PXE-MOF: Exiting Intel PXE ROM.
Operating system not found"
Please help me out in... (3 Replies)
Discussion started by: Laxxi
3 Replies
10. UNIX for Advanced & Expert Users
Can we know the operating given the IP address or DNS of the host.
All I have is
file://myserver/myapp (4 Replies)
Discussion started by: mohtashims
4 Replies
RRDp(3pm) User Contributed Perl Documentation RRDp(3pm)
NAME
RRDp - Attach RRDtool from within a perl script via a set of pipes;
SYNOPSIS
use RRDp
RRDp::start path to RRDtool executable
RRDp::cmd rrdtool commandline
$answer = RRD::read
$status = RRD::end
$RRDp::user, $RRDp::sys, $RRDp::real, $RRDp::error_mode, $RRDp::error
DESCRIPTION
With this module you can safely communicate with the RRDtool.
After every RRDp::cmd you have to issue an RRDp::read command to get RRDtools answer to your command. The answer is returned as a pointer,
in order to speed things up. If the last command did not return any data, RRDp::read will return an undefined variable.
If you import the PERFORMANCE variables into your namespace, you can access RRDtool's internal performance measurements.
use RRDp
Load the RRDp::pipe module.
RRDp::start path to RRDtool executable
start RRDtool. The argument must be the path to the RRDtool executable
RRDp::cmd rrdtool commandline
pass commands on to RRDtool. Check the RRDtool documentation for more info on the RRDtool commands.
Note: Due to design limitations, RRDp::cmd does not support the "graph -" command - use "graphv -" instead.
$answer = RRDp::read
read RRDtool's response to your command. Note that the $answer variable will only contain a pointer to the returned data. The
reason for this is, that RRDtool can potentially return quite excessive amounts of data and we don't want to copy this around in
memory. So when you want to access the contents of $answer you have to use $$answer which dereferences the variable.
$status = RRDp::end
terminates RRDtool and returns RRDtool's status ...
$RRDp::user, $RRDp::sys, $RRDp::real
these variables will contain totals of the user time, system time and real time as seen by RRDtool. User time is the time RRDtool
is running, System time is the time spend in system calls and real time is the total time RRDtool has been running.
The difference between user + system and real is the time spent waiting for things like the hard disk and new input from the Perl
script.
$RRDp::error_mode and $RRDp::error
If you set the variable $RRDp::error_mode to the value 'catch' before you run RRDp::read a potential ERROR message will not cause
the program to abort but will be returned in this variable. If no error occurs the variable will be empty.
$RRDp::error_mode = 'catch';
RRDp::cmd qw(info file.rrd);
print $RRDp::error if $RRDp::error;
EXAMPLE
use RRDp;
RRDp::start "/usr/local/bin/rrdtool";
RRDp::cmd qw(create demo.rrd --step 100
DS:in:GAUGE:100:U:U
RRA:AVERAGE:0.5:1:10);
$answer = RRDp::read;
print $$answer;
($usertime,$systemtime,$realtime) = ($RRDp::user,$RRDp::sys,$RRDp::real);
SEE ALSO
For more information on how to use RRDtool, check the manpages.
AUTHOR
Tobias Oetiker <tobi@oetiker.ch>
perl v5.14.2 2012-01-24 RRDp(3pm)