03-09-2012
To avoid confusion with the original system commands, I kept a g prefix on all additional command: you would therefore have gfind ... for locate, dont forget to initiate then (using cron...) update on a regular basis its DB a good practice for history prupose is to archive monthly the DB, like that you can if requested show a file existed or not at a time...(e.g. programmers removing programs and forgetting asking you to restore the program maybe erased by mistake within last few days: You can show it was not there 2 months ago already...)
8 More Discussions You Might Find Interesting
1. Programming
hello,
i have use only TURBO C for programming.i used to did only on windows OS. but now i am trying to program on Linux systems.so i heard about GNU C tools and compiler. i am a bit confused and i want to know a very simplified answer for it. can anybody help me. what a heck is this GNU......
... (1 Reply)
Discussion started by: vibhory2j
1 Replies
2. UNIX for Dummies Questions & Answers
I know there are some posts on getting the time with milliseconds included and I realize unix may not be the best on this.
I have seem some posts where its advised to install the GNU date.
Any one know where I can download this as I am struggling to find it.
Alternatively - if you have... (5 Replies)
Discussion started by: frustrated1
5 Replies
3. Linux
Hi all,
I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies
4. Linux
I m working on a project of making a boot/root pendrive linux from source.
I have got the basic working root filesystem with busybox.
Now i wish to install GNU C library. But couldnt find a proper document to refer to. Also i tried the steps in LFS with just specifying the installation directory... (2 Replies)
Discussion started by: amu
2 Replies
5. BSD
Is anyone using or planning to use GNU BSD in production yet? I'd like to hear experiences. (Debian GNU/NetBSD) (8 Replies)
Discussion started by: vpsville
8 Replies
6. Ubuntu
Hi
I have dual operating system i.e Win XP and KUBUNTU. Now my windows XP is corrupted and i want to reinstall Win XP. So i just want to know Shall i have to reinstall Linux also or i can only reinstall win xp without affecting linux installation.
Thanks
Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies
7. AIX
Hi, We are running 64-bit AIX 6.1. I have gcc 4.2.0 on our system. I'd like to get the latest copy of GNU findutils on the server. From what I see, I have two basic options: 1) download source code and compile using gcc or 2) download rpm and install. Would someone please point me in the right... (1 Reply)
Discussion started by: Eben Yong
1 Replies
8. Shell Programming and Scripting
I'm just learning Regex and while testing my understanding I received some unexpected results.
I created example.txt with the text "abcddd". Running the command
grep --color 'd' example.txt
I received the results:
"abcddd" with the first and second letter d highlighted in red.
So... (1 Reply)
Discussion started by: rthomas529
1 Replies
LEARN ABOUT DEBIAN
bb-hist.cgi
BB-HIST.CGI(1) General Commands Manual BB-HIST.CGI(1)
NAME
bb-hist.cgi - CGI program to display service history
SYNOPSIS
bb-hist.cgi
DESCRIPTION
bb-hist.cgi is invoked as a CGI script via the bb-hist.sh CGI wrapper. It is passed a QUERY_STRING environment variable with the following
parameters:
HISTFILE (a Xymon service history file)
ENTRIES (the number of entries to show)
The following non-standard parameters are handled by the bbgen version of bb-hist.cgi:
IP (IP address of host - for display purposes only)
PIXELS (width of colorbar when in pixel-mode)
ENDTIME (when the colorbar begins, a time_t value)
BARSUMS (which colorbars and summaries to show)
bb-hist.cgi analyses the service history file for changes that have occurred within the past 24 hours, and build a colorbar showing the
status of the service over this period of time. A statistics summary is also produced, listing the amount of time for each status (green,
yellow, red, purple, blue, clear).
Finally, a summary of the last N events is given, with links to the actual event logs.
Unlike the standard bb-hist.sh script, bb-hist.cgi provides a colorbar and statistics summaries also covering the past 1 week, 4 weeks and
1 year of data. Via links it is possible to browse the entire history of the service at the requested interval.
Note that since the resolution of the display is limited, events may be too short to show up on a colorbar; also, the exact placement of an
event may not fully match up with the time-markers.
The graphs should correctly handle the display of months with different number of days, as well as the display of periods that involve
beginning and end of Daylight Savings Time, if this occurs in your timezone.
All dates and times shown are in local time for the timezone defined on the BBDISPLAY server.
PARAMETERS
HISTFILE
Defines the host and service whose history is presented.
ENTRIES
The number of log-entries to show in the event log table. Default is 50; to view all log entries set this to "ALL".
IP The IP-address of the host. This is only used for the title of the document.
PIXELS The width of the colorbar graph in pixels. If this is set to 0, a percentage-based graph will be shown, similar to the one provided
by the standard bb-hist.sh script. Pixel-based graphs can have a higher resolution, but do not resize automatically to suit the
size of a browser window. The default value for this parameter is defined at compile-time; 960 is a good value for displays with a
1024x768 resolution.
BARSUMS
Defines which colorbars and summaries to show. This is a number made up from a bitmask. The 1-day graph uses the value "1"; the
1-week graph uses the value "2"; the 4-week graph uses the value "4" and the 1-year graph the value "8". To show multiple graph,
add the values - e.g. "6" will show the 1-week and 4-weeks graphs, whereas "15" will show all the graphs. The default is defined at
compile-time.
ENDTIME
The history display by default ends with the current time. Setting the ENDTIME parameter causes it to end at the time specified -
this is given as a Unix "time_t" value, i.e. as the number of seconds elapsed since Jan 1 1970 00:00 UTC.
OPTIONS
--env=FILENAME
Load the environment from FILENAME before executing the CGI.
SEE ALSO
bb-hosts(5), hobbitserver.cfg(5)
Xymon Version 4.2.3: 4 Feb 2009 BB-HIST.CGI(1)