02-20-2009
How do i get only last 5 minute worth of data
I have a text file called 'tomcat_temp_out'.
I want to get only last 5 minute worth of data from this file and redirect those data into another fule.
Could you please help to work on this?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the opportunituy of learning basics/intermediate jave for 600 Euro. Is this worth learning?? (4 Replies)
Discussion started by: frustrated1
4 Replies
2. UNIX for Dummies Questions & Answers
I have been wanting to get much deaper into the world of computers for quite some time. I know a lot of c++, and plenty of website programming, and decided that the next step should be Unix.
But here's the thing - I know nothing about Unix. I installed it and everything, but it just seemed like... (3 Replies)
Discussion started by: GuyWithAPen
3 Replies
3. UNIX for Dummies Questions & Answers
So my family is cleaning out our house and my dad stumbled on a Unix system with Unigraphix installed on it, and he remembers that it was 1 of 6 computers in a set that he used at a tool and dye machine shop where he worked. He said that the computer by itself with the monitor was $20,000! I was... (8 Replies)
Discussion started by: NVOtosReborn
8 Replies
4. Shell Programming and Scripting
Hi, I've been trying to develop a script that performs the parsing of a log every 1 minute and then generating some statistics. I'm fairly new to programming and this is why I come to ask if I can lend a hand.
this is my log:
xxxx 16/04/2012 17:00:52 - xxxx714 - E234 - Time= 119 ms.... (8 Replies)
Discussion started by: jockx
8 Replies
5. Shell Programming and Scripting
Hi all,
Hope someone here will be able to help me. Our system has some scripts that are run from a cron job every ten mins and is used to see how many error there are in that time frame. Problem is that in the scripts grep is used to find the data, but as the day goes on these log file grow to a... (7 Replies)
Discussion started by: Goldengreen
7 Replies
6. What is on Your Mind?
Recently while reading an linux magazine I understood that FOSS (Free or open source software) is gaining momentum.. And in my home town there is an reputed university which offers M.Sc online program on FOSS.
The course covers:
INTRODUCTION TO COMPUTING, PHILOSOPHY AND PRACTICE OF FOSS,... (4 Replies)
Discussion started by: Arun_Linux
4 Replies
7. Linux
I'm new to the Linux world and whilst I've been learning the ropes, I've read some conflicting opinions regarding the creation of separate partitions for /home and other directories during OS install.
Some say that having these directories in separate partitions allows you to reinstall without... (12 Replies)
Discussion started by: maerlyngb
12 Replies
8. Programming
Hello guys,
I have a little question.
I think about learning c or c++ because im very interessted in low Level programming. And because i love Unix Too i thought C would be the better choice since Most it Done in c. Or should i learn c++?
Because C++ has all this nice Features like oop and... (9 Replies)
Discussion started by: dryPants
9 Replies
9. What is on Your Mind?
I have just been on RedHat SA 3 training course (4 days) and sat exams EX200 (RHCSA) and EX300 (RHCE)
The daft thing was that politics meant I wasn't allowed to take courses SA 1 or 2. So I learnt about stuff I would never use (SELinux; iSCSI; NFS Kerberos encrypted with user specific access... (22 Replies)
Discussion started by: rbatte1
22 Replies
LEARN ABOUT XFREE86
zless
ZLESS(1) General Commands Manual ZLESS(1)
NAME
zless - file perusal filter for crt viewing of compressed text
SYNOPSIS
zless [ name ... ]
DESCRIPTION
Zless is a filter which allows examination of compressed or plain text files one screenful at a time on a soft-copy terminal. It is the
equivalent of setting the environment variable LESSOPEN to '|gzip -cdfq -- %s', and the environment variable LESSMETACHARS to
'<space><tab><newline>;*?"()<>[|&^`#$%=~', and then running less. However, enough people seem to think that having the command zless
available is important to be worth providing it.
SEE ALSO
zmore(1), less(1)
BUGS
Zless does not work with compressed data that is piped to it via standard input; it requires that input files be specified as arguments.
To read compressed data from a pipe, you can use ...|gunzip|less instead of ...|zless.
COPYRIGHT NOTICE
Copyright (C) 2006, 2007 Free Software Foundation, Inc.
Copyright (C) 1992, 1993 Jean-loup Gailly
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the
entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified
versions, except that this permission notice may be stated in a translation approved by the Foundation.
ZLESS(1)