ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/latest/latest.php
Revision 1.53 - (view) (annotate) - [select for diffs]
Sat Jun 30 12:12:49 2007 UTC (17 years, 4 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.52: +9 -9 lines
Diff to previous 1.52 , to selected 1.41
More short tag fixes.

Revision 1.52 - (view) (annotate) - [select for diffs]
Sat Jun 30 11:24:40 2007 UTC (17 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.51: +23 -23 lines
Diff to previous 1.51 , to selected 1.41
Tidy up PHP short tags.

Revision 1.51 - (view) (annotate) - [select for diffs]
Wed Jun 29 14:32:16 2005 UTC (19 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 , to selected 1.41
Fix previous commit.

Revision 1.50 - (view) (annotate) - [select for diffs]
Wed Jun 29 10:26:40 2005 UTC (19 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.49: +21 -4 lines
Diff to previous 1.49 , to selected 1.41
Bunch of updates from skel to sort the encoding of filenames.
I'm beginning to think that we should be just encoding the whole
name or something like that :)

Revision 1.49 - (view) (annotate) - [select for diffs]
Wed May 4 14:14:25 2005 UTC (19 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.48: +25 -4 lines
Diff to previous 1.48 , to selected 1.41
Fix a few bugs in the uptime reporting. Mostly reported by skel.

Revision 1.48 - (view) (annotate) - [select for diffs]
Wed Mar 30 19:31:06 2005 UTC (19 years, 7 months ago) by tdb
Branch: MAIN
Changes since 1.47: +3 -0 lines
Diff to previous 1.47 , to selected 1.41
return nothing if we don't get a match - this is what was happening
anyway, except it generated a warning whilst doing it.

Revision 1.47 - (view) (annotate) - [select for diffs]
Fri Mar 11 12:23:33 2005 UTC (19 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.46: +7 -5 lines
Diff to previous 1.46 , to selected 1.41
Updates from skel (Daniel Piddock):

 - Fix undefined variable warnings
 - Comment out auto-scroll code since it doesn't really work
 - Fix some minor formatting problems

Also various other updates to the main page and comments.

Revision 1.46 - (view) (annotate) - [select for diffs]
Fri Feb 11 14:05:31 2005 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.45: +79 -1 lines
Diff to previous 1.45 , to selected 1.41
Updates from skel (Daniel Piddock):

 - Fix overflow in disk inodes on PHP page.
 - Added code to get passed in variables from the $_GET variable. Makes
   things work under a pretty default Debian apache2/php4 set up.
 - Graphs displays "Network IO" in the drop down list, not "Network usage"
   for consistency with everything else.
 - Display Swap, memory and disk usage in MB rather than bytes in latest
   view.
 - Display uptime in a pretty days/hours/minutes/seconds rather than just
   seconds, in latest view
 - Include file system type under Disks in latest view

Thanks Daniel!

Revision 1.45 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:28 2004 UTC (20 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44 , to selected 1.41
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.44 - (view) (annotate) - [select for diffs]
Mon Mar 10 21:17:42 2003 UTC (21 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.43: +45 -2 lines
Diff to previous 1.43 , to selected 1.41
Update the web pages to deal with the new data.

Revision 1.43 - (view) (annotate) - [select for diffs]
Mon Oct 21 13:02:58 2002 UTC (22 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.42: +8 -6 lines
Diff to previous 1.42 , to selected 1.41
Add support for disk inode usage, and paging activity. Have added to both
the latest data page, and to the graphs sections. Also reworked the memory,
swap, and disk graphing to be percentage based.

Revision 1.42 - (view) (annotate) - [select for diffs]
Sun Oct 13 12:41:16 2002 UTC (22 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.41: +12 -9 lines
Diff to previous 1.41
Updated the "latest data" page to link to the newer graphs.php script
rather than the obselete browser.php script.

Revision 1.41 - (view) (annotate) - [selected]
Tue May 21 16:47:15 2002 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.40: +1 -0 lines
Diff to previous 1.40
Added URL to GPL headers.

Revision 1.40 - (view) (annotate) - [select for diffs]
Sun May 19 21:15:29 2002 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.39: +8 -4 lines
Diff to previous 1.39 , to selected 1.41
Slightly better - this way we will still show all the disks.

Revision 1.39 - (view) (annotate) - [select for diffs]
Sun May 19 21:09:57 2002 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38 , to selected 1.41
We need to make sure the max is not 0 either, otherwise we'll get a divide
by zero a few lines further down.

Revision 1.38 - (view) (annotate) - [select for diffs]
Sun May 19 15:42:26 2002 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 , to selected 1.41
empty($var) tests if $var is unset AND if $var is 0. We don't want the
latter so we now use !isset($var) instead. This only tests if it is unset.

Revision 1.37 - (view) (annotate) - [select for diffs]
Sat May 18 18:15:57 2002 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.36: +19 -0 lines
Diff to previous 1.36 , to selected 1.41
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.36 - (view) (annotate) - [select for diffs]
Wed Mar 21 19:23:51 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.35: +1 -1 lines
Diff to previous 1.35 , to selected 1.41
Included the year in the report date.... for those people that
accidentally turn off their i-scream server and don't notice for a couple
of years......

Revision 1.35 - (view) (annotate) - [select for diffs]
Wed Mar 21 18:55:54 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.34: +4 -0 lines
Diff to previous 1.34 , to selected 1.41
Some browsers do not correctly render images if their size is set to
zero.  If one of the graph bar images has a zero width, then it will be
set to 1.

Revision 1.34 - (view) (annotate) - [select for diffs]
Sun Mar 18 12:56:05 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33 , to selected 1.41
Put the mount point of disk graphs on the next line, as if these are too
long, it causes the graph to be stretched.

Revision 1.33 - (view) (annotate) - [select for diffs]
Sat Mar 17 22:52:58 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.32: +0 -1 lines
Diff to previous 1.32 , to selected 1.41
Removed the display of number of disks in the packet (this shouldn't be there)

Revision 1.32 - (view) (annotate) - [select for diffs]
Sat Mar 17 22:51:40 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.31: +0 -1 lines
Diff to previous 1.31 , to selected 1.41
Removed the echo of disk information beneath each bar

Revision 1.31 - (view) (annotate) - [select for diffs]
Sat Mar 17 22:49:32 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.30: +6 -4 lines
Diff to previous 1.30 , to selected 1.41
Put the correct parameters in the call to showBar from within showDisks()

Revision 1.30 - (view) (annotate) - [select for diffs]
Sat Mar 17 22:37:32 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.29: +3 -0 lines
Diff to previous 1.29 , to selected 1.41
Stopped the disk loop going forever when it reached the last disk(!)

Revision 1.29 - (view) (annotate) - [select for diffs]
Sat Mar 17 22:35:16 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28 , to selected 1.41
Added the disk report to the display list.
Fixed the getPregMatch function so it actually works now ;)

Revision 1.28 - (view) (annotate) - [select for diffs]
Sat Mar 17 22:27:22 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.27: +27 -6 lines
Diff to previous 1.27 , to selected 1.41
Blimey, added all the stuff needed to make reports on all the disks described
in the packet.

Revision 1.27 - (view) (annotate) - [select for diffs]
Sat Mar 17 22:03:33 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 , to selected 1.41
Rather than changing the size of the bar to draw, we now change the original
value given to the function, as this is then echoed above the bar itself.

Revision 1.26 - (view) (annotate) - [select for diffs]
Sat Mar 17 21:57:16 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.25: +5 -1 lines
Diff to previous 1.25 , to selected 1.41
Bar displays can now be called with the optional paramter of $arrange.  If
this is set to "swap", then the 'difference' is displayed.  I.e. if we
have the data available for free memory and total memory, then it will be
possible to display a bar of used memory.

Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Mar 16 18:53:02 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.24: +6 -5 lines
Diff to previous 1.24 , to selected 1.41
A sensible error message is shown for machines for which no reports are
available, or if the data is not readable.

Revision 1.24 - (view) (annotate) - [select for diffs]
Tue Mar 13 20:55:43 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.23: +12 -3 lines
Diff to previous 1.23 , to selected 1.41
Added links to charts for all scalar values that are numbers.
Corrected the spelling of "Receipt" while I was at it... well,
nobody else noticed ;)

Revision 1.23 - (view) (annotate) - [select for diffs]
Tue Mar 13 20:31:39 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.22: +2 -8 lines
Diff to previous 1.22 , to selected 1.41
Tidied up the way links are presented for historical reports

Revision 1.22 - (view) (annotate) - [select for diffs]
Tue Mar 13 20:26:35 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 , to selected 1.41
Minor changes

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Mar 13 20:21:11 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 , to selected 1.41
Small chart image shown as a link to the historical reports

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue Mar 13 20:08:53 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.19: +9 -0 lines
Diff to previous 1.19 , to selected 1.41
Now got a function to provide a link to the relevant historical report

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue Mar 13 19:57:51 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 , to selected 1.41
Used a style for the color of lines, as the color attribute is not a valid HTML4 attribute

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Mar 13 18:46:26 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.17: +1 -26 lines
Diff to previous 1.17 , to selected 1.41
File listing function is included from the shared iutil.inc.php file.

Revision 1.17 - (view) (annotate) - [select for diffs]
Sun Mar 11 22:11:56 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 , to selected 1.41
Altered the display of the packet date.

Revision 1.16 - (view) (annotate) - [select for diffs]
Sun Mar 11 21:56:23 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.15: +2 -5 lines
Diff to previous 1.15 , to selected 1.41
Minor changes

Revision 1.15 - (view) (annotate) - [select for diffs]
Sun Mar 11 21:46:46 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.14: +3 -0 lines
Diff to previous 1.14 , to selected 1.41
Graphs are now a little more spaced out so that there is no confusion
about which title belongs to which graph.

Revision 1.14 - (view) (annotate) - [select for diffs]
Sun Mar 11 21:45:06 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 , to selected 1.41
Graphs display their actual value rather than just a graphic

Revision 1.13 - (view) (annotate) - [select for diffs]
Sun Mar 11 21:41:24 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 , to selected 1.41
Those little bar chart bits now have a handy little addition to the
scale... units!

Revision 1.12 - (view) (annotate) - [select for diffs]
Sun Mar 11 21:38:57 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.11: +40 -4 lines
Diff to previous 1.11 , to selected 1.41
Added age warnings to the reports.  Jibbled the layout a little as well.

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Mar 9 09:30:54 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.10: +1 -4 lines
Diff to previous 1.10 , to selected 1.41
Last report has a line after it now.  Makes each section more obvious.

Revision 1.10 - (view) (annotate) - [select for diffs]
Fri Mar 9 09:29:57 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 , to selected 1.41
Graphs at the bottom of the page are now centered.  This seems to look
better.

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Mar 9 09:29:01 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.8: +8 -7 lines
Diff to previous 1.8 , to selected 1.41
Layout changes.  Each section is now titled.  Horizontal rules are now
where they should be ;)
Font sizes are slightly smaller as well.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Mar 8 22:29:19 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 , to selected 1.41
Cell contents in showStat(. . .) are now aligned to the top of the cell.

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Mar 8 22:19:09 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 , to selected 1.41
Minor regexp change

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Mar 8 22:13:16 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.5: +4 -0 lines
Diff to previous 1.5 , to selected 1.41
Added virtually all of the report fields to the display list (phew).
This now also used the printLine() method to separate fields as desired.

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Mar 8 21:57:18 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 , to selected 1.41
The machine name list is now in alphabetical order.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Mar 8 21:55:49 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 , to selected 1.41
The preg_match on the packet data now matches with an optional "}" at the
end of a value such that the last item in a packet is never forgotten
about

Revision 1.3 - (view) (annotate) - [select for diffs]
Thu Mar 8 21:52:06 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 , to selected 1.41
For some odd reason, the drop down menu was unable to populate itself with
machine names.  This was traced to the is_dir method in PHP which seems to
not always do as it should... i.e. return true if the argument is a
directory.

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Mar 8 21:40:45 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 , to selected 1.41
Modified the config so that the report data comes from the group file
space.  The latest.php file now also allows the report file name to be
configured... this is because Tim wrote the first lot with the wrong
filename ;)

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Mar 8 21:22:05 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Diff to selected 1.41
The PHP interface for viewing the latest data about hosts.
This file gets its config from another php file and the reports to run
from yet another php file.

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