| Paketname | sleepenh |
| Beschreibung | Sleep until a given date with subsecond resolution |
| Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
| Version | 1.3-1 |
| Sektion | utils |
| Priorität | extra |
| Installierte Größe | 60 Byte |
| Hängt ab von | libc6 (>= 2.7-1) |
| Empfohlene Pakete | |
| Paketbetreuer | Pedro Zorzenon Neto |
| Quelle | |
| Paketgröße | 7140 Byte |
| Prüfsumme MD5 | 66635ddd483056cf206f3796ffac0c3d |
| Prüfsumme SHA1 | 26614d76f46d848ce0740528821bfaa9cfcf5071 |
| Prüfsumme SHA256 | 1aaaa554e7478dca6059e91d97731ee61e253ac0781d63d33f4ee02c607521b5 |
| 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.
|