Sponsored Content
Top Forums Shell Programming and Scripting How to tail -f multi logfile in 1 shell script.? Post 302801333 by Revansidhu on Thursday 2nd of May 2013 12:05:10 AM
Old 05-02-2013
try this one!
tail -f /usr/home/localmode/mode110l/log/logic/number110/digit110_digit110m4_2013050210.txt /usr/home/localmode/mode103l/log/logic/number103/digit103_digit103m4_2013050210.txt ... file names

Last edited by Revansidhu; 05-02-2013 at 01:11 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Korn Shell Script to find out error in logfile

Hi All, I am new to this forum as well as to unix scripting. Can you please help me to create a korn shell script to find out errors in logfiles and get the name of that logfile ( which is having error) in email and email it to me? (2 Replies)
Discussion started by: jithu
2 Replies

2. Shell Programming and Scripting

Grep or Tail in shell script

Hi, I am writing a shell script that checks catalina logs on a production system and mails me if it detects errors. It greps the logs for known errors which i have defined as variables. The problem is the logs are huge, approx 30,000 before they rotate. So I am forced to use grep instead... (3 Replies)
Discussion started by: Moxy
3 Replies

3. Shell Programming and Scripting

Reading multi lines variable using shell script

Hi, I am using #!/bin/sh shell. I have a variable which contains multi line data. I want to read that variable line by line. Can someone post the code to read the multi line variable line by line? Any help is much appreciated. (2 Replies)
Discussion started by: gupt_ash
2 Replies

4. Shell Programming and Scripting

generate logfile in a shell script

Unix Gurus, I have a shell script which has few "echo" statements. I am trying to create a logfile where all the outputs of the echo statement sare stored. I will have to add this as the final step in the existing script so that everytime the script runs, a logfile is generated with all the... (1 Reply)
Discussion started by: shankar1dada
1 Replies

5. Shell Programming and Scripting

How to tail -f logfile. if log file is generate every 1 HR.?

Hello, How to tail -f logfile. if log file is gennerate every 1 HR. I want it works automatically all the time. never changes it by manual. Thank ls -trl CybertonTransaction.* -rw-r--r-- 1 autobot robot 617071 Jul 9 00:02 CybertonTransaction.20130709-00.log -rw-r--r-- 1 autobot ... (12 Replies)
Discussion started by: ooilinlove
12 Replies

6. UNIX for Dummies Questions & Answers

Shell script to email logfile

Hi, I am trying to write a shell script to send a log file of a query run in oracle.Pls help me I am very new to shell scripting. echo " Checking Activity Spec " sqlplus / as sysdba <<END_SQL @activity_spec_metadata.sql quit;>>logfile END_SQL mailx -s "Checking Activity Spec schedule... (1 Reply)
Discussion started by: Rossdba
1 Replies

7. Shell Programming and Scripting

Logfile monitoring with logfile replacement

Bonjour, I've wrote a script to monitor a logfile in realtime. It is working almost perfeclty except for two things. The script use the following technique : tail -fn0 $logfile | \ while read line ; do ... some stuff done First one, I'd like a way to end the monitoring script if a... (3 Replies)
Discussion started by: Warluck
3 Replies

8. Shell Programming and Scripting

Shell script, sftp logfile not showing transfer information

Hello, Recently I have changed some crontab scripts which I execute to do different tasks mainly transfering some files from one server to the other. The main change was the protocol from ftp transfer to sftp. Ftp server was the MS Windows default service, and Sftp server is an proprietary sw... (4 Replies)
Discussion started by: enux
4 Replies

9. UNIX for Beginners Questions & Answers

Merge multi-lines into one single line using shell script or Linux command

Hi, Can anyone help me for merge the following multi-line log which beginning with a " and line ending with ": into one line. *****Original Log***** 087;2008-12-06;084403;"mc;;SYHLR6AP1D\LNZW;AD-703;1;12475;SYHLR6AP1B;1.1.1.1;0000000062;HGPDI:MSISDN=12345678,APNID=1,EQOSID=365;... (3 Replies)
Discussion started by: rajeshlinux2010
3 Replies

10. UNIX for Beginners Questions & Answers

Shell script to tail a file with unknown numbers

Hello, I would like to write script to tail a file for different environment But the number of lines are keep changing How can I write a script For example: env could : A, B or C and log files could be a.log, b.log and c.log with the number of lines can change say sometimes it 100 last... (9 Replies)
Discussion started by: encrypt_decrypt
9 Replies
CVS2HTML(1)						       Debian user's manual						       CVS2HTML(1)

NAME
cvs2html - render a CVS commit log in HTML SYNOPSIS
cvs2html [-a[-b][-k]] [-n numdif] [-l/-L home] [-e] [-f] [-d MMM DD [YYYY]] [-D DD] [-i image]] [-h] [-v] [-w framewidth] [-s percentage] [-N maxchrono] [-rrev1:rev2] [-c|-C cfilename] -O | -o htmlname [-p cvspath] [-v verbosity] DESCRIPTION
The cvs2html script fetches the commit log for a CVS module and renders it in HTML. -a Generate additional fields and files containing differences between versions in an xdiff-like side by side manner. -b Use spaces as breakpoints to wrap the text, if -a is specified. This is used to stop the two columns from exceeding the total width. -c | -C filename Save a chronologically sorted list of all log entries in html format in filename. Use -C to reverse-sort the file. -d MMM DD [YYYY] Omit all log messages prior to the given date. The first three letters of the month should be used (eg Jun 5). The year is optional. -D DD Omit all log messages older than DD days. -e Print log messages in courier (non-proportional) font. -f Generate individual log files for each file when using -o. -h Show help -i image Make image the background image. -k Ignore changes in lines caused by CVS-keyword substitutions when -a is specified. -l home Make links relative to home. -L home Make links relative to home, but substitute file extensions with .html. -n numdiff Output only the latest numdiff diffs in the log. Older commits will only have the log data displayed. -N maxchrono Show only the latest maxchrono file changes in the chronological list of changes. -o output If output is a directory, all html files produced are stored there, using the name of the repository as the base filename. Other- wise, output is used as the base name. Generate frames for easier browsing. -O output If output is a directory, all html files produced are stored there, using the name of the repository as the base filename. Other- wise, output is used as the base name. -P cvspath Set the cvs path to cvspath. -rrev1:rev2 Show only the log messages between rev1, and rev2. If a file isn't tagged, then the whole revision story of the file is shown. -s percentage Make the width of the left frame, percentage of the window. -v Insert CVSROOT information in the index. -V verbosity Set the verbosity. The higher verbosity is, the more output is printed out. -w framewidth Make the width of the left frame, framewidth pixels. EXAMPLE
cvs2html -l http://cvs.sslug.dk/linuxbog -f -p \ -o cvs2html/index.html -v -a -b -n 6 -C chrono.html Will create a directory called cvs2html directory. This directory will contain a log data file, for every file in the repository. The last 6 commits to every file will have a diff available. All links will be relative to http://cvs.sslug.dk/linuxbog. It will also create a file with all the log data in it, in chronological order. AUTHORS
The cvs2html script was written by Peter Toft and others (see the comments in /usr/bin/cvs2html for an exhaustive list). This manual page was written by Antti-Juhani Kaijanaho for Debian GNU, and modified by Pascal Hakim. SEE ALSO
The file /usr/share/doc/cvs2html/help.txt. The source code to cvs2html, in /usr/bin/cvs2html. cvs(1) Debian Project 1999-12-10 CVS2HTML(1)
All times are GMT -4. The time now is 11:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy