Search Results

Search: Posts Made By: nextStep
1,834
Posted By nextStep
Created a script file with the given code and...
Created a script file with the given code and redirected the execution to a text file(parseAwk.txt) but there was no records from the output.When the script executed initially it failed to locate the...
1,834
Posted By nextStep
Please find the log [2018-05-23...
Please find the log


[2018-05-23 11:01:31,251] app14.xx.xx.net 1527087690803 XX:XX:CC061367 http-nio-8080-exec-6 ERROR Get Price Failed! CC061367 , XX , XX (AbstractLocalP
ricingServiceV1)...
1,834
Posted By nextStep
Understood, there should be keyword US in the...
Understood, there should be keyword US in the search pattern , the log file is having the entry , it was omitted accidentally.
Could you please advise any other alternative solutions.Am not...
1,834
Posted By nextStep
Sorry, I didnt get the point ---------- Post...
Sorry, I didnt get the point

---------- Post updated at 06:09 AM ---------- Previous update was at 06:06 AM ----------

---------- Post updated at 06:10 AM ---------- Previous update was at...
1,834
Posted By nextStep
Fetching address and user details from log file
Hi All,

I have a requirement to get the address values from a large log file along with the user details.
line1,line2,city,stateCode,postalCode,countryCode. The below code as advised in the...
1,656
Posted By nextStep
Thanks Scrutinizer
Thanks Scrutinizer
1,656
Posted By nextStep
That also worked. Thanks a lot Ravinder.
That also worked. Thanks a lot Ravinder.
1,656
Posted By nextStep
Thanks a lot. Of the two i found [[:upper:]]more...
Thanks a lot. Of the two i found [[:upper:]]more convenient and easy.

---------- Post updated at 06:49 AM ---------- Previous update was at 06:12 AM ----------

Hi Scrutinizer

Of the two...
1,656
Posted By nextStep
Thanks.gzcat was not recogonized .Could you...
Thanks.gzcat was not recogonized .Could you please help me to understand


sed -n '/CartService/s/.*\(..:..:........\).*/\1/p' | sort -u
grep -Eo...
1,656
Posted By nextStep
I am sorry for that.Hit the send button quickly ...
I am sorry for that.Hit the send button quickly

---------- Post updated at 05:11 AM ---------- Previous update was at 05:07 AM ----------

Hello Ravinder,

That code worked, much thanks....
1,656
Posted By nextStep
Code to get unique values
Hello All,

I am trying to write a script which returns me clientID,programId,userID indicated in bold from the below log files.Log file is having many such data , iam just presenting sample .

...
1,202
Posted By nextStep
I put the backslash to escape the dollar sign. ...
I put the backslash to escape the dollar sign.

---------- Post updated at 11:57 AM ---------- Previous update was at 09:59 AM ----------



I understood by comparing with ps aux | grep xx is...
1,202
Posted By nextStep
Query on awk
Hello,


I am trying to find the RAM usage for one of the process from a group of servers.

xx-Process name

The command i used by logging to the individual server is as below

ps aux |...
1,915
Posted By nextStep
Ssh find and scp
Hello All,

I have a requirement to copy few files from remote server to local, and below are the sequence
ssh to the remote host
finding the files with the specific condition
once...
28,955
Posted By nextStep
1. Subdirectory under META-INF have many...
1. Subdirectory under META-INF have many packages
2. File is getting extracted as per the below output

Apparently , modified the above command by omitting the colon(:) symbol as below and the...
28,955
Posted By nextStep
Getting the version from jar file
Hi,

I am trying to retrieve the "Implementation version" from one of the .jar file
The command which tried is as below.

find /usr/local/platform -name "platform.jar" -exec zipgrep...
1,500
Posted By nextStep
Java expiry information
Hi,


I have a requirement to check the expiry date of Java software installed in linux servers.

We are using the below Java

java version "1.8.0_51"
Java(TM) SE Runtime Environment (build...
1,433
Posted By nextStep
Thank You.:)
Thank You.:)
1,433
Posted By nextStep
Sorry , if it confused. This is exactly the...
Sorry , if it confused. This is exactly the requirement.And it worked .Thank you.
Could you please tell what the below code does.
The period at the beginning and parameters inside the square...
1,433
Posted By nextStep
This is what tried. Step1: Converted the...
This is what tried.

Step1: Converted the large log file into json file as below

awk -F ' Response:|\\(HttpClientUtil)|' '{print $2}' logfile >> logfile.json

Step 2:From the json file using...
1,433
Posted By nextStep
Extracting from log file
Hi All,



I have a huge log file where user information such as name,address,point balance etc are stored.
I need to extract only point balance,first name,last name only.
How to achieve this,...
3,262
Posted By nextStep
HTML results in headers
Hi Corona688,

The code you gave to me was extremely useful .Now when i incorporated in the main script all the results are coming under the "Header" cell

Header ...
3,262
Posted By nextStep
Thanks a lot for the wonderful script,it...
Thanks a lot for the wonderful script,it worked.Apologies for the early mistake.
BTW are the variables H F D system variables or is it just user defined variables, and what was the difference...
3,262
Posted By nextStep
Nothing i have changed.The code is same as given ...
Nothing i have changed.The code is same as given


#!/bin/sh

exec 1>email.html

FILES="timestamp.txt"

echo "<html>
<style type='text/css'>
table, th, td {
...
3,262
Posted By nextStep
Thanks , but i got everything in one cell. i need...
Thanks , but i got everything in one cell. i need the information into three cell ie header should have value "P", filename should have "file1.en-us_US-20170718T150157Z.json" and timestamp should...
Showing results 1 to 25 of 34

 
All times are GMT -4. The time now is 06:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy