Exporting time from log files | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Exporting time from log files

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-07-2013
mahesh300182 mahesh300182 is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 24 September 2014, 6:34 PM EDT
Posts: 20
Thanks: 3
Thanked 0 Times in 0 Posts
Exporting time from log files

Hi All,

I want to export the start time and end time of some jobs in autosys to excel.Could someone please help me with this. I am a begginer in autosys.

thanks all,.

---------- Post updated at 01:34 AM ---------- Previous update was at 01:16 AM ----------

someone please help me with this . i m new to this.
Sponsored Links
    #2  
Old 01-07-2013
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 30 October 2014, 7:23 AM EDT
Location: NM
Posts: 10,252
Thanks: 284
Thanked 803 Times in 747 Posts
Please post a sample log file.
The Following User Says Thank You to jim mcnamara For This Useful Post:
mahesh300182 (01-07-2013)
Sponsored Links
    #3  
Old 01-07-2013
mahesh300182 mahesh300182 is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 24 September 2014, 6:34 PM EDT
Posts: 20
Thanks: 3
Thanked 0 Times in 0 Posts
Exporting time from log files

Hi Jim,

Happy to see the reply.the log file for the autosys will be same in any environment right? right now i m not able to get u a sample log file . will try to update it soon.
    #4  
Old 01-08-2013
itkamaraj's Avatar
itkamaraj itkamaraj is offline Forum Advisor  
^Kamaraj^
 
Join Date: Apr 2010
Last Activity: 3 October 2014, 8:50 AM EDT
Posts: 3,059
Thanks: 33
Thanked 659 Times in 638 Posts

Code:
autorep -w -J JOBNAME | awk 'NF==8{print $1","$2" "$3","$4" "$5}' > output.csv

The above command only retrives the line, which has 8 columns.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[awk] combine and convert time from log files makan Shell Programming and Scripting 18 08-22-2012 10:18 PM
Generate a Execution time reports using log files. k_vikash Shell Programming and Scripting 2 06-22-2012 08:01 AM
How can view log messages between two time frame from /var/log/message or any type of log files johnveslin Shell Programming and Scripting 1 07-15-2011 02:41 AM
How to catch date and time from log files? pspriyanka Shell Programming and Scripting 11 06-16-2011 02:35 AM
Exporting log file into Excel harshaganapathy Shell Programming and Scripting 1 03-22-2011 09:35 PM



All times are GMT -4. The time now is 12:40 PM.