11-30-2017
Gents,
Kindly, can you help to improve this code to be faster .. with 50000 lines in my file this take a lot time.
I appreciate your help.
10 More Discussions You Might Find Interesting
1. AIX
Is there an AIX command that displays the date mode so I can see if we have universal time code on? There's a vms command to tell you this but I have not been able to find a similar AIX command. (0 Replies)
Discussion started by: cchiang12
0 Replies
2. UNIX for Advanced & Expert Users
Hi
I'm trying to change my sys clock from PST to UTC.
I've read the man date page
it helpfully says :-
-u, --utc, --universal
print or set Coordinated Universal Time
as root I have tried date --universal, date -u, date --utc,
I have checked the /etc/sysinfo/clock file the... (5 Replies)
Discussion started by: OFFSIHR
5 Replies
3. Shell Programming and Scripting
Never mind i got the answer thanks., (0 Replies)
Discussion started by: deaconf19
0 Replies
4. Shell Programming and Scripting
Hello,
I am trying to figure out a way to convert the timestamps in a dataset from one timezone (which has daylight savings) to UTC.
2009-02-25 23:57:22,000D60727B89,221.16.86.23,SYSTEM1What would be the best way to approach this? (3 Replies)
Discussion started by: hazno
3 Replies
5. Shell Programming and Scripting
Hi,
I need to convert a number representing time in UTC seconds to a date. Ex:
3BE0082C --> Oct 31 2001 15:31:08
I have tried the following perl command but it gives a different answer?
$ perl -e 'print scalar localtime(shift), "\n"' 3BE00B2C
Thu Jan 1 03:00:03 1970
Any ideas? Thanks. :) (10 Replies)
Discussion started by: GNMIKE
10 Replies
6. Shell Programming and Scripting
Hi ALL,
In a file i have the date and time as:
2009-04-28 23:10:05 CST
My Local Unix server time is in UTC.
Now i need to convert the above date and time in the file to UTC timezone and convert to number of seconds.
Kindly suggest me on this,
---------- Post updated at 05:13 AM... (6 Replies)
Discussion started by: HemaV
6 Replies
7. AIX
Okay, so let's say we have a string like:
20110105_193345
This represents:
January 5th, 2011 = 20110105
24-hour style time 19:33:45 = 193345
Okay, so we have our time. It's January 5th, 2011 at 19:33:45. I want to convert this time from Eastern Time Zone (which it currently is in)... (1 Reply)
Discussion started by: syndex
1 Replies
8. AIX
Hello AIX friends,
We have timezone settings on our AIX 6.1 boxes set to Europe/London.
How can I change it to UTC timezone with Daylight saving disabled.
After running "smit chtz_user" I don't see UTC option in the listing.
Please advise.
TIA (3 Replies)
Discussion started by: prvnrk
3 Replies
9. Shell Programming and Scripting
I need to convert the given datetime from PST to UTC, i gone through multiple forum examples but everywhere it mentioned about converting the server datetime. So could someone help me on this.
I will be getting arguments for my script in the format of yyyymmddhh (eg:2015101004 - it will be pst),... (4 Replies)
Discussion started by: close2jay
4 Replies
10. AIX
Hi guys,
I got some error on my application server mentioning that gps clock not sync to my db server.
what is the command to check is my server is sync with the gps clock?
appreciate if you guys can let me know how to troubleshoot this problem.
Thanks (1 Reply)
Discussion started by: leecopper
1 Replies
LEARN ABOUT DEBIAN
gpsdecode
GPSDECODE(1) GPSD Documentation GPSDECODE(1)
NAME
gpsdecode - decode GPS, RTCM or AIS streams into a readable format
SYNOPSIS
gpsdecode [-c] [-d] [-e] [-j] [-t typelist] [-u] [-v] [-D debuglevel] [-V]
DESCRIPTION
This tool is a batch-mode decoder for NMEA and various binary packet formats associated with GPS, AIS, and differential-correction
services. It produces a JSON dump on standard output from binary on standard input. The JSON is the same format documented in gpsd(8); this
tool uses the same decoding logic as gpsd, but with a simpler interface intended for batch processing of data files.
All sensor-input formats known to the GPSD project can be decoded by this tool. These include: NMEA, AIVDM (the NMEA-derived sentence
format used by AIS, the marine Automatic Identification System), RTCM2, and all supported GPS binary formats (notably including SiRF). See
gpsd(8) for applicable standards and known limitations of the decoding logic.
You can use this tool with nc(1) to examine AIS feeds from AIS pooling services, RTCM feeds from RTCM receivers or NTRIP broadcasters.
OPTIONS
The -d option tells the program to decode packets presented on standard input to standard output. This is the default behavior.
The -j explicitly sets the output dump format to JSON (the default behavior).
The -e option option tells the program to encode JSON on standard input to JSON on standard output. This option is only useful for
regression-testing of the JSON dumping and parsing code.
The -t accepts a comma-separated list of numeric types. Packets with a numeric AIS, RTCM2, or RTCM3 type are passed through and output only
if they match a type in the list. Packets of other kinds (in particular GPS packets) are passed through unconditionally.
The -u suppresses scaling of AIS data to float quantities and text expansion of numeric codes. A dump with this option is lossless.
The -v enables dumping of textual packets to output as they are received on input, immediately preceding corresponding output.
The -c sets the AIS dump format to separate fields with an ASCII pipe symbol. Fields are dumped in the order they occur in the AIS packet.
Numerics are not scaled (-u is forced). Strings are unpacked from six-bit to full ASCII
The -V option directs the program to emit its version number, then exit.
The -D option sets a debug verbosity level. It is mainly of interest to developers.
AIS DSV FORMAT
With the -c option, dump lines are values of AIS payload fields, pipe-separated, in the order that they occur in the payload. Spans of
fields expressing a date are emitted as an ISO8601 timestamp (look for colons and the trailing Z indicating Zulu/UTC time), and the 19-bit
group of TDMA status fields found at the end of message types 1-4 are are dumped as a single unsigned integer (in hex preceded by "0x").
Unused regional-authority fields are also dumped (in hex preceded by "0x"). Variable-length binary fields are dumped as an integer bit
length, followed by a colon, followed by a hex dump.
SEE ALSO
gpsd(8), gpsctl(1), gpsdctl(8), gps(1), libgps(3), libgpsd(3), gpsprof(1), gpsfake(1),
AUTHOR
Eric S. Raymond esr@thyrsus.com.
The GPSD Project 13 Jul 2005 GPSDECODE(1)