05-24-2009
Command needed to Parse Catalina.out in Linux
Hi all,
Everyday I used to parse the Catalina.out log file on my Redhat system for errors for a particular date. Could anybody be able to help me to create a command which can grep the contents of Catalina.out starting from particular date.
Please do not suggest command which greps only the lines with that date, I mean I need all the lines starting from that particular date.
Thanks,
RedHatPerl
10 More Discussions You Might Find Interesting
1. Solaris
How can I make analysis for catalina.out (2 Replies)
Discussion started by: Burhan
2 Replies
2. Shell Programming and Scripting
Raw Results:
results|192.168.2|192.168.2.1|general/udp|10287|Security Note|For your information, here is the traceroute from 192.168.2.24 to 192.168.2.1 : \n192.168.2.24\n192.168.2.1\n\n
results|192.168.2|192.168.2.1|ssh (22/tcp)|22964|Security Note|An SSH server is running on this port.\n... (2 Replies)
Discussion started by: jroberson
2 Replies
3. Shell Programming and Scripting
Sorry for the duplicate thread this one is similar to the one in
https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121
Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies
4. Shell Programming and Scripting
What I am trying to do is write a script that makes some commands easier, now one of the commands is to rebuild mail boxes in plesk, which would would be something like
/usr/loca/psa/websrvmng --vhost-reconfigure --vhost-name=domain.com
but the domain.com bit is going to need to change with... (3 Replies)
Discussion started by: foz
3 Replies
5. Solaris
Hi,
Recently i received a request to rotate logs of catalina.out (tomcat). The file size was about 807 MB. I used logadm to truncate the log ( -c ) and zip (-z 0) it.
Everything worked fine, catalina.out.0.gz was created (22 MB) and the size of original catalina.out became 0kb.
After... (2 Replies)
Discussion started by: Mack1982
2 Replies
6. Shell Programming and Scripting
HI,
My requirement as below
Log with Error
Code:
Starting FeedRunner for feed: 200 Product example Items
Error FeedRunner for feed: 200 Product example Items
Stopping FeedRunner for feed : 200 Product example Items Feed time taken 231743
Log without Error
Code:
... (0 Replies)
Discussion started by: Paulwintech
0 Replies
7. UNIX for Advanced & Expert Users
HI,
My requirement as below
Log with Error
Starting FeedRunner for feed: 200 Product example Items
Error FeedRunner for feed: 200 Product example Items
Stopping FeedRunner for feed : 200 Product example Items Feed time taken 231743
Log without Error
Starting... (0 Replies)
Discussion started by: Paulwintech
0 Replies
8. Solaris
Hi Friends,
I have data like below
t064266
I want output into this format
t064266
Data are space delimited and i want parse third column data.
Thanks (9 Replies)
Discussion started by: Jagaat
9 Replies
9. Shell Programming and Scripting
guys im new here and i need help with some linux commands.
filea has keyword on each line
identity
aaa
bbb
ccc
i have following commands.
egrep 'www.identity' ~/home/m3 >~/home/lopo2
wc -l file ~/home/lopo2
say lopo2 has 44 lines
then output saved is
identity 44 (1 Reply)
Discussion started by: ahfze
1 Replies
10. Shell Programming and Scripting
Hi all, I need help for a script that pulls out a series of numbers from a file (attached file) Basically I need a parse to write me in a variable: 9d424312 Can someone help me? Thank you (2 Replies)
Discussion started by: gianvitolinuxs
2 Replies
LEARN ABOUT SUSE
grep-changelog
grep-changelog(1) General Commands Manual grep-changelog(1)
NAME
grep-changelog - print ChangeLog entries matching criteria
SYNOPSIS
grep-changelog [options] [CHANGELOG...]
DESCRIPTION
grep-changelog searches the named CHANGELOGs (by default files matching the regular expressions ChangeLog and ChangeLog.[0-9]+) for
entries matching the specified criteria. At least one option or file must be specified. This program is distributed with GNU Emacs.
OPTIONS
The program accepts unambiguous abbreviations for option names.
--author=AUTHOR
Print entries whose author matches regular expression AUTHOR.
--text=TEXT
Print entries whose text matches regular expression TEXT.
--exclude=TEXT
Exclude entries matching regular expression TEXT.
--from-date=YYYY-MM-DD
Only consider entries made on or after the given date. ChangeLog date entries not in the "YYYY-MM-DD" format are never matched.
--to-date=YYYY-MM-DD
Only consider entries made on or before the given date.
--rcs-log
Print output in a format suitable for RCS log entries. This format removes author lines, leading spaces, and file names.
--with-date
In RCS log format, print short dates.
--reverse
Show matches in reverse order.
--version
Display version information.
--help Display basic usage information.
COPYING
Copyright (C) 2008, 2009 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this document provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of this document 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 document into another language, under the above conditions for modified
versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation.
grep-changelog(1)