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 DEBIAN
slasrt.f
slasrt.f(3) LAPACK slasrt.f(3)
NAME
slasrt.f -
SYNOPSIS
Functions/Subroutines
subroutine slasrt (ID, N, D, INFO)
SLASRT
Function/Subroutine Documentation
subroutine slasrt (characterID, integerN, real, dimension( * )D, integerINFO)
SLASRT
Purpose:
Sort the numbers in D in increasing order (if ID = 'I') or
in decreasing order (if ID = 'D' ).
Use Quick Sort, reverting to Insertion sort on arrays of
size <= 20. Dimension of STACK limits N to about 2**32.
Parameters:
ID
ID is CHARACTER*1
= 'I': sort D in increasing order;
= 'D': sort D in decreasing order.
N
N is INTEGER
The length of the array D.
D
D is REAL array, dimension (N)
On entry, the array to be sorted.
On exit, D has been sorted into increasing order
(D(1) <= ... <= D(N) ) or into decreasing order
(D(1) >= ... >= D(N) ), depending on ID.
INFO
INFO is INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
November 2011
Definition at line 89 of file slasrt.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.1 Sun May 26 2013 slasrt.f(3)