Sponsored Content
Top Forums Shell Programming and Scripting [awk] combine and convert time from log files Post 302690321 by makan on Wednesday 22nd of August 2012 10:18:18 PM
Old 08-22-2012
i just back from long holiday...

thank you for all your assistant, guys... Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk convert seconds to time of day

Does anyone know of a way to convert "seconds" to time of day in "hh:mm:ss" ? Trying to do in awk with strftime but with no luck. Thanks (2 Replies)
Discussion started by: timj123
2 Replies

2. Shell Programming and Scripting

Convert Epoch Time to Standard Date and Time & Vice Versa

Hi guys, I know that this topic has been discuss numerous times, and I have search the net and this forum for it. However, non able to address the problem I faced so far. I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Discussion started by: DrivesMeCrazy
5 Replies

3. Shell Programming and Scripting

Find and Convert UTC Time to PST Time

Hello All - I have a script that grabs data from the net and outputs the following data 46029 46.144 -124.510 2010 07 26 22 50 320 4.0 6.0 2.2 9 6.8 311 1012.1 -0.9 13.3 13.5 13.3 - - 46041 47.353 -124.731 2010 07 26 22 50 250 2.0 3.0 1.6 8 6.4 - 1011.6 - ... (0 Replies)
Discussion started by: drexnefex
0 Replies

4. Shell Programming and Scripting

Shell script to convert epoch time to real time

Dear experts, I have an epoch time input file such as : - 1302451209564 1302483698948 1302485231072 1302490805383 1302519244700 1302492787481 1302505299145 1302506557022 1302532112140 1302501033105 1302511536485 1302512669550 I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies

5. Shell Programming and Scripting

How can view log messages between two time frame from /var/log/message or any type of log files

How can view log messages between two time frame from /var/log/message or any type of log files. when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval. Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies

6. UNIX Desktop Questions & Answers

Convert time with AWK

Hi All, I need your help with the following: My input shows the time in this format 1311547776493 I need to convert it (as part of my AWK script) into this format: 18-08-2011 09:35:11.072 Thanks a lot! Royi (4 Replies)
Discussion started by: royip
4 Replies

7. Shell Programming and Scripting

Using awk or nawk to convert epoch time to date format

Looking for some help and usually when I do a search this site comes up. Hopefully someone can give me a little direction as to how to use one of these two commands to achieve what I'm trying to do. What am I trying to do? I need to take the time value in epoch format returned from the... (5 Replies)
Discussion started by: minigts
5 Replies

8. Shell Programming and Scripting

How to combine two files with awk?

Hi, everyone! I have two files, I want to combine them as follows: File1 AAAA 23 45 AAAB 44 56 AAAC 34 65 AAAD 34 87 File2 AAAA 34 54 AAAE 34 56 Combined file AAAA 23 45 34 54 AAAB 44 56 AAAC 34 65 AAAD 34 87 AAAE 34 56 (13 Replies)
Discussion started by: xshang
13 Replies

9. Shell Programming and Scripting

Combine multiple unique lines from event log text file into one line, use PERL or AWK?

I can't decide if I should use AWK or PERL after pouring over these forums for hours today I decided I'd post something and see if I couldn't get some advice. I've got a text file full of hundreds of events in this format: Record Number : 1 Records in Seq : ... (3 Replies)
Discussion started by: Mayday22
3 Replies

10. Shell Programming and Scripting

Convert UTC time into current UNIX sever time zone

Hi guys thanks for the help for my previous posts.Now i have a requirement that i download a XMl file which has UTC time stamp.I need to convert UTC time into Unix server timezone. For ex if the time zone of unix server is CDT then i need to convert into CDT.whatever may be the system time... (5 Replies)
Discussion started by: mohanalakshmi
5 Replies
Gtk2::Assistant(3pm)					User Contributed Perl Documentation				      Gtk2::Assistant(3pm)

NAME
Gtk2::Assistant - wrapper for GtkAssistant HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Window +----Gtk2::Assistant INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::Assistant->new $assistant->add_action_widget ($child) o $child (Gtk2::Widget) integer = $assistant->append_page ($page) o $page (Gtk2::Widget) widget or undef = $assistant->get_apply_button widget or undef = $assistant->get_back_button widget or undef = $assistant->get_cancel_button widget or undef = $assistant->get_close_button $assistant->commit Since: gtk+ 2.22 integer = $assistant->get_current_page $assistant->set_current_page ($page_num) o $page_num (integer) widget or undef = $assistant->get_forward_button $assistant->set_forward_page_func ($func, $data=undef) o $func (scalar) o $data (scalar) integer = $assistant->insert_page ($page, $position) o $page (Gtk2::Widget) o $position (integer) widget or undef = $assistant->get_last_button integer = $assistant->get_n_pages widget = $assistant->get_nth_page ($page_num) o $page_num (integer) boolean = $assistant->get_page_complete ($page) o $page (Gtk2::Widget) $assistant->set_page_complete ($page, $complete) o $page (Gtk2::Widget) o $complete (boolean) pixbuf = $assistant->get_page_header_image ($page) o $page (Gtk2::Widget) $assistant->set_page_header_image ($page, $pixbuf) o $page (Gtk2::Widget) o $pixbuf (Gtk2::Gdk::Pixbuf) pixbuf = $assistant->get_page_side_image ($page) o $page (Gtk2::Widget) $assistant->set_page_side_image ($page, $pixbuf) o $page (Gtk2::Widget) o $pixbuf (Gtk2::Gdk::Pixbuf) string = $assistant->get_page_title ($page) o $page (Gtk2::Widget) $assistant->set_page_title ($page, $title) o $page (Gtk2::Widget) o $title (string) assistantpagetype = $assistant->get_page_type ($page) o $page (Gtk2::Widget) $assistant->set_page_type ($page, $type) o $page (Gtk2::Widget) o $type (Gtk2::AssistantPageType) integer = $assistant->prepend_page ($page) o $page (Gtk2::Widget) $assistant->remove_action_widget ($child) o $child (Gtk2::Widget) $assistant->update_buttons_state CHILD PROPERTIES
'complete' (boolean : default false : readable / writable) Whether all required fields on the page have been filled out 'header-image' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private) Header image for the assistant page 'page-type' (Gtk2::AssistantPageType : default "content" : readable / writable / private) The type of the assistant page 'sidebar-image' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private) Sidebar image for the assistant page 'title' (string : default undef : readable / writable / private) The title of the assistant page STYLE PROPERTIES
'content-padding' (integer : default 1 : readable / private) Number of pixels around the content pages. 'header-padding' (integer : default 6 : readable / private) Number of pixels around the header. SIGNALS
close (Gtk2::Assistant) cancel (Gtk2::Assistant) prepare (Gtk2::Assistant, Gtk2::Widget) apply (Gtk2::Assistant) ENUMS AND FLAGS
enum Gtk2::AssistantPageType o 'content' / 'GTK_ASSISTANT_PAGE_CONTENT' o 'intro' / 'GTK_ASSISTANT_PAGE_INTRO' o 'confirm' / 'GTK_ASSISTANT_PAGE_CONFIRM' o 'summary' / 'GTK_ASSISTANT_PAGE_SUMMARY' o 'progress' / 'GTK_ASSISTANT_PAGE_PROGRESS' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Assistant(3pm)
All times are GMT -4. The time now is 06:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy