10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hello everyone,
I am new to linux and got this deliverable to write a script that should check for error in multiple log file (count is approx 2500 log files on single server) and once error is found, it should mail that error
My logic says:
we can put all log files path/location in one... (2 Replies)
Discussion started by: Pratik_CTS
2 Replies
2. Shell Programming and Scripting
I want to check for "errors" or "ORA-" in Y.if there is an error then exit
Y=`sqlplus -s user/passwd<< EOF
exec test_Proc;
exit;
EOF`
if ; then
exit 1
fi
but this doesnt work (6 Replies)
Discussion started by: haadiya
6 Replies
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am trying to convert a C language program over to Sparc Assembley and I am getting Undefined first referenced... (4 Replies)
Discussion started by: kenjiro310
4 Replies
4. Shell Programming and Scripting
Hi,
I've a find command like,
find /abcd/efgh -name "xxxx" 2> /dev/null > file1
what would be the condition to check if this returns none(means if the file "xxxx" is not present) ????
I tried checking with $? and it returns 72 to me but even the file is present also it returns... (6 Replies)
Discussion started by: skcvasanth
6 Replies
5. Ubuntu
Hi,
During start up I got the message "Your disk drives are being checked for errors". But it went so fast that I could read following messages.
Once logged I though I could find it in "dmesg" but nothing...
May someone know where I can find plese ? :) (3 Replies)
Discussion started by: xib.be
3 Replies
6. Shell Programming and Scripting
Hi,
I need to check a flatfile for various parameters like length of the record, format of record, any tab character present in the record etc.,
for checking presence of tab character, i'm trying to use the following code and i'm not sure if the same is right. Pls Help.
nawk '{print... (1 Reply)
Discussion started by: aravindc
1 Replies
7. Shell Programming and Scripting
Hi
Please let me know is there any way through which I can find out errors & do debugging in FTP scripts.
Thanks
Sourabh
TCS (1 Reply)
Discussion started by: sourabhshakya
1 Replies
8. Shell Programming and Scripting
Below script complains about remove, because the find that pipes into it has no results. It's okay operationally, but a bad error message.
I would like to first check whether find had any output, and only if it had output do the rm with xargs.
How can I check whether find had output?
... (1 Reply)
Discussion started by: tphyahoo
1 Replies
9. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
10. UNIX for Dummies Questions & Answers
I'm posting the line I just added to my crontab because it's my first and I want to be sure it's doing what I'm intending it to do.
59 23 0 * 1-5 /export/<many_directories_later...>/scripts/get_clientkpi.sh
Supposed to do: Run script at 11:59pm every night, except weekends.
Question: If I wish... (4 Replies)
Discussion started by: yongho
4 Replies