11-15-2006
you're welcome.
If you could be more specific - you could get better help.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to parse hundreds of shell scripts to determine how they related to each other. Ideally for every script, I would get an output of:
What other scripts it calls
What files it reads
Environment variables it accesses
Any ideas on how to do this?
TIA! (2 Replies)
Discussion started by: bliss
2 Replies
2. Shell Programming and Scripting
Hi
I would like to create a log file to track the execution of my script.
Example, if there were any errors, if it passed or failed etc.
How do I go about doing this.
My log file will be saved to this location: /var/log/import.log
How do I specify the directory?
I have been... (1 Reply)
Discussion started by: ladyAnne
1 Replies
3. Shell Programming and Scripting
Hello everybody,
I need some help here to create a script to parse a log file. Here is a sample of the log file :
0x42258940 (Debug) Cache SUMMARY attrs now/668 min/668 max/668.
0x42258940 (Debug) RSVD SUMMARY reserved space max requested/128 MB accounted now/0 MB
0x42258940 (Debug)... (12 Replies)
Discussion started by: Samb95
12 Replies
4. UNIX for Dummies Questions & Answers
Hello,
i would like to parse Unix log files and i would like to use a Unix syslog analyzer.
I'm going to use Eucalyptus and i would like to parse its log files.
Is there any open source/free syslog parser??
Thanks, in advance! (2 Replies)
Discussion started by: g_p
2 Replies
5. Shell Programming and Scripting
Hi ,
Can you please check this code .I am getting the follwing error while executing the script.
Please help me out.
#rm /tmp/$$
#!/bin/ksh
dir_one="/usr/bin/sou"
dir_two="usr/bin/sou/temp"
for files in $dir_one/*.txt
do ... (31 Replies)
Discussion started by: soumyamishra
31 Replies
6. Shell Programming and Scripting
Hi, I was hoping that someone could help me. I have a problem that i am trying to work on and it requires me to change text within multiple files using sed. I use the program to change an occurance of a word throughout different files that are being tested. At first i had to Create a new script,... (1 Reply)
Discussion started by: Johnny2518
1 Replies
7. Homework & Coursework Questions
Hi, I was hoping that someone could help me. I have a problem that i am trying to work on and it requires me to change text within multiple files using sed. What i have so far is
!/bin/sh
File1="$3"
File2="$4"
File3="$5"
testNum="$File1"
while test "$testNum" <= "$File3";
do
echo... (12 Replies)
Discussion started by: Johnny2518
12 Replies
8. Shell Programming and Scripting
Bash on RHEL 6.2
We have multiple shell scripts executed by cron jobs. Each Shell script has its own log files currently. Most of them have logs generated using spool command from Oracle RDBMS's sqlplus commmand.
Sample:
#!/bin/bash
sqlplus -s scott/tiger << EOF
spool... (5 Replies)
Discussion started by: kraljic
5 Replies
9. Shell Programming and Scripting
Hi all,
We are having a sample log like
....
test.log:2015.03.17 06:16:24 >> ABC.generateMethod() MethodAException while processing Request! DataForm: Header --- dtd: template.dtd, titleName: berger, requestId: 1503170032131, documentName: invoice123, hostName: acme.net, userName: userABC... (10 Replies)
Discussion started by: tandrei
10 Replies
10. Shell Programming and Scripting
I am developing one script which will take log file name, output file name, date, hour and minute as an argument and based on these inputs, the script will scan and capture all the error(s) that have been triggered from a given time. Example: script should capture all the error after 13:50 on Jan... (2 Replies)
Discussion started by: ROMA3
2 Replies