10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies
2. Shell Programming and Scripting
Greetings Experts,
I am on AIX using ksh. Created a unix script which generates the CREATE OR REPLACE VIEW ... and GRANT .. statements, which are placed in a single .txt file. Now I need to execute the contents in the file (there are around 300 view creation and grant statements) in Oracle and... (4 Replies)
Discussion started by: chill3chee
4 Replies
3. Shell Programming and Scripting
Hi All,
Need help in below query, appreciate your help.
We are changing a FTP process to SFTP ( passwordless SSH )
I had few queries on how to log the transfer details into a log file.
-----------------------------------------------------
PUTLOGFILE= /xxx/ftp_log.log
FAILPUTLOGFILE=... (0 Replies)
Discussion started by: aadarshtripathi
0 Replies
4. Shell Programming and Scripting
Hi,
I do have 2 files
Job_Name
Job1
Job2
Job3
Instance_Name
USA
IND
SRI
I need to write a script, i.e, output of job1.USA should come in log in unix.
i.,e
When it runs for the first time it should run as
Job1.USA
next run
Job1.IND
Job1.SRI (3 Replies)
Discussion started by: dsnaveen
3 Replies
5. Shell Programming and Scripting
Hi ,
I am running a backgorund process called hello.sh
./hello &
Now i need to capture the log file as it produces the output .
i am not able to use " >> " nor " tee " to capture the output file / log file .
Please let me know how can i do it ?
Regards,
Deepak Konnur (3 Replies)
Discussion started by: dskonnur
3 Replies
6. Shell Programming and Scripting
Hi
I have a script that will run multiple unix & sql commands. I want to see the output as well as capture it to a log file for further analysis. Is there an easy way to do that instead of adding "tee -a logfile" on everyline or even on the execute line (i.e. script | tee -s logfile).
Thanks (1 Reply)
Discussion started by: nimo
1 Replies
7. UNIX for Advanced & Expert Users
hello,
i have a windows server with datastage.
In another machine, unix machine, i have a shell script that need to invoke the datastage dsjob.
Can anyone help me? (0 Replies)
Discussion started by: anaconga
0 Replies
8. Shell Programming and Scripting
Hi Friends,
I am using a dsjob command in a unix script to invoke DataStage jobs.
DataStage server jobs (version 7.5.2)
The command looks like thisL:
$DSBinPath/dsjob -server :$SERVER_PORTID -run -mode NORMAL -jobstatus -param INPUT_GCDB_DIR=$InputFilePath -param... (0 Replies)
Discussion started by: sureshg_sampat
0 Replies
9. Shell Programming and Scripting
Hi ,
I have seen some log files where they have captured the command that is being executed, comments present in the scripts and the out put of the command as well, through scripts. could any one of you please let me know how do i do that?
Thanks in advance.
Cheers,
Waseem (4 Replies)
Discussion started by: ahmedwaseem2000
4 Replies
10. Shell Programming and Scripting
Hi All,
I have a log file which consists of log messages as follows ->
GLOBALCALLID_CLUSTERID_B NEXT * , O(") CHARACTER
JOINONBEHALFOF NEXT * , O(") CHARACTER
Record 1: Rejected - Error on table IFA_MMV_CDR, column CDRRECORDTYPE.... (1 Reply)
Discussion started by: rahulrathod
1 Replies
ARBTT-CAPTURE(1) Program references ARBTT-CAPTURE(1)
NAME
arbtt-capture - collect data samples for arbtt
SYNOPSIS
arbtt-capture [OPTION...]
DESCRIPTION
arbtt-capture runs continuously and saves at the given sample rate, usually once per minute, the collected data to ~/.arbtt/capture.log.
OPTIONS
-h, -?, --help
shows a short summary of the available options, and exists.
-V, --version
shows the version number, and exists.
-r RATE, --sample-rate RATE
sets the sample rate in seconds (default: 60)
-f FILE, --logfile FILE
logfile to use instead of ~/.arbtt/capture.log
FILES
~/.arbtt/capture.log
binary file, storing the arbtt data samples
SEE ALSO
See the arbtt manual for more information and the arbtt hackage page[1] for newer versions of arbtt.
AUTHORS
Joachim Breitner <mail@joachim-breitner.de>
Main author of arbtt
Sergey Astanin <s.astanin@gmail.com>
Contributor
Martin Kiefel <mk@nopw.de>
Contributor
Muharem Hrnjadovic <muharem@linux.com>
Contributor
NOTES
1. arbtt hackage page
http://www.hackage.org/package/arbtt
arbtt manual 04/07/2012 ARBTT-CAPTURE(1)