Search Results

Search: Posts Made By: ROCK_PLSQL
8,315
Posted By ROCK_PLSQL
Hi, Please help me how to run in background....
Hi,

Please help me how to run in background.

Thanks
8,315
Posted By ROCK_PLSQL
How to run scripts sequentially in background?
Hi ,
I have prepared the following shell script to run the hqls in background.
These scripts are running Parallel but I want to run the hqls sequentially in background.
cat >cc_script.ksh
nohup...
3,571
Posted By ROCK_PLSQL
Hi, Thanks for your suggestion. I have...
Hi,

Thanks for your suggestion.

I have executed which sendmail
According to that I have changed this part /usr/bin/sendmail -t to /usr/sbin/sendmail -t
The script is executed successfully...
3,571
Posted By ROCK_PLSQL
Hi Singh, Thanks for your script. I have...
Hi Singh,

Thanks for your script.
I have replaced some of the variables.

MAILFROM msdc.kiran@gmail.com
MAILTO msdc.kiran@gmail.com
SUBJECT test_mail
Input_file_needed_to_be_attached...
3,571
Posted By ROCK_PLSQL
Content of attachment is displaying along with subject in mailx
Hi All,
I want to send the csv to an email address.
I have tried the below two approaches.

Approach1: Got error -ksh: uuencode: not found
$ uuencode test_file.csv test_file.csv | mailx -s...
3,111
Posted By ROCK_PLSQL
Thanks a lot for your help.
Thanks a lot for your help.
3,111
Posted By ROCK_PLSQL
Hi Singh, Thanks for your response. The...
Hi Singh,

Thanks for your response.

The script is giving correct result.

Instead of printing this result, it should be assigned to variables since I have to pass this result to hive script....
3,111
Posted By ROCK_PLSQL
Hi, We will be passing date but we have to find...
Hi,
We will be passing date but we have to find number of weekdays and
number of weekends in that month of the year.

Monday to Friday should be considered as weekdays and
Saturday and Sunday...
3,111
Posted By ROCK_PLSQL
Script to find n.of weekdays and n.of weekends in a given date
Hi All,

Could you please provide the shell script to find number of weekdays and
number of weekends for a given date for that month.

Monday to friday should be considered as weekdays and...
2,140
Posted By ROCK_PLSQL
Hi singh/Rudic, I am extremly sorry. I...
Hi singh/Rudic,

I am extremly sorry. I forgot to remove one more awk key word, thats why it was not worked.

Now it's working fine.

Thanks a lot for your assiastance.
2,140
Posted By ROCK_PLSQL
Hi Singh, Thanks for your script. How ever...
Hi Singh,

Thanks for your script.
How ever it's not working.

Actually When I ran this cript nothing is happening.

I think some thing is missed.

Please check.

Thanks
2,140
Posted By ROCK_PLSQL
Hi Rudic, Thanks a lot. The script is...
Hi Rudic,

Thanks a lot.

The script is working fine.

I need date also.For that I have added done some change in the script.
But it's not working.

awk '
BEGIN {SRCH1 =...
2,140
Posted By ROCK_PLSQL
Extracting part of data from files
Hi All,

I have log files as below.

log1.txt

<table name="content_analyzer" primary-key="id">
<type="global" />
</table>
<table name="content_analyzer2" primary-key="id">
...
3,183
Posted By ROCK_PLSQL
Hi, Thanks for your answer. It's working...
Hi,

Thanks for your answer.
It's working fine apart from space is coming after comma in first and second field.

tmgnsr ,tpfile_01 , it should be tmgnsr,tpfile_01,

Thanks
I can't believe...
3,183
Posted By ROCK_PLSQL
Hi Ravindra, This is my input file. ...
Hi Ravindra,

This is my input file.

pname tmgnsr.tpfile_01 analy, lists=8, lines=5900, duration cap: 27.682 seconds
pname tmgnsr.tpfile_01 analy, lists=5, lines=1234, duration cap: 5.12...
3,183
Posted By ROCK_PLSQL
Hi, Sorry.By mistake I have removed. ...
Hi,

Sorry.By mistake I have removed.

Going forward I will take care of it.

Please help me.

Thanks

---------- Post updated at 05:03 PM ---------- Previous update was at 04:52 PM...
3,183
Posted By ROCK_PLSQL
Hi, In second field after the "." i want the...
Hi,

In second field after the "." i want the date till the space.

I want the output as below

tmgnsr ,tpfile_01 , 8, 5900, 27.682
tmgnsr ,tpfile_01 , 5, 1234, 5.12
tmgnsr ,sdcfile_01 , 4,...
3,183
Posted By ROCK_PLSQL
Hi, Thanks for your code. It's working...
Hi,

Thanks for your code.

It's working fine.

Thanks
3,183
Posted By ROCK_PLSQL
Hi, gawk is not working. ksh: gawk: ...
Hi,

gawk is not working.

ksh: gawk: not found

Thanks
3,183
Posted By ROCK_PLSQL
Hi , Thanks for your code. We are using ksh. ...
Hi ,
Thanks for your code.
We are using ksh.
I have tried below one.I got the error ksh: syntax error: `=~' unexpected

[[ $line =~ pname\ (.+?)[.].+?=([0-9]*).+?:.([0-9.]*) ]] && echo...
3,183
Posted By ROCK_PLSQL
Formatting text file
Hi All,

how to format text

Thanks
3,069
Posted By ROCK_PLSQL
Thanks a lot ---------- Post updated at...
Thanks a lot

---------- Post updated at 01:38 PM ---------- Previous update was at 06:29 AM ----------

Hi,

The below script is working fine

for filename in /home/log/*.log
do
tr -s...
3,069
Posted By ROCK_PLSQL
Hi, I found the issue. $ is missing in...
Hi,

I found the issue.

$ is missing in front of filename.

I have added data is coming in the file.

But one extra bracket is coming.

[numberoffiles=8 numberofRows=112
Time taken: 19.43...
3,069
Posted By ROCK_PLSQL
Hi, Thanks for your response. I have...
Hi,

Thanks for your response.

I have tried this only file names are creating and data is not coming.


output.txt/home/log/first.log



Please help me.

Thanks


Please wrap all...
3,069
Posted By ROCK_PLSQL
How to extract part of string from all log files.?
Hi All,

Let us say we have 5 log files, extract the data from all log files and save the output in a file.

home/log/first.log
home/log/second.log
home/log/third.log
home/log/four.log...
Showing results 1 to 25 of 73

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