Sponsored Content
Operating Systems Linux Limited log on specific timelines Post 302944055 by hi.villinda on Friday 15th of May 2015 05:44:04 AM
Old 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

user with limited privileges

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

user with limited access

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

Run the UNIX script only in specified timelines

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

Run the UNIX script only in specified timelines

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

Extract Data and arrange it based on timelines

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

new userid with limited access

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

Listing limited no. of files

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

Search for a specific String in a log file for a specific date range

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

ICMP for limited time

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
SGETRI(l)								 )								 SGETRI(l)

NAME
SGETRI - compute the inverse of a matrix using the LU factorization computed by SGETRF SYNOPSIS
SUBROUTINE SGETRI( N, A, LDA, IPIV, WORK, LWORK, INFO ) INTEGER INFO, LDA, LWORK, N INTEGER IPIV( * ) REAL A( LDA, * ), WORK( * ) PURPOSE
SGETRI computes the inverse of a matrix using the LU factorization computed by SGETRF. This method inverts U and then computes inv(A) by solving the system inv(A)*L = inv(U) for inv(A). ARGUMENTS
N (input) INTEGER The order of the matrix A. N >= 0. A (input/output) REAL array, dimension (LDA,N) On entry, the factors L and U from the factorization A = P*L*U as computed by SGETRF. On exit, if INFO = 0, the inverse of the original matrix A. LDA (input) INTEGER The leading dimension of the array A. LDA >= max(1,N). IPIV (input) INTEGER array, dimension (N) The pivot indices from SGETRF; for 1<=i<=N, row i of the matrix was interchanged with row IPIV(i). WORK (workspace/output) REAL array, dimension (LWORK) On exit, if INFO=0, then WORK(1) returns the optimal LWORK. LWORK (input) INTEGER The dimension of the array WORK. LWORK >= max(1,N). For optimal performance LWORK >= N*NB, where NB is the optimal blocksize returned by ILAENV. If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. INFO (output) INTEGER = 0: successful exit < 0: if INFO = -i, the i-th argument had an illegal value > 0: if INFO = i, U(i,i) is exactly zero; the matrix is singular and its inverse could not be computed. LAPACK version 3.0 15 June 2000 SGETRI(l)
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy