Search Results

Search: Posts Made By: Kattoor
4,108
Posted By Kattoor
Check the status of job
Hi,

I have master job which will run based on the sub jobs status.

In the master job I am giving the condition like,

condition: s(sub_job) f(sub_job)

This scenario will work if the...
11,229
Posted By Kattoor
Thanks for your reply.. I am not using any...
Thanks for your reply..

I am not using any sendevent command inside this particular script, but still I am getting the staus as TE. :(
11,229
Posted By Kattoor
Issue while killing the process using autosys job
Hi,

I have one autosys job that will retrieve the proccess id's and will kill those processess as follows,

pid=`/usr/ucb/ps -auwwxx | grep MAIN |nawk '{print $2}'`
kill -9 pid

but after...
1,842
Posted By Kattoor
Thanks a lot for your valuable reply..!! :)
Thanks a lot for your valuable reply..!! :)
1,842
Posted By Kattoor
Read the lines without starting with #
Hi,

I need to read one file which excludes the line starting with #.

example file:
#Working directory
WORK_DIR|/home/mypath
#Remote directory
REMOTE_DIR|/home/remote

I am reading this...
14,491
Posted By Kattoor
try this... ...
try this...

RECIP="abc@example.com,def@example.com"
CC="~c ghi@example.com,jkl@eaxmple.com"
echo $CC >tempfile
cat tempfile inputfile.txt | mailx -s "testing" $RECIP
12,132
Posted By Kattoor
Thanks a lot for your valuable quick response. ...
Thanks a lot for your valuable quick response.

One more doubt.

Can I use 'printf' in any unix env as I don't have much idea of printf in unix.

The OS which I am using is HP-UX.
12,132
Posted By Kattoor
Am using the following line code in awk, ...
Am using the following line code in awk,

secs1=((year1 - 1970)*365.25+(month1*30.5)+day1)*24*60*60;
12,132
Posted By Kattoor
Convert e+ to number
Hi,

I am using awk to get particular dates in seconds and the output am getting is like 1.28071e+09.

How can I convert it to number format.

Can anyone help me out?

Thanks in advance..!
16,204
Posted By Kattoor
Sorry for the confusion. The version I am...
Sorry for the confusion.

The version I am using is HP-UX BOX B.11.11 U 9000/800
In my env perl is working fine, but I am not supposed to use 'perl' in our script as I am not sure the perl will...
16,204
Posted By Kattoor
Hi, Am facing some issues with perl. I...
Hi,

Am facing some issues with perl.

I cant use perl in our env..

Can you please suggest any other solution??
16,204
Posted By Kattoor
Yes...It is working.. Thanks a lot...!! :)
Yes...It is working.. Thanks a lot...!! :)
16,204
Posted By Kattoor
am gettin this one if i run ls -l -rw-r--r--...
am gettin this one if i run ls -l

-rw-r--r-- 1 hiran_s users 7566860 May 24 05:42 CerD.ear
-rw-rw-r-- 1 hiran_s users 7587840 May 24 05:43 CerD.tar
-rw-rw-r-- 1 hiran_s ...
16,204
Posted By Kattoor
Thanks a lot for you reply. If am using the...
Thanks a lot for you reply.

If am using the above command in the delow directory,
total 59472
-rw-r--r-- 1 an_s users 6920 Jan 30 2009 config.xml
-rw-rw-r-- 1 an_s users ...
16,204
Posted By Kattoor
Hi, This is listing the time when the files...
Hi,

This is listing the time when the files are created in the current directory.

I need to check the files created less than 4 hours from the current time :(
16,204
Posted By Kattoor
Hi Guru, But I cant predict the file...
Hi Guru,

But I cant predict the file creation time.. :(

whatever files are present I need to check for all.
16,204
Posted By Kattoor
Hi Guru, Thanks for the valuable reply. ...
Hi Guru,

Thanks for the valuable reply.

But it's not working in my machine..:(
16,204
Posted By Kattoor
Check file created is less than 4 hours or not.
Hi,

I need to check some files in one directory whether any files has been created before 4 hours(ie, less than 4 hours from the current time).

Can anybody help me out..?

Thanks in advance..!
1,860
Posted By Kattoor
Read a file and put it in HTML format
Hi,

I have one file as follows and I need to read this file contents in an HTML format. And send html file to some mail ids using sendmail.

Communications Pvt Ltd
...
6,826
Posted By Kattoor
sendmail issue while cc to users
Hi,

I have one file that needs to be send as attachment.
I am using the following command to send the mail.

echo "Subject: Test" | cat - file | sendmail -t abc@cca.com

But how can I put CC...
5,490
Posted By Kattoor
Change the font of the attached file while using sendmail
Hi,

I have one file which needs to be mailed through sendmail.

I am using the following command to send this file to end users.

But before sending how can I change the font of the input file...
4,357
Posted By Kattoor
Thanks a lot for your valuable replies..!! ...
Thanks a lot for your valuable replies..!!

Its working fine.. :)
4,357
Posted By Kattoor
Truncate the word from a sentence
Hi,

The first line of a file is as follows: example.4ge v.45352 Report for April 28 May 2010
I need to remove the word example.4ge v.45353 from that line. I used the following...
2,003
Posted By Kattoor
To check a word is number or not
Hi,

I have one file like 00123. And this file name is generated as a sequence.

So how can I confirm the generated file name is a number, not a special character or alphabets.

Can anybody...
4,822
Posted By Kattoor
Delete lines with line numbers.
Hi,

I have a file will 1000 lines.... I want to deleted some line in the file... like 800-850 lines i want to remove in that...

can somebody help me..?

thanks.
Showing results 1 to 25 of 58

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