I am using a DEC ALPHA running Digital UNIX (formly DEC OSF/1) and ksh. I have a directory with hundreds of files that only share the extension .rpt. I would like to search that directory based on serial number and operation number and only files that meet both requirements to be printed out. I... (6 Replies)
Hi All,
I have written the below script that searches for the pattern in a file and delete them if present. please can some one have a look and suggest the changes in the script.
#!bin/sh
# The pattern that user want to add to the files
echo "Enter the pattern of the redirect"
read... (4 Replies)
Hi Gurus,
I have a file say for ex. file1 which has 3500 lines in it which are different account numbers and another file (file2) which has 230000 lines in it. I want to read all the lines in file1 and delete all those lines from file2 which has that same pattern as in file1. I am not quite... (4 Replies)
Hi,
I want to list the files containing a no of pattern
like for single string i can use
grep -l "string" *
This command will enlist the files containg this string. Similarly i would like to use for multiple string.
I like to enlist file names having string1 and string 2
Can... (3 Replies)
Hi All,
I have a file in which i have to search for a pattern from the beginning of the file and if the pattern is found , then i have to perform a reverse search from that line to the beginning of the file to get the first occurrence of another pattern.
sample input file
hey
what are you... (8 Replies)
Hi,
I have to write one script that has to search a list of numbers in certain zipped files.
For eg. one file file1.txt contains the numbers. File1.txt contains 5,00,000 numbers and I have to search each number in zipped files(The number of zipped files are around 1000 each file is 5 MB)
I have... (10 Replies)
Hi,
I have code like:
Output it is comming as:
Rels: WM2
Rels: WG2
Rels: 5
- pre/prods.pl
Rels: 6
Rels: 7
Rels: 8
Rels: 10
Rels: Int
But i want only "Rels: 5" pattern Just above "- pre/prods.pl".
By... (7 Replies)
Hi,
We have created a script that would accept the an indicator as a parameter and archive files present in a directory. The indicator would drive what the name pattern of the files to be archived should be.
If the indicator is 1, then the pattern to look out for is FACT*.
If the indicator is... (2 Replies)
Hello,
I have attached 2 files
1) Original_table_definition.txt => which has definition of 3 tables
2) describe_table_output.txt => which has again 3 tables definition gotten thorugh doing a show table or describe table way.
Now difference between 3 tables are that tablea has no... (2 Replies)
Discussion started by: nv186000
2 Replies
LEARN ABOUT DEBIAN
hobbitd_filestore
HOBBITD_FILESTORE(8) System Manager's Manual HOBBITD_FILESTORE(8)NAME
hobbitd_filestore - hobbitd worker module for storing Xymon data
SYNOPSIS
hobbitd_channel --channel=status hobbitd_filestore --status [options]
hobbitd_channel --channel=data hobbitd_filestore --data [options]
hobbitd_channel --channel=notes hobbitd_filestore --notes [options]
hobbitd_channel --channel=enadis hobbitd_filestore --enadis [options]
DESCRIPTION
hobbitd_filestore is a worker module for hobbitd, and as such it is normally run via the hobbitd_channel(8) program. It receives hobbitd
messages from a hobbitd channel via stdin, and stores these in the filesystem in a manner that is compatible with the Big Brother daemon,
bbd.
This program can be started multiple times, if you want to store messages for more than one channel.
OPTIONS --status
Incoming messages are "status" messages, they will be stored in the $BBLOGS/ directory. If you are using xymon(7) throughout your
Xymon server, you will not need to run this module to save status messages, unless you have a third-party add-on that reads the sta-
tus-logs directly. This module is NOT needed to get trend graphs, you should run the hobbitd_rrd(8) module instead.
--data Incoming messages are "data" messages, they will be stored in the $BBDATA directory. This module is not needed, unless you have a
third-party module that processes the data-files. This module is NOT needed to get trend graphs, you should run the hobbitd_rrd(8)
module instead.
--notes
Incoming messages are "notes" messages, they will be stored in the $BBNOTES directory. This modules is only needed if you want to
allow people to remotely update the notes-files available on the Xymon webpages.
--enadis
Incoming messages are enable/disable messages, they will update files in the $BBDISABLED directory. This is only needed if you have
third-party add-ons that use these files.
--dir=DIRECTORY
Overrides the default output directory.
--html Used together with "--status". Tells hobbitd_filestore to also save an HTML version of the status-log. Should not be used unless you
must run with "BBLOGSTATUS=static".
--htmldir=DIRECTORY
The directory where HTML-versions of the status logs are stored. Default: $BBHTML
--htmlext=.EXT
Set the filename extension for generated HTML files. By default, HTML files are saved with a ".html" extension.
--multigraphs=TEST1[,TEST2]
This causes hobbitd_filestore to generate HTML status pages with links to service graphs that are split up into multiple images,
with at most 5 graphs per image. If not specified, only the "disk" status is split up this way.
--only=test[,test,test]
Save status messages only for the listed set of tests. This can be useful if you have an external script that needs to parse some of
the status logs, but you do not want to save all status logs.
--debug
Enable debugging output.
FILES
This module does not rely on any configuration files.
SEE ALSO hobbitd_channel(8), hobbitd_rrd(8), hobbitd(8), xymon(7)Xymon Version 4.2.3: 4 Feb 2009 HOBBITD_FILESTORE(8)