Sponsored Content
Full Discussion: log file scanner
Operating Systems Solaris log file scanner Post 72899 by plimpix on Wednesday 25th of May 2005 12:06:48 PM
Old 05-25-2005
Computer swatch tool

swatch is the program you are after


"Swatch is a Perl utility, written by Todd E. Atkins that provides automated filtering of system log messages. Swatch can be run as a daemon process on Unix operating systems to monitor specified files (logs) for user-defined pattern matches. When a pattern is matched, swatch can perform corresponding configured actions, including the automatic notification of support staff."

http://sourceforge.net/docman/displa...group_id=25401
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

scanner does not support UFS? Help needed!

Hello, I hope somebody can help me. I have a new scanner, that says this: "EPSON Scan does not support the UNIX File System (UFS) for Mac OS X. You must install EPSON Scan on a disk or in a partition that does not use UFS." I have UFS.. is there anything I can do? How do I create/find such a... (0 Replies)
Discussion started by: Hannako
0 Replies

2. Shell Programming and Scripting

Need some help with shell content scanner

Just started to create my own small content scanner that searches all the visible files on my server, but now I got stuck. It should be used to scan the files for phrases like in the following example. What I tried is the following code: #!/bin/bash find /home/userid*/public_html/ -size... (18 Replies)
Discussion started by: medic
18 Replies

3. Hardware

How and from where to download scanner and camera hardware in my pc?

1, How and from where to downlode scanner and camers hardware in my pc , my computer software dosent have Scanner and caraea hardware. Ecperts & SW plz let me know 2, where do downlode LAN local area net in PC when my another PC LAN software is not working (1 Reply)
Discussion started by: strecones
1 Replies

4. Solaris

Sparc 20 Server and Drum Scanner...

I am looking for a free low overhead software to do basic TIFF-16 levels and to jpeg conversion. I know very little about the Solaris OS so any pointers in what 7.0 already provides and what free software is already out there for imaging and easy ftp is appreciated. We also want to do web... (0 Replies)
Discussion started by: aleatory
0 Replies

5. Linux

micro film scanner

epson microfilm 500 scsi: Is there any way to make this work under linux ? I'm using pclinuxos, it shows the machine in the device panel as sg2 and lists the machine , so Im guessing the kernel knows what it is, but I can't view it as a scanner or capture or input device . What catagory does... (4 Replies)
Discussion started by: tom1200
4 Replies

6. Red Hat

IP Scanner tool

Hey guys.. What is the best tool that can be used on Linux for IP scanning tool that can bring ping status, hostname, and any other open service. I wish I can find a tool like "The Dude" from Mikrotik, but that works only under Windows. Thanks (4 Replies)
Discussion started by: leo_ultra_leo
4 Replies

7. Ubuntu

Can Scanner be Initialized from the Terminal

Hi, somewhat of a newbie with Linux, although I have been at it for about three weeks now. Is there a way to wake up or initialize my scanner with a command in the terminal? (6 Replies)
Discussion started by: klrman
6 Replies

8. Hardware

Epson Scanner

Running Debian 8.5 on a Dell Laptop I have an Epson V39 scanner. Simple scan cannot detect it. Here is what I have: root@server1:/home/server1# sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first... (2 Replies)
Discussion started by: Meow613
2 Replies

9. Shell Programming and Scripting

Client/intruder scanner for lan

Hi! I'm totally new here. I have a script that I am working on, but so far it is not rock solid in its performance. Perhaps someone can tell me if i am thinking wrong anywhere. Below the code: #! /bin/bash clear cd... (0 Replies)
Discussion started by: dr_xemacs
0 Replies
CG(1)																	     CG(1)

NAME
cg - Recursively grep for a pattern and store it. SYNOPSIS
cg [ -l ] | [ [ -i ] pattern [ files ] ] DESCRIPTION
cg does a search though text files (usually source code) recursively for a pattern, storing matches and displaying the output in a human- readable fashion. It is intended to give some of the functionaly of AT&T's cscope(1) tool, with the advantages of simplicity and not being language-specific. The script will colorize output if configured as such. It is typically run with a Perl regular expression to search for. The search can be made case insensitive by using the -i option. A list of files may also be specified with an additional argument after the pattern. Put the files pattern in quotes to make it be matched by Perl rather than by the shell. Running the script with no arguments will recall the results of the previous search. After the search, entries found can be edited using the vg(1) script. The -l option shows the last log made. SOME EXAMPLES
cg - alone recalls the previous search results. cg -i pattern - search the default list of files for all files matching the pattern (and case-insensitively). cg pattern '*.c' - search recursively for pattern in all *.c files. This automatically converts '*' to '.*' and '.' to '.' for you and does a Perl pattern match on all files in the tree. cg pattern *.c - search through the shell-expanded list of *.c files, so not done recursively (in other words, only the files your shell pass to the script as arguments). cg -l - show the last log made. COMMAND-LINE OPTIONS -i Do a case-insensitive search. -l Show the last log made. -p Toggle the default pager option. cg has a bulit-in pager function, which can be enabled or disabled by default (in .cgvgrc). If the default is enabled, this option disables the pager; if the default is disabled, this option enables it. -P Force the built-in pager to be disabled. FILES
${HOME}/.cglast Log file of the last search. ${HOME}/.cgvgrc Per-user configuration file (if the defaults are not desireable). ${HOME}/.cgvg/* Log files in $HOSTNAME.shell_pid form with the log of the last search. SEE ALSO
vg(1), perl(1), find(1), grep(1), cscope(1) AUTHOR
cg was written by Joshua Uziel <uzi@uzix.org>. 13 Mar 2002 CG(1)
All times are GMT -4. The time now is 02:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy