[Orca-users] orcallator redhat install help

rhfreeman at micron.com rhfreeman at micron.com
Fri Nov 5 01:58:51 PST 2004


Here is a patch for procallator.pl.in to fix it:

264c264
<          ($dumb, $if_name[$i][$r])=split /^ +/,$if_name[$i][$r];
---
>          $if_name[$i][$r] =~ s/\s*(\S+)\s*/$1/; 

(or I'm sure there are plenty of other ways to remove spaces)

Basically, the problem is that the "vmnet8" interface has a longer name than normal. The net result is that there isn't any blank space at the start of the line before the interface name. So this line in procallator.pl:

($dumb, $if_name[$i][$r])=split /^ +/,$if_name[$i][$r];

Mangles the interface name without the spaces being present at the start of the line.

Rich

> -----Original Message-----
> From: Steven Cortéz [mailto:steven at triad.rr.com] 
> Sent: Thursday, November 04, 2004 3:36 PM
> To: rhfreeman; blair at orcaware.com
> Cc: orca-users at orcaware.com
> Subject: Re: [Orca-users] orcallator redhat install help
> 
> Here's the output:
>  
>  cat /proc/net/dev
> Inter-|   Receive                                             
>    |  Transmit
>  face |bytes    packets errs drop fifo frame compressed 
> multicast|bytes    packets errs drop fifo colls carrier compressed
>     lo:267408176 2067899    0    0    0     0          0      
>    0 267408176 2067899    0    0    0     0       0          0
>   eth0:1063907135 600139743    0    0    0     0          0   
>       0 31114061  331087    0    0 1900     0       0          0
>   eth1:       0       0    0    0    0     0          0       
>   0        0       0    0    0    0     0       0          0
>   eth2:2729310709 1296738856    0    0    0     1          0  
>        0 2144543108 126111033    0    0  710     0       0          0
> vmnet8:       0       0    0    0    0     0          0       
>   0        0       0    0    0    0     0       0          0
> 
>                               \\\|///
>                             \\  - -  //
>                              (  @ @  )
> ---------------------------oOOo-(_)-oOOo-------------------------
> Steven Cortéz
> Senor Unix System Administrator
> New Breed Corporation
> 4239 Piedmont Parkway
> Greensboro, NC 27410
> Phone: 336-218.7535 x8176
>            .oooO
> -------------------------- (   )-- Oooo. ------------------------
>                             \ (    (   )
>                              \_)    ) /
>                                    (_/
>  
>   (    (                                                      
>     _______
>   ))   ))   .--"There's always time for a good cup of 
> coffee"--.   >====<--.
> C|~~|C|~~| 
> (>--------------------------------------------------<) |    = |-'
>  `--' `--'  
> `--------------------------------------------------'  `------'
>  
>  
> ----- Original Message ----- 
> From: <rhfreeman at micron.com <mailto:rhfreeman at micron.com> >
> To: <steven at triad.rr.com <mailto:steven at triad.rr.com> >; 
> <blair at orcaware.com <mailto:blair at orcaware.com> >
> Cc: <orca-users at orcaware.com <mailto:orca-users at orcaware.com> >
> Sent: Thursday, November 04, 2004 4:17 AM
> Subject: RE: [Orca-users] orcallator redhat install help
> 
> 
> Can you do:
> 
> cat /proc/net/dev
> 
> And show me the output?
> 
> As for the graphs... the Linux collectors does collect 
> different information from the Solaris collector. So whilst 
> some graphs will be common between the systems, each 
> architecture will have some graphs which are specific to that 
> architecture.
> 
> Ta,
> 
> Rich 
> 
> > -----Original Message-----
> > From: orca-users-bounces+rhfreeman=micron.com at orcaware.com 
> <mailto:orca-users-bounces+rhfreeman=micron.com at orcaware.com>  
> > [mailto:orca-users-bounces+rhfreeman=micron.com at orcaware.com] 
> > On Behalf Of Steven Cortéz
> > Sent: Tuesday, November 02, 2004 4:43 PM
> > To: Blair Zajac
> > Cc: orca-users at orcaware.com <mailto:orca-users at orcaware.com> 
> > Subject: Re: [Orca-users] orcallator redhat install help
> > 
> > Should I expect to see the same graphs in linux as I see in 
> > solaris?  Also..any ideas on the error below?
> > 
> >                               \\\|///
> >                             \\  - -  //
> >                              (  @ @  )
> > ---------------------------oOOo-(_)-oOOo-------------------------
> > Steven Cortéz
> > Senor Unix System Administrator
> > New Breed Corporation
> > 4239 Piedmont Parkway
> > Greensboro, NC 27410
> > Phone: 336-218.7535 x8176
> >            .oooO
> > -------------------------- (   )-- Oooo. ------------------------
> >                             \ (    (   )
> >                              \_)    ) /
> >                                    (_/
> > 
> >   (    (                                                      
> >     _______
> >   ))   ))   .--"There's always time for a good cup of 
> > coffee"--.   >====<--.
> > C|~~|C|~~| 
> > (>--------------------------------------------------<) |    = |-'
> >  `--' `--'  
> > `--------------------------------------------------'  `------'
> > 
> > 
> > ----- Original Message ----- 
> > From: Steven Cortéz 
> > To: Blair Zajac 
> > Cc: orca-users at orcaware.com <mailto:orca-users at orcaware.com>  
> > Sent: Monday, November 01, 2004 6:06 PM
> > Subject: Re: [Orca-users] orcallator redhat install help
> > 
> > 
> > Ok...I now get the following error: 
> > [root at iscsv151 iscsv151.newbreed.com]# Use of uninitialized 
> > value in numeric eq (==) at /usr/local/bin/procallator line 518.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 239.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > Use of uninitialized value in concatenation (.) or string at 
> > /usr/local/bin/procallator line 276, <F_NET_DEV> line 7.
> > 
> >                               \\\|///
> >                             \\  - -  //
> >                              (  @ @  )
> > ---------------------------oOOo-(_)-oOOo-------------------------
> > Steven Cortéz
> > Senor Unix System Administrator
> > New Breed Corporation
> > 4239 Piedmont Parkway
> > Greensboro, NC 27410
> > Phone: 336-218.7535 x8176
> >            .oooO
> > -------------------------- (   )-- Oooo. ------------------------
> >                             \ (    (   )
> >                              \_)    ) /
> >                                    (_/
> > 
> >   (    (                                                      
> >     _______
> >   ))   ))   .--"There's always time for a good cup of 
> > coffee"--.   >====<--.
> > C|~~|C|~~| 
> > (>--------------------------------------------------<) |    = |-'
> >  `--' `--'  
> > `--------------------------------------------------'  `------'
> > 
> > 
> > ----- Original Message ----- 
> > From: "Blair Zajac" <blair at orcaware.com 
> <mailto:blair at orcaware.com> >
> > To: "Steven Cortéz" <steven at triad.rr.com 
> <mailto:steven at triad.rr.com> >
> > Cc: <orca-users at orcaware.com <mailto:orca-users at orcaware.com> >
> > Sent: Monday, November 01, 2004 2:41 PM
> > Subject: Re: [Orca-users] orcallator redhat install help
> > 
> > 
> > > Steven Cortéz wrote:
> > > > Hello,
> > > >     I'm trying to install orca-0.27 on my redhat linux 
> > boxes and I'm 
> > > > having problems starting the program up.  I've tried to 
> > hack it so that 
> > > > it wouldn't look for the SE toolkit and nothing happens.  
> > I've tried 
> > > > using procallator but that half works (not all things are being 
> > > > graphed).  What am I missing here...orca installs just 
> > fine...but looks 
> > > > like it needs the SE tool kit...and procallator doesn't 
> > work 100%.  
> > > > Please any help will be greatly appreciated.
> > > > Thanks,
> > > >  
> > > > Steven Cortéz
> > > > Senor Unix System Administrator
> > > 
> > > Hi Steven,
> > > 
> > > You should really try the latest Orca snapshot.  I 
> > regularly install it 
> > > on RedHat and it works fine there.
> > > 
> > > http://www.orcaware.com/orca/pub/snapshots/ 
> <http://www.orcaware.com/orca/pub/snapshots/> 
> > > 
> > > If this doesn't work, then please let me know and we'll 
> > work on getting 
> > > the bugs fixed.
> > > 
> > > Regards,
> > > Blair
> > > 
> > > -- 
> > > Blair Zajac <blair at orcaware.com <mailto:blair at orcaware.com> >
> > > Plots of your system's performance - 
> http://www.orcaware.com/orca/ <http://www.orcaware.com/orca/>  
> > 
> > 
> > 
> > _______________________________________________
> > Orca-users mailing list
> > Orca-users at orcaware.com <mailto:Orca-users at orcaware.com> 
> > http://www.orcaware.com/mailman/listinfo/orca-users 
> <http://www.orcaware.com/mailman/listinfo/orca-users> 
> >
> 




More information about the Orca-users mailing list