[Orca-checkins] r477 - orca/trunk/data_gatherers/procallator
blair at orcaware.com
blair at orcaware.com
Tue Aug 2 20:18:50 PDT 2005
Author: blair at orcaware.com
Date: Tue Aug 2 20:17:36 2005
New Revision: 477
Modified:
orca/trunk/data_gatherers/procallator/BUGS
orca/trunk/data_gatherers/procallator/CHANGES
orca/trunk/data_gatherers/procallator/README
orca/trunk/data_gatherers/procallator/TODO
orca/trunk/data_gatherers/procallator/procallator.pl.in
Log:
Spelling fixes.
* data_gatherers/procallator/BUGS,
* data_gatherers/procallator/CHANGES,
* data_gatherers/procallator/README,
* data_gatherers/procallator/TODO,
* data_gatherers/procallator/procallator.pl.in:
Spelling fixes.
Modified: orca/trunk/data_gatherers/procallator/BUGS
==============================================================================
--- orca/trunk/data_gatherers/procallator/BUGS (original)
+++ orca/trunk/data_gatherers/procallator/BUGS Tue Aug 2 20:17:36 2005
@@ -1,9 +1,9 @@
These are the current documented BUGs in procallator:
Version 0.3 - and probably the older versions
-- When running as a guest OS in MWARE Workstation the perl sleep funcion (that
+- When running as a guest OS in MWARE Workstation the perl sleep function (that
calls nanosleep system call) seems to hang when the virtual machine is idle
- (or with low load). There is no known workaroud, and apparently it happens
- with other programas using this system call. Have to confirm that this occurs
+ (or with low load). There is no known workaround, and apparently it happens
+ with other programs using this system call. Have to confirm that this occurs
with other installations and verify viable alternatives, like time-hires or
other ways to create reliable timers on vmware guests.
Modified: orca/trunk/data_gatherers/procallator/CHANGES
==============================================================================
--- orca/trunk/data_gatherers/procallator/CHANGES (original)
+++ orca/trunk/data_gatherers/procallator/CHANGES Tue Aug 2 20:17:36 2005
@@ -6,17 +6,17 @@
- Added compatibility with 2.6 kernel versions
- Added support for /proc/partitions -> partitions stats in 2.4 kernels
- Added support for /proc/diskstats -> partitions stats in 2.6 kernels
- - Removed support for page-ins e page-ous metrics due to misunderstood
- interpretations real meaning of values
+ - Removed support for page-ins and page-outs metrics due to
+ misunderstood interpretations real meaning of values
- New cfg file, with better handling of tcp stats - every stat is now a
- counter and not gauges, this corrects the way the stas are plotted,
+ counter and not gauges, this corrects the way the stats are plotted,
sadly its not compatible with older versions
- Added IO Wait for 2.6 kernels
- Using real device names on disk statistics for 2.4 and 2.6 kernels
- - Added NFS4 statistics, and revised NFS config (now totalizes every NFS
- version by default)
+ - Added NFS4 statistics, and revised NFS config (now totalizes every
+ NFS version by default)
- Added configuration variable to control some network protocol
- colection
+ collection
- Process now starts as a real daemon
- Now it is integrated with orca install and makefiles
- Used perltidy to embelish and uniformize perl source code
@@ -25,8 +25,8 @@
versions, that way, using the new cfg with older collected data, or
the older cfg with newer collected data may lead to some problems, like
missing graphs and so. That way the upgrade should be planned with care
-0.04 - Added support for @COMPRESS@ variable in configure scripts, defaults to
- /usr/bin/gzip
+0.04 - Added support for @COMPRESS@ variable in configure scripts, defaults
+ to /usr/bin/gzip
- Fixed error on .cfg regarding the NFS statsdata types, were COUNTERs
- when they should be modelled as GAUGEs
+ when they should be modeled as GAUGEs
0.05 - Added support for @PROC@ variable in configure scripts
Modified: orca/trunk/data_gatherers/procallator/README
==============================================================================
--- orca/trunk/data_gatherers/procallator/README (original)
+++ orca/trunk/data_gatherers/procallator/README Tue Aug 2 20:17:36 2005
@@ -1,4 +1,4 @@
-Linux ORCA-aware statistics colector
+Linux ORCA-aware statistics collector
This piece of software is for use with Orca, by Blair Zajac -
http://www.orcaware.com/ - and intends to provide relevant system statistics
@@ -6,13 +6,13 @@
Requirements:
- A running Orca server.
-- perl 5 installad on target linux systems
-- a mecanism for remote distribution of software to send
- collected stats from de target to the server.
+- perl 5 installed on target linux systems
+- a mechanism for remote distribution of software to send collected
+ stats from the target to the server.
I use rsync, but anything, ranging from ftp to NFS will do fine.
-Check the updat_orca_server.sh script (I use it in crontab) for reference on
-doing it
+Check the update_orca_server.sh script (I use it in crontab) for
+reference on doing it.
Installation:
The installation is quite simple. It installs with orca normal installations
@@ -20,4 +20,4 @@
This software is in alpha stage, use at your own risk.
Any comments to Guilherme Chehab <guilherme_chehab at yahoo.com>
-Copyright (C) 2001-2005 Guilherme Carvalho Chehab. All Rights Reserved
+Copyright (C) 2001-2005 Guilherme Carvalho Chehab. All Rights Reserved.
Modified: orca/trunk/data_gatherers/procallator/TODO
==============================================================================
--- orca/trunk/data_gatherers/procallator/TODO (original)
+++ orca/trunk/data_gatherers/procallator/TODO Tue Aug 2 20:17:36 2005
@@ -2,11 +2,10 @@
- Use the same names for data sets as in the Solaris version to use the same
config files -- that seems harder each version -> too many different metrics
- Document and optimize collector source code. It is possible to do lots of
- optmizations and better memory handling
+ optimizations and better memory handling
- Write better config file for network and NFS stats
- Add web server stats
- LVM statistics
-- Document metric meanings and best tunning practices
+- Document metric meanings and best tuning practices
-
-Copyright (C) 2001-2005 Guilherme Carvalho Chehab. All Rights Reserved
+Copyright (C) 2001-2005 Guilherme Carvalho Chehab. All Rights Reserved.
Modified: orca/trunk/data_gatherers/procallator/procallator.pl.in
==============================================================================
--- orca/trunk/data_gatherers/procallator/procallator.pl.in (original)
+++ orca/trunk/data_gatherers/procallator/procallator.pl.in Tue Aug 2 20:17:36 2005
@@ -45,7 +45,7 @@
# Initializations
$DEBUG = 0;
-$r = 0; # Rotating indice for measuring counter differences
+$r = 0; # Rotating index for measuring counter differences
$rate_ok = 0; # Check if is ok to calculate rates
$num = 0; # Serial number of output file
$n_cols[0] = 0;
@@ -294,7 +294,7 @@
open( F_VMSTAT, "<$PROC/vmstat" );
while ( $line = <F_VMSTAT> ) {
- # Not sure about the meaning of theese
+ # Not sure about the meaning of these
#if ( $line=~/pgactivate/) {
# ($dumb, $page_in[$r])= split / +/,$line;
#}
@@ -311,8 +311,8 @@
close(F_VMSTAT);
}
-# Now lets get 2.4 /proc/partitions and 2.5 /proc/diskstats for acurate disk measurements
-#
+ # Now lets get 2.4 /proc/partitions and 2.5 /proc/diskstats for
+ # accurate disk measurements
if ( $minor >= 4 ) {
(
$dsk_stat_t[$r], $dsk_rio_t[$r], $dsk_rblk_t[$r],
@@ -370,7 +370,7 @@
);
}
else {
- put_output( # 2.6 has less metrics, wich messes vars names
+ put_output( # 2.6 has fewer metrics, which messes vars names
"part_rd_$name[$r][$i]/s",
rate( $rdops[$r][$i], $rdops[ 1 - $r ][$i] ),
"part_wr_$name[$r][$i]/s",
@@ -430,7 +430,7 @@
close(F_STAT);
- # Get memory ocupation
+ # Get memory occupation
open( F_MEMINFO, "<$PROC/meminfo" );
if ( $version !~ /^2\.6/ ) {
<F_MEMINFO>;
@@ -970,7 +970,7 @@
);
}
- # Get filesystem ocupation
+ # Get filesystem occupation
@df = `/bin/df -klP`;
for ( $i = 1, $j = 0 ; $df[$i] ; $i++ ) {
if ( !( ( $df[$i] =~ /cdrom/ ) || ( $df[$i] =~ /cdrom/ ) ) ) {
@@ -1013,9 +1013,9 @@
$r = 1 - $r;
$rate_ok = 1;
-} while ( !$DEBUG || $r ); # If in debug mode does only 2 iteractions
+} while ( !$DEBUG || $r ); # If in debug mode does only 2 iterations
-# to perl dont complain on unused vars
+# to perl don't complain on unused vars
( $os, $n_fs, $net_parms, $n_nets, $cpu, $yday, $isdst ) =
( $os, $n_fs, $net_parms, $n_nets, $cpu, $yday, $isdst );
More information about the Orca-checkins
mailing list