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
rdate(1M) System Administration Commands rdate(1M)
NAME
rdate - set system date from a remote host
SYNOPSIS
rdate hostname
DESCRIPTION
rdate sets the local date and time from the hostname given as an argument. You must have the authorization solaris.system.date on the local
system. Typically, rdate is used in a startup script.
The inetd daemon responds to rdate requests. To enable inetd response, the lines invoking the time command in inetd.conf must not be com-
mented out.
USAGE
The rdate command is IPv6-enabled. See ip6(7P).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrcmdc |
+-----------------------------+-----------------------------+
SEE ALSO
inetd(1M), inetd.conf(4), attributes(5), ip6(7P)
SunOS 5.10 15 Feb 2001 rdate(1M)