[Orca-users] case sensitivity?

Blair Zajac blair at orcaware.com
Mon Dec 8 18:22:50 PST 2003


"Saladin, Miki" wrote:
> 
> in the start up script for orcallator i have
> 
> WEB_SERVER="httpd"
> 
> will that detect both upper case and lower case http?
> i have both.

The orcallator.se script uses SE's =~ operator to do regular
expression matches on process names.

I don't believe this operator is case insensitive.

A work around is to edit start_orcallator.sh:

# WEB_SERVER_SECURE contains a regular expression used to find the
# number of running secure web server processes on the system.
WEB_SERVER_SECURE=httpsd

and set WEB_SERVER_SECURE to the uppercase version of the name.
It'll come out in the orcallator data files as #httpsds instead
of #httpds so you'll get separate data for them, which may be
a good thing or not, depending upon what you want to do.

If you want, you could always edit

count_procs()

in orcallator.se to change the =~ to a case insensitive compare.

Best,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



More information about the Orca-users mailing list