General :: Replace Time Format To Seconds?

Jun 30, 2011

I have log file in formatJun/26/2011 01:17:50 wireless ....Jun/26/2011 18:25:15 wireless ....Jun/26/2011 22:34:43 wireless ....I need to put this in format ( only seconds insted hours:minutes:secondes)Jun/26/2011 4670s wireless ....Jun/26/2011 66315s wireless ....Jun/26/2011 81283s wireless ....If i useawk -F: '{ print ($1 * 3600) + ($2 * 60) + $3 }' output iz only 4670,66315,81283....I try to use something likesed "s/ ([0-9][0-9]):([0-9][0-9]):([0-9][0-9] )/`awk -F: '{ print ($1 * 3600) + ($2 * 60) + $3 }'` /g"but doesn't work

View 2 Replies


ADVERTISEMENT

General :: Change One Time Format To Other Format?

Jun 21, 2010

the time format i have used is %m:%d:%Y:%H:%M:%S eg- 06:21:10:13:29:18 and i want to convert it to 2010-06-21 13:29:18..

View 4 Replies View Related

General :: Calculate Local Time In Seconds?

Sep 3, 2010

I`m looking to calculate my Local Time in seconds from APOC - 1970.I found only - date +%s -> that display the UTC and not my Local Time.

View 3 Replies View Related

General :: Get The Number Of Leap Seconds In Time ( Time_t)?

Mar 31, 2009

time() API gives the number of seconds since 1970 Jan 1st 00:00:00 without considering leap seconds. How to get the number of leap seconds which needs to be considered in the value returned by time()..(gmtime will convert time_t to struct tm* and considers leap seconds. I am trying to write an API which will do the same function as gmtime)

View 5 Replies View Related

General :: Make Second Program Running With CPU Time Limit 2 Seconds?

May 16, 2011

Linux bash inline command to execute a program and limit the resource.As I know, to limit the resource I can use ulimit command.But, the problem is when I set the CPU time limit 1 second, and then I want to execute another program with CPU limit 2s, the ulimit command return an error like this: bash: ulimit: CPU time: cannot modify limit: Operation not permitted and absolutely my program killed in 1 second.So, How can I make the second program running with the CPU time limit 2 seconds?

View 3 Replies View Related

General :: Adding Time In Hh:mm:ss Format?

Feb 24, 2011

One of my scripts generated an output like this:

0:0:35
0:0:36
0:0:28
0:0:37
0:0:43
0:1:2

This is actually in a time format(hh:mm:ss) and how do i add all the values and get the sum in seconds . the output should be in seconds like total number of seconds : 241 secs

View 6 Replies View Related

General :: Set Time In 24 Hour Format?

Apr 12, 2010

Currently whenever i run date command output is shown like

Mon Apr 12 05:17:21 IST 2010

When its 17:17 Here.

How would i change it so that it should show.

Mon Apr 12 17:17:21 IST 2010

View 9 Replies View Related

General :: Set Time Format Using Command?

Feb 22, 2011

I want to know how to set time format (12 hrs or 24 hrs) using command.I tried thisode:date +%T -s "2011-02-23 14:00"But it only displays 24 hrs format on TERMINAL but it does not SET 24 hrs format on the system

View 4 Replies View Related

General :: Get The Time In Milliseconds Format?

Jun 25, 2010

I want to get the time in milliseconds format

View 6 Replies View Related

Software :: Get The Current Time With Nano Seconds On A Box Using C++?

Jan 9, 2009

I need to know how to get the current time with nano seconds on a linux box using c++?

View 3 Replies View Related

Fedora :: Gnome-3 - How To Make The Time Display Seconds

Aug 2, 2011

Is there a way for the time at the top of the screen to display seconds as well as the date ?

My clock seems to be about :40 seconds off... before i upgraded from f-13 i had my time controlled by ntp(how to verify ntp is enabled) ? even with network time = yes, it seems to lag a little.

I figured out the network time. it is under a whole separate menu for some reason.

Is there a way to get weather/ temperature like in classic gnome ?

Rite now my clock reads: tue 3:50 pm...Is there a way i can make it read: tue, aug 20, 2011 3:50:45 pm

View 5 Replies View Related

Ubuntu Installation :: Boot Time After Upgrading To 10.04 Is 29 Seconds?

May 4, 2010

I know this isnt normal for everyone but im getting a 29 to 30 second bootup on 10.04 from grub to login screen.. i installed boot up manager and disabled some of the things listed on a few recommendation pages on google where would i begin to figure this out? before i upgraded i was booting up at like 10 seconds tops..

View 1 Replies View Related

Ubuntu :: 10.10 Taking Longer Time (90 Seconds) To Boot

Nov 7, 2010

My ubuntu(10.10) installation takes a relatively longer time (90 seconds) to boot. I think part of the problem might be related to an error message during boot related to usb drivers.
Code:
[2.717076] usb 4-1: new low speed USB device using ohci_hcd and address 2
[3.244051] usb 4-2: new full speed USB device using ohci_hcd and address 3
[12.029046] /build/buildd/linux-2.6.35/drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed
I have attached the relevant part of dmesg output also.

View 6 Replies View Related

Ubuntu :: Every Time Play Any Video It's Forwarding Few Seconds Itself

Dec 4, 2010

i use Totem movie player every time i play any video it's forwarding a few seconds it self.

View 3 Replies View Related

Ubuntu :: Unrepairable Thunderbird Installation - Freezes After 10 Seconds Every Time

Apr 28, 2010

I've been using Thunderbird 3.0.x for some time and found in it a good replacement of TheBat. However, few days ago, ubuntu being ubuntu crashed and since then, Thunderbird freezes after 10 seconds every time I try to start it, sending CPU usage through the roof. I have 8 imap accounts in it and my profile folder is ~2.8gb I tried purging the installation. I tried fsck on all partitions. Windows Thunderbird using the same profile folder works just fine.

View 6 Replies View Related

OpenSUSE Hardware :: Radeon Driver And ATI ES1000 - Flickers One Time Each 4 Of 5 Seconds

Apr 8, 2011

I upgraded a HP Proliant server to openSUSE 11.4 (X86-64) with KDE, and I'm encountering various graphical problems. This machine's been running SUSE versions since 11.0 on similar hardware with few major issues, and I did the 'upgrade' by a new install keeping only /home partition intact. This Server has 10GB memory. It has a PCI ATI ES1000 with 64MB and uses the radeon driver. It boots up fine under the monitor's correct resolution of 1600*1000, but

1) It flickers one time each 4 of 5 seconds
2) during works more and more memory is used : starting at 9% and going up to 51% after 20 minutes and I receive then allocation error in /var/log/messages

[Code]...

View 9 Replies View Related

Ubuntu :: Gparted-instant Crash After About 3 Seconds Of Grayed Out Screen Time

Nov 24, 2010

ive searched the forums and web for info on this but i am stumped.not unusual since i started to use linux.gparted crashes after about 3 seconds of grayed out screentime.here is my terminal readout after entering sudo gparted command.tenza@tenza-desktop:~$ sudo gparted

[Code]....

View 1 Replies View Related

General :: Replace Function Replace More Than One Word With The Same Character(s)?

Apr 23, 2011

Can the Replace function replace more than one word with the same character(s)?

Also, do you know how to access the plugins provided by the gedit-plugins package?

View 3 Replies View Related

General :: Setting Time And Date / Setting Calendar Format?

May 14, 2010

Have installed Suse 11.2. how can I change the calendar format dd/mm/yyyy and how to configure the system to sync.from an ntp?

View 1 Replies View Related

Ubuntu :: Replace Gnome Panel Time Display With Ddate?

Oct 4, 2010

Is it possible to replace the date and time display on the gnome panel with the discordian date?

View 3 Replies View Related

Debian :: How To Change DATE / TIME Format

Jul 23, 2011

I set my location, but Debian displays DATE in some messed format. I would expect such neat OS to recognize all those local settings based on my location, but that's not the case. It seems that Debian follows locale settings by set language (which is en_us in my case, as I guess in majority uses) or this format is default in any case

I would like to set date/time to DD.MM.YY. hh:mm:ss, and programs that display date data to follow this setting. Simply put, in Windows there is Control Panel and you set location, then OS uses some regional settings, like currency, separators, date/time format.

View 7 Replies View Related

Fedora :: How To Change Time Display Format

May 15, 2010

How do I switch from 24hr format to 12hr format clock in Fedora 12 + KDE?

View 5 Replies View Related

Fedora :: Can't Change Date / Time Format In F15

Jul 10, 2011

In the past, I just edited the /usr/share/gnome-shell/js/ui/dateMenu.js file to alter the date and time format. Today when I tried that, it crashed GNOME Shell and wouldn't let it start..

View 4 Replies View Related

Fedora :: How To Customize Date / Time Format

Aug 7, 2011

For some reason, thunderbird uses some random order for the date elements, e.g. MM/DD/YY. I need to change it to YYYY/MM/DD but haven't found where! There is no option in TB to configure this so I guess it just picks some default from regional settings? Where do I need to go to set the date format to its logical form?

View 3 Replies View Related

Software :: Possible To Changestamp's Date / Time Format

Jul 12, 2011

In KWrite, you can make a datestamp and timestamp by pressing F7 for a command line and typing "date" therein. I just wondered: is it possible to change the stamp's date/time format, which is mm/dd/yy 24-hour time format? That's fine, but I wish the stamp could include the day of the week. (I use KWrite to keep a text-only personal journal. Any suggestions that I use a different program are welcome but are beside the point.)

I looked through the editor settings options, but found nothing relevant. The settings don't mention the F7 command line and the datestamp/timestamp at all; the only reason I know is because I once asked if there was a way to make one, as in Windows Notepad.

View 2 Replies View Related

General :: Simple Script To Convert Datetime Format To UTC Format?

Oct 9, 2009

just wondering is there a simple script to convert datetime to UTC format. I have been searching different forums but most answers are for converting UTC to datetime. For example what is a simple command/script to convert todays datetime to UTC format i.e. '2009-10-09 11:47:59'.

View 10 Replies View Related

General :: Format A USB Hard Drive To Vfat Format But Can't?

Sep 15, 2010

I need some assistance in trying to format a USB hard drive to vfat format but can't seem to do so. I am currently using RHEL 5.3. I have tried the following commands and they all come back as "command not found"

mke2fs vfat /dev/sc1
fdisk vfat /dev/sdc1
mkfs.vfat /dev/sdc1

What am I doing incorrectly?? Can someone please point me in the right direction??

View 6 Replies View Related

Ubuntu Multimedia :: Watching 720p And 1080p Movies, MKV Format. The Movie Is Breaking All Time?

May 8, 2011

when I'm traying to watch 720p and 1080p movies, MKV format. The movie is breaking all time, do I need to install any codecs or extansions, or use another application.I tried VLC player, and it is same. Well i had same problem with Ubuntu 10.10 and could't fix it.

View 2 Replies View Related

General :: Change The Creation Time Of All A Folder's Files To The Current Time?

Jun 19, 2011

Under a Linux shell, how can I change the creation time of all a folder's files to the current time?

View 2 Replies View Related

General :: Change Time (Advanced Eastern Time) On Slackware 8.1?

Mar 24, 2010

I have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the time is still wrong.

Is there a way to force it to sync with my domain controler or even another online NTP server?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved