12-21-2010
Who says i'm trying to crack something ?!?
You're really rude !
If you don't have an answer so just don't reply and let other try to assist.
10 More Discussions You Might Find Interesting
1. Solaris
Hi, Guys
I have to change the HostID for my SUNFire880 in lab.
Can some body help me? and give the detail procedure?
I don't think the command "mkp" can be used in SUNFire880 system.
So please help!:cool: (2 Replies)
Discussion started by: surainbow
2 Replies
2. Solaris
Hello Everybody
I would like to know that I have configure the OS & other application on the SunFire V440 server
1) If suppose no hostid base software install in that v440 server & if some problem comes in the motherboard of that server. If I remove the harddisk ( on which Solaris & other... (4 Replies)
Discussion started by: girish.batra
4 Replies
3. Solaris
Hello everybody,
please , I need an urgent help.
I reinstalled our server Sun X4150. What was changed:
our two disks were changed to raid1 and I installed a never version of Solaris 10 (previously the version from 12/2009 was used, now a version from 03/2010).
what I'm surprised, the... (3 Replies)
Discussion started by: freeangel
3 Replies
4. Solaris
Hi all.
Solaris 9.
After I change the hostid, how can I change it back without rebooting the machine?
Thanks (2 Replies)
Discussion started by: jamie_collins
2 Replies
5. Solaris
Dear All,
I am facing a simple problem . I have a x6270 server attached to a M6000 chasis. The server is fresh i:e O/S is not installed in it.
Now the customer is asking for the HostID of that server. I have tried every possible way but i am not able to find the HostID .I went through the... (4 Replies)
Discussion started by: sudhansu
4 Replies
6. Solaris
Hi,
We have a Sun M5000. I am now trying to boot the second system domain by using the boot disk (a mirrored boot disk actually) of the first domain (if succeed then no OS installation is needed for the second domain). I got the following errors:
SPARC Enterprise M5000 Server, using Domain... (21 Replies)
Discussion started by: aixlover
21 Replies
7. Solaris
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies
8. Red Hat
There is no /etc/hostid file.
I know that there is no relationship between with MAC address and hostid. There are a lot of scripts on the net but how can I exactly do in my case. :rolleyes: (4 Replies)
Discussion started by: getrue
4 Replies
9. Red Hat
Hello guys,
currently I'm working on migration services from physical to virtual server (RHEL 6). One form applications is binded to hostid of old server.
I put value of hostid from old server to the /etc/hostid on new server, but output of hostid command is giving nonsenses then.
#... (0 Replies)
Discussion started by: brusell
0 Replies
10. Solaris
Hi Folks,
I've been presented with an unexpected problem and I'm not sure if I can resolve it without some input from people.
I have on this site 3 license servers running Solaris, one at;
SunOS xxxxxx 5.8 Generic_117350-08 sun4u sparc SUNW,Ultra-5_10
One at;
SunOS yyyyyy 5.7... (12 Replies)
Discussion started by: gull04
12 Replies
RRDp(3) User Contributed Perl Documentation RRDp(3)
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.12.1 2010-03-22 RRDp(3)