01-27-2017
Dear RudiC,
I will check why i have problems with the tab space.
I use the conversion GPS time to UTC to by more precise only.. and you are right the datetime is already in the file.. but this is the only reason why i use the GPStime...
Thanks s lot for your help...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
looking for solution to replicate 1.5GB files to a remote location...
Currently, this process looks like the following:
move 1.5GB files into a staging area.
compress files.
rsync files to remote server.
remove compressed files.
I have performed some timings, and compress seems more... (5 Replies)
Discussion started by: mr_manny
5 Replies
2. Shell Programming and Scripting
Hi,
I have one file stat.
Stat file contents are as follows: for example.
H50768020040913,00260100,507680,13,0000000643,0000000643,00000,0000
H50769520040808,00260100,507695,13,0000000000,0000000000,00000,0000 H50770620040611,00260100,507706,13,0000000000,0000000000,00000,0000
Now i... (1 Reply)
Discussion started by: davidpreml
1 Replies
3. AIX
Hi,
I am trying to send oracle archives over WAN and it is taking hell a lot of time. To reduce the time, I tried to gzip the files and send over to the other side. That seems to reduce the time. Does anybody have experienced this kind of problem and any possible ways to reduce the time.
... (1 Reply)
Discussion started by: giribt
1 Replies
4. Shell Programming and Scripting
We have an egrep search in a while loop.
egrep -w "$key" ${PICKUP_DIR}/new_update >> ${PICKUP_DIR}/update_record_new
${PICKUP_DIR}/new_update is 210 MB file
In each iteration, the egrep on an average takes around 50-60 seconds to search. Ther'es nothing significant in the loop other... (7 Replies)
Discussion started by: hidnana
7 Replies
5. UNIX for Advanced & Expert Users
HI Experts ,
I'm using the following code to remove spaces appearing at the end of the file.
sed "s/*$//g" <filename> > <new_filename>
mv <new_filename> <filename>
this is working fine for volumes upto 20-25 GB.
for the bigger files it is taking more time that it is required... (5 Replies)
Discussion started by: sumoka
5 Replies
6. Shell Programming and Scripting
Hello everyone,
suppose there is a very big text file (>800 mb) that each line contains an article from wikipedia. Each article begins with a tag (<..>) containing its url. Currently there are 10^6 articles in the file.
I want to take random N articles, eliminate all non-alpharithmetic... (14 Replies)
Discussion started by: fedonMan
14 Replies
7. UNIX for Dummies Questions & Answers
Hello, I've been searching for something that slows down a process for some time now. Slow down as in make time pass by slower. I have rarely turned to asking a forum in the past but at this point I've given up.
For example: if I made a program that would print "Hello" in 5 seconds, I would use... (18 Replies)
Discussion started by: Nathan1
18 Replies
8. HP-UX
Hi,
I have a HP-UX server were I need to list all the files in the entire file system, their directory path, last modified date, owner and group. I do not need to search the file contents. I created the script given below and I am excluding directories and files of type tmp, temp and log. The... (4 Replies)
Discussion started by: Adyan Faruqi
4 Replies
9. Solaris
I have "inherited" a OmniOS (illumos based) server.
I noticed rsync is significantly slower in respect to my reference, FreeBSD 12-CURRENT, running on exactly same hardware.
Using same hardware, same command with same source and target disks, OmniOS r151026 gives:
test@omniosce:~# time... (11 Replies)
Discussion started by: priyadarshan
11 Replies
10. Shell Programming and Scripting
Hello,
For several of our scripts we are using awk to search patterns in files with data from other files. This works almost perfectly except that it takes ages to run on larger files. I am wondering if there is a way to speed up this process or have something else that is quicker with the... (15 Replies)
Discussion started by: SDohmen
15 Replies
LEARN ABOUT DEBIAN
gpstrans
GPSTRANS(1) GPS Utility GPSTRANS(1)
NAME
gpstrans - communicate with Garmin GPS receiver
SYNOPOSIS
gpstrans [ options ] [ file ]
DESCRIPTION
gpstrans allows the user with a Garmin GPS receiver to upload and download waypoints, routes, almanacs (satellite orbital elements) and
trackroutes. If file is not supplied, data will be read from stdin (-ux switch) or written to stdout (-dx switch).
OPTIONS
-pport set serial I/O device
-s set datum, format, offset, and device interactively, and save them in $HOME/.gpstrans.
-i identify connected GPS
-o turn off GPS device
-t get time from GPS
-ts get time from GPS and set system time on host
-dx download data indicated by x: r=route, t=track, w=waypoint, a=almanac
-m With -dt, downloads track data in the format which can be displayed by Mayko mXmap(1). With -dr or -ur, downloads or uploads route
data in a format compatible with Mayko mXmap.
-ux upload data indicated by x: r=route, t=track, w=waypoint, a=almanac
-v print program version.
--verbose
Increase verbosity.
--debug
Add debug printouts.
--help Print help text.
CONNECTION
For a DB-25 connector, you may need to connect pin 4, 5 and 6, 8, 20 together. This sets handshake signals so that your workstation can use
the serial port to communicate with the GPS.
1 ### #####
o o o # # # o # o o o o o
o o o o o o # o o o o o
Connect the Garmin cable as follows:
2 3 7
o o o o o o o o o o o o o
o o o o o o o o o o o o
Pin 2 goes to DATA IN (White)
Pin 3 goes to DATA OUT (Brown)
Pin 7 goes to GROUND (Black)
If it doesn't work in this way, try exchanging pins 2 and 3 at the connector.
The circular connector on a Garmin GPS II receiver can be wired to a DB-9 connector as follows:
_____ _____,-----,
3 / 4 | | |
| o o | | | |_____
| < <- groove -> |=====| |----,|
| o o | | | | ||
2 _____ / 1 |_____| | ||
`-----' ||
||
views are looking ||
into connector ||
at each end of cable ||
||
||
5 3 2 ________ ||
o o o o o | \___________||
o o o o |_________,------------'
DB-9 pin 2 goes to circular connector pin 2
DB-9 pin 3 goes to circular connector pin 4
DB-9 pin 5 goes to circular connector pin 3
other pins are not connected
(Note: the pin numbers for the circular connector are
arbitrary, and may not match the `official' numbers.)
If your plug is more recent than the one above (ex: etrex) then you need DB-9 or DB-25 to be connected to your Garmin GPS like this:
_____,-----,
POWER(+) | | |
groove --> |=====| |_____
DATA IN | | |----,|
DATA OUT | | | ||
GROUND(-) |_____| | ||
`-----' ||
||
||
||
||
||
||
________ ||
| \___________||
|_________,------------'
DB-25 :
2 3 7
o o o o o o o o o o o o o
o o o o o o o o o o o o
Pin 2 goes to DATA IN (White) Pin 3 goes to DATA OUT (Brown) Pin 7 goes to GROUND (Black)
DB-9:
5 3 2
o o o o o
o o o o
pin 2 goes to DATA IN (White)
pin 3 goes to DATA OUT (Brown)
pin 5 goes to GROUND (Black)
other pins are not connected
For testing, you might try setting the GPS to NMEA-Output and using a terminal emulator program like Kermit. The GPS will send a data
record every 2 seconds. As long as you don't see any data on your computer, gpstrans won't work.
After finishing the test, be sure to set your GPS receiver to GRMN/GRMN.
ENVIRONMENT
GPSDEV Serial I/O device (overrides contents of $HOME/.gpstrans, and is overridden by -p switch).
FILES
$HOME/.gpstrans
Has user preferences for datum, format, offset, and serial I/O device (see -s switch, above).
AUTHOR
GPStrans is Copyright 1995 by Carsten Tschach <tschach@zedat.fu-berlin.de>. The datum translation routines are based on the program MacGPS
from John F. Waers <jfwaers@csn.net>. Mayko mXmap output format by Matthias Kattanek <mattes@ugraf.com>. German Grid by Andreas Lange
<andreas.lange@rhein-main.de>. etrex support by Joao Seabra CT2GNL - <seabra@ci.aac.uc.pt>. Other Garmin formats added by Jim Van Zandt
<jrvz@comcast.remove.me.net>.
SEE ALSO
mxmap(1), GPSMan
- 2006 May 7 GPSTRANS(1)