05-15-2015
Limited log on specific timelines
Hi Gurus,
We have a very huge size log files (around 3-4 GBs), in which all the versions (nothing but a log entries) of orders would be saved... It is very hard to find out the exact piece of log for a specific order (by moving the cursor or by searching with specific key words in vi).
I know the timelines of the order and the log file also will be having the time entry at the start of each line like below.
Quote:
08:21:39.166 ^ INFO ^ DefaultWorkManage
08:21:39.167 ^ INFO ^ DefaultWorkManage
08:21:39.167 ^ INFO ^ DefaultWorkManage
08:23:02.348 ^ INFO ^ WebContainer : 15
08:23:02.403 ^ INFO ^ WebContainer : 15
08:23:02.405 ^ INFO ^ WebContainer : 15
08:23:18.832 ^ INFO ^ WebContainer : 15
08:23:18.834 ^ INFO ^ WebContainer : 15
08:23:18.837 ^ INFO ^ WebContainer : 15
08:23:18.850 ^ INFO ^ WebContainer : 15
08:23:18.850 ^ INFO ^ WebContainer : 15
08:23:18.850 ^ INFO ^ WebContainer : 15
I want to grep the lines that are logged between a specific timelines...
For ex: From "08:21:39" to "08:30:00"
Can someone help me with the exact awk/grep options to grep the lines based on time zones..
Thanks for help in advance.
Regards,
VRN
9 More Discussions You Might Find Interesting
1. Solaris
Hi,
I tried to search, but could not find answer for this really:
Is it possible to create a user that would have access only to a defined list of files? I would like to create a user that can access a set of files that are located behind different path. This user should not have access to... (1 Reply)
Discussion started by: Juha
1 Replies
2. UNIX for Dummies Questions & Answers
dear guys,
sorry for asking a noob :p question, tried to search the forum for an answer but couldn't find one, i am running solaris 10 and i would like to create a user with limited access to view only one directory, the directory already exist, is this possible:confused:?
thanks and regards (4 Replies)
Discussion started by: q8devilish
4 Replies
3. Shell Programming and Scripting
Hi,
I have an UNIX script which runs in every 20 mins of all the days scheduled through CRON.
But i need to modify the CRON entry such that it should run from 00:00 AM to 18:00 and again from 22:00 to 23:59 on Saturday. Remaning days, it should run as usual in every 20 mins.
Could... (1 Reply)
Discussion started by: rjanardhan83
1 Replies
4. Shell Programming and Scripting
Hi,
I have an UNIX script which runs in every 20 mins of all the days scheduled through CRON.
But i need to modify the CRON entry such that it should run from 00:00 AM to 18:00 and again from 22:30 to 23:59 on Saturday. Remaning days, it should run as usual in every 20 mins.
Could anybody... (1 Reply)
Discussion started by: rjanardhan83
1 Replies
5. UNIX for Dummies Questions & Answers
Hi
Im trying to extract a specific pattern of data from a log file and store it in a other file, Im executing the below command in various files and storing it in a single file. I data that Im storing needs to be arranged based on a date and timestamp. Please assist, how to achieve this. Thanks... (1 Reply)
Discussion started by: vr3w3c9
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I want to create a user using useradd -m test. But my requirement is he should not change his directory from Home directory.
How can I restric the user not to change his directory from his home dir?
Thanks,
Suresh
Double Post (0 Replies)
Discussion started by: suresh3566
0 Replies
7. Homework & Coursework Questions
Hi,
If there are 20 files in current directory ,How display the long listing of files in that directory with listing of four files at once.. (3 Replies)
Discussion started by: Phaneendra G
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies
9. Shell Programming and Scripting
Hi,
I am using following command:
tcpdump -i eth1 icmp =8 >output.txt
i want this command to get execute for a minute only. How can we do this?
Thanks.
Please use code tags next time for your code and data. Thanks (2 Replies)
Discussion started by: Satyajeet@uh
2 Replies
LEARN ABOUT CENTOS
dsterf.f
dsterf.f(3) LAPACK dsterf.f(3)
NAME
dsterf.f -
SYNOPSIS
Functions/Subroutines
subroutine dsterf (N, D, E, INFO)
DSTERF
Function/Subroutine Documentation
subroutine dsterf (integerN, double precision, dimension( * )D, double precision, dimension( * )E, integerINFO)
DSTERF
Purpose:
DSTERF computes all eigenvalues of a symmetric tridiagonal matrix
using the Pal-Walker-Kahan variant of the QL or QR algorithm.
Parameters:
N
N is INTEGER
The order of the matrix. N >= 0.
D
D is DOUBLE PRECISION array, dimension (N)
On entry, the n diagonal elements of the tridiagonal matrix.
On exit, if INFO = 0, the eigenvalues in ascending order.
E
E is DOUBLE PRECISION array, dimension (N-1)
On entry, the (n-1) subdiagonal elements of the tridiagonal
matrix.
On exit, E has been destroyed.
INFO
INFO is INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value
> 0: the algorithm failed to find all of the eigenvalues in
a total of 30*N iterations; if INFO = i, then i
elements of E have not converged to zero.
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
November 2011
Definition at line 87 of file dsterf.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.2 Tue Sep 25 2012 dsterf.f(3)