ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/plugins/perl/i-scream_disk.pl
Revision 1.7
Fri Mar 28 16:30:34 2003 UTC (21 years, 7 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Removed some un-used code from CVS. We can always resurrect this later if
someone feels they want to work on it. Gone are the old perl ihost which
isn't needed now, winhost which is broken and shows no sign of being fixed,
and DBReporter. If someone wants to revive them, I'll undelete them :-)

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue May 21 16:47:12 2002 UTC (22 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5
Added URL to GPL headers.

Revision 1.5 - (view) (annotate) - [select for diffs]
Sat May 18 18:15:56 2002 UTC (22 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.4: +20 -1 lines
Diff to previous 1.4
i-scream is now licensed under the GPL. I've added the GPL headers to every
source file, and put a full copy of the license in the appropriate places.
I think I've covered everything. This is going to be a mad commit ;)

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Dec 18 04:07:17 2001 UTC (22 years, 10 months ago) by tdb
Branch: MAIN
Changes since 1.3: +6 -12 lines
Diff to previous 1.3
Solaris process accounting made me notice the number of times `uname` was
being called. It was way over the top, especially as it's unlikely to
change during an invocation of ihost :) Before it was run by each plugin
every time they were run - in total 50 times a minute :/ Now, it's run once
by ihost at startup, and that's it. The value read at startup is passed as
a command line argument to each plugin. The plugins can fallback on working
out the ostype using `uname` if they don't get given one on the command
line.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Dec 3 15:14:11 2001 UTC (22 years, 10 months ago) by tdb
Branch: MAIN
Changes since 1.2: +21 -8 lines
Diff to previous 1.2
Added an exclusion mechanism for sending disk information. A list can now
be specified like this:

my($exclude_list) = "^/nfs/;^/cdrom/";

These are just regular expressions saying ignore anything starting with
either /nfs/ or /cdrom/. These are the defaults as they suit our systems
well - /nfs/ mounts are nfs mounted from other systems, and /cdrom/ mounts
are obviously cd-roms (always 100% full!).

I did consider putting this in an external config file, but the overhead of
reading it in every time was too expensive. As it is this script is run on
every check, so it can be changed "live" anyway.

Revision 1.2 - (view) (annotate) - [select for diffs]
Sun Nov 25 20:33:18 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.1: +8 -6 lines
Diff to previous 1.1
Fixed the following Sourceforge bug tracker:
    [ #483806 ] df output on redhat 7.1

The regular expression now more closely checks what it's parsing, ensuring
that ill-parsing lines are ignored completely. A special check as then been
added for the linux "devfs" which seems to split the line in two. This is a
rather specific check, and I have no idea if this will cover all cases...

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Nov 19 21:42:11 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Initial set of i-scream ihost plugins. These are derived completely from
statgrab, and offer no new features over it. They do, however, allow for
parts of this code to be replaced in other languages if required.
Only a few minor changes were made, mainly for efficiency, commenting, and
some changes of chop to chomp :)

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a