Sponsored Content
Top Forums Shell Programming and Scripting Tailing logs from different files into one single file Post 302871909 by Peasant on Thursday 7th of November 2013 09:05:21 AM
Old 11-07-2013
Have you considered multitail ?

Regards
Peasant.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tailing logs

Hi I'd like to achieve the ff functionality; tail -f log | grep keyword ...... and then perform a function. That is, I like to tail a log and when a certain keyword appears I then want my script to play an audio file for example. Any ideas?? Cheers M (1 Reply)
Discussion started by: squeakywheel
1 Replies

2. Shell Programming and Scripting

Tailing 2 or more log files simultaneously PERL

Hi, I am having issue where I have to tail 3 log files continuously (forever) and while I am reading the files , parse them and shove the data into DB. I can do this with one file totally fine but how can I read 3 files at the same time? I am not really looking for code (but would be nice) but... (3 Replies)
Discussion started by: Dabheeruz
3 Replies

3. Shell Programming and Scripting

How to put multiple logs in single line?

Hi, I have a script which generates a log file on demand by redirecting the output to a log file. But the requirement is : echo A echo B echo C should print A B C not like A B C and this has to be handled in script only..not in the shell level (while running the script only) .... (5 Replies)
Discussion started by: bhaskar_m
5 Replies

4. Shell Programming and Scripting

Tailing new log file & echo the string on console

Guys, I do have a script that runs to take the server out from network, after running the script it is writing the new log file{outFile} in to directory . Now what i need is my script should tail the last modified file{outFile} & search the string {Server Status} ans should echo the same at the... (0 Replies)
Discussion started by: raghunsi
0 Replies

5. Shell Programming and Scripting

Tailing last modified part of log file

I have a log file which contains data like this This log file is updated twice a day at 7am and 6pm, I want a script(which i will make run at 7:10am and 6:10pm) which should fetch only the last appended lines since last update.. I mean.. if i execute the script at 7.10am 3/3/2010 it... (4 Replies)
Discussion started by: user__user3110
4 Replies

6. UNIX for Dummies Questions & Answers

tailing a file which contains Control chracters

Hi. I have a log file which gets updated by a java process and it uses ASCII STX and ETX characters (i.e CTRL-B and CTRL-C characters) to demarcate each XML message logged. so the format of the file is something like STX XML_MESSAGE1 .. .. ETX STX XML_MESSAGE2 .. .. ETX each XML... (4 Replies)
Discussion started by: gregoryp
4 Replies

7. Shell Programming and Scripting

Redirect all logs files contents into a single log file

Hi , I have a Data cleansing process which creates different log file for each step , when the process runs it creates following log files in below order: p1_tranfrmr_log.txt p1_tranfrmr_stats.txt p2_globrtr_log.txt p2_globrtr_stats.txt p3_cusparse_log.txt p3_cusparse_stats.txt ' '... (8 Replies)
Discussion started by: sonu_pal
8 Replies

8. Shell Programming and Scripting

Concatenating 3 files into a single file

I have 3 files File1 C1 C2 c3 File 2 C1 c2 c3 File 3 C1 c2 c3 Now i want to have File1 as C1 c2 c3 I File2 as C1 c2 c3 O File3 as c1 c2 c3 D and these 3 files should be concatenated into a single file how can it be done in unix script? (3 Replies)
Discussion started by: Codesearcher
3 Replies

9. Shell Programming and Scripting

Paste 2 single column files to a single file

Hi, I have 2 csv/txt files with single columns. I am trying to merge them using paste, but its not working.. output3.csv: flowerbomb everlon-jewelry sofft steve-madden dolce-gabbana-watchoutput2.csv: http://www1.abc.com/cms/slp/2/Flowerbomb http://www1.abc.com/cms/slp/2/Everlon-Jewelry... (5 Replies)
Discussion started by: ajayakunuri
5 Replies

10. UNIX for Beginners Questions & Answers

Output file name and file contents of multiple files to a single file

I am trying to consolidate multiple information files (<hostname>.Linux.nfslist) into one file so that I can import it into Excel. I can get the file contents with cat *Linux.nfslist >> nfslist.txt. I need each line prefaced with the hostname. I am unsure how to do this. --- Post updated at... (5 Replies)
Discussion started by: Kentlee65
5 Replies
SPLAY(1)							Applications/Sound							  SPLAY(1)

NAME
splay - MPEG-1,2 Audio layer 1,2,3 file player SYNOPSIS
splay [-2VMfmrsv] [-k num] [-d dev] [-l list] [-t num] filenames... DESCRIPTION
Splay is the sound file player such as MPEG-1,2 Audio files. And you can play these files using list file. With pthread, it can play sound files smoother. OPTIONS
Splay has several options. -2 play MPEG-Audio files with half-frequency. If you use this option, you may play MPEG audio files with job which exhausts CPU very much. -f display info on played and remaining frames and time. -m force to mono. Play with mono even if file is in stereo. -r Repeat forever. If you -r with -s, list files are shuffled every time. -s Shuffle play. If you give list file or a number of files, Splay will rearrange them randomly. And with -r every time the order of files is changed. -v[v[v]] Verbose, Very verbose, Very very verbose. -M Play MPEG file from standard input. -V Show version number. -t num num of frames were saved during playing. When CPU is so busy and prevents splay from decoding, splay will play back using saved frames. This feature lets you do other job freely while listening to MPEG music. -k num num of frames are skipped at the start of playing. -d dev Change device file. Default device file is /dev/dsp. If you can't use this device file or you can output raw type data to file, you can use this option. If the first character of dev is / , dev would be considered as device file, If the first character of dev is - , dev would be considered as standard output, otherwise dev would be considered as normal file. -l list Select list file. http:// can be used. (e.g. http://localhost/abc.m3u) filenames You can put several files, and use http:// If you use -l option, these will be ignored. by Woo-jae Jung Aug 3 1997 SPLAY(1)
All times are GMT -4. The time now is 05:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy