Search Results

Search: Posts Made By: senthilkumar_ak
9,107
Posted By senthilkumar_ak
Thanks very much rubin but one query i have ...
Thanks very much rubin

but one query i have

bash-2.05$ tail -40 native_stderr.log | grep ': freed' | awk -F '(' '{print $3}' | awk -F '/|)' '{a=($2-$1)/(1024*1024);y=x "\n" a; x=a};END{printf...
9,107
Posted By senthilkumar_ak
awk help in calulating difference for last two lines
Hi all,

I have a requirement for a script to find out the increase in memory. We have a log native_stderr.log where this will log.

bash-2.05$ tail -40 native_stderr.log | grep ': freed'
...
2,540
Posted By senthilkumar_ak
i am looking for the output like ...
i am looking for the output like

customerReferenceNumber:14077854
customerReferenceNumber:14073551
customerReferenceNumber:14072203
customerReferenceNumber:14069692 ...
2,540
Posted By senthilkumar_ak
Awk help needed for display particular field alone for searching pattern
Hi,

I have a requirement for taking an particular number in a log file. if i grep for the particular string it will retrieve the entire line for the particular string. but i want to display only...
7,344
Posted By senthilkumar_ak
Laurent do you have any sample script available...
Laurent do you have any sample script available to check the logs using WOTS, i am unable to get the information in internet.

~aks.
7,344
Posted By senthilkumar_ak
Sorry methyl ... I didnt get you what you're...
Sorry methyl ... I didnt get you what you're trying say.

bash-2.05$ wc -l Trace.log
3801805 Trace.log
bash-2.05$ tail -2000 Trace.log | wc -l
2000


For laurentv, after a long fight with...
7,344
Posted By senthilkumar_ak
I am using bash-2.05$ uname -a Linux...
I am using

bash-2.05$ uname -a
Linux lppwa783 2.4.9-e.72enterprise #1 SMP Tue Jul 3 21:57:23 EDT 2007 i686 unknown

I asked with the admin, they refused to install the perl. The tail is ok for...
1,809
Posted By senthilkumar_ak
simple awk question
Hi ,

I have a simple question in awk, i have long string which i am getting for a grep command. the output contains 50 fields.

I need to display like first 5 fileds in a line and rest of all...
7,344
Posted By senthilkumar_ak
Hi Pen, I tried to implement the Lauren way...
Hi Pen,

I tried to implement the Lauren way but failed as we cant install any perl package in the machine, so we need to go for shell script.

Also could you please let me know the calling email...
7,344
Posted By senthilkumar_ak
great reply pen. I also thought a way after...
great reply pen.

I also thought a way after using my little brain. Could you please check this, i am working in both way to find out what is minimal resource usage scripts.

tail -n 2000 $TRACE...
7,344
Posted By senthilkumar_ak
Thanks Pen, thats my mistake. But if i need...
Thanks Pen, thats my mistake.

But if i need add some lines and not only the exception then how can i add that and how i decide about the subject line of the mail content. I will be common for all...
7,344
Posted By senthilkumar_ak
Thanks Pen, But my requirement is modifying...
Thanks Pen,

But my requirement is modifying the cron job which is already running there for a ten minutes. I need to tune the script to obtain more accuracy. The earlier script is very huge and...
7,344
Posted By senthilkumar_ak
Jim thanks, But i am looking for a script...
Jim thanks,

But i am looking for a script which can send a mail with some messages, for example if the OOM is 1 then its send a message that we got the Out of Memory if the Jms =1 then i need to...
7,344
Posted By senthilkumar_ak
Help me in finding logic
I am searching for some logic which will help me to introduce quick action for the errors. We have application server and we need to check the bunch of information for every 10 minutes and alert thru...
1,975
Posted By senthilkumar_ak
Is it possible me to check the last 1000 line by...
Is it possible me to check the last 1000 line by using the awk command, I think the only option left for me is first i need to tail it out for 1000 line with grep -c then i need to do a normal grep...
1,975
Posted By senthilkumar_ak
count and content in the same command
Hi,

I have small query and a understanding, could you please clarify the query and correct my understanding..?

I am very big log file If i need to take a count and contained lines for a...
1,937
Posted By senthilkumar_ak
A big thanks to vgersh99, Is it possible to...
A big thanks to vgersh99,
Is it possible to explain me what it means.. for the
[- :]|[[]|[]]
meaning of the command..?

How ever awk works fine for me and not the nawk.

thanks
Senthil.
1,937
Posted By senthilkumar_ak
Tune my logic of script
I have big log file, which contains the netstat output from my application server to a particular DB server. I aim is to plot a daily graph for this. Please find the sample log file below.
...
12,128
Posted By senthilkumar_ak
getting help on finding exception in running log file
Hi all,

I am trying to write a script for an application server log file where i want to put this script as a cron tab entry and it will check the server log file last 1000/500 line for every...
1,654
Posted By senthilkumar_ak
dennis, this give me the Process ID but i want...
dennis, this give me the Process ID but i want the first line Application Handle
1,654
Posted By senthilkumar_ak
jim, do you need any more information..?
jim,

do you need any more information..?
1,654
Posted By senthilkumar_ak
I have attached the complete file.
I have attached the complete file.
1,654
Posted By senthilkumar_ak
Need help in logic
I have big large snapshot file which contains every process start time and end time. One server snapshot contains many Application handle. My task is to identify the process id for which the end time...
1,978
Posted By senthilkumar_ak
Well yes you're right, the log files contains...
Well yes you're right, the log files contains only one day logs. But with this condition i wont be check the job when not ran, so i modified little and used like this , please let me know if done...
1,978
Posted By senthilkumar_ak
Fantastic Annihilannic, thanks for your...
Fantastic Annihilannic,

thanks for your suggestion. One more thing.

Is it possible for me to check all 15, 30,45 entires in one grep or i want to use a separte one.

Senthil
Showing results 1 to 25 of 43

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