Paketname | sleepenh |
Beschreibung | Sleep until a given date with subsecond resolution |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 1.3-1 |
Sektion | universe/utils |
Priorität | extra |
Installierte Größe | 60 Byte |
Hängt ab von | libc6 (>= 2.3.4) |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu MOTU Developers |
Quelle | |
Paketgröße | 7280 Byte |
Prüfsumme MD5 | f92c26357a86303da94e35ad6fa60989 |
Prüfsumme SHA1 | 980b6f66e8441f9fa8668e9ec80b443adf1ef0f0 |
Prüfsumme SHA256 | c439498ff08a84ceb22cef1f1920441540a55a95a030a0bc776879bc75c46a2f |
Link zum Herunterladen | sleepenh_1.3-1_i386.deb |
Ausführliche Beschreibung | sleepenh is an sleep program for using in shell scripts
that need to perform a loop that repeats at a regular
time interval, without cumulative errors.
.
It supports microsecond resolution.
.
You can also specify the time you need between two calls
of sleepenh.
.
Here follows an usage example to clarify its purpose. This
example sends 'A' to ttyS0 every 1.2 seconds.
#!/bin/sh
# does not wait (or wait 0), just to get initial timestamp
TIMESTAMP=`sleepenh 0`
while true; do
# send the byte to ttyS0
echo -n "A" > /dev/ttyS0;
# wait until the required time
TIMESTAMP=`sleepenh $TIMESTAMP 1.200`;
done
.
For more details, please read the manpage.
|