How to Install and Uninstall sleepenh Package on Ubuntu 20.10 (Groovy Gorilla)
Last updated: November 07,2024
1. Install "sleepenh" package
Learn how to install sleepenh on Ubuntu 20.10 (Groovy Gorilla)
$
sudo apt update
Copied
$
sudo apt install
sleepenh
Copied
2. Uninstall "sleepenh" package
Please follow the guidance below to uninstall sleepenh on Ubuntu 20.10 (Groovy Gorilla):
$
sudo apt remove
sleepenh
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the sleepenh package on Ubuntu 20.10 (Groovy Gorilla)
Package: sleepenh
Architecture: amd64
Version: 1.7-1
Priority: extra
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Nicolas Schier
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Depends: libc6 (>= 2.4)
Filename: pool/universe/s/sleepenh/sleepenh_1.7-1_amd64.deb
Size: 8316
MD5sum: 5ba1f71e5c5c0b1055feae75863589a1
SHA1: 296e548856d9a950eac717d7dc31e6aee8f63dc8
SHA256: 01561c157d7e1d6e406176c4c628d7faa5427e1c9c63ba0f8c0c0ef107d323fd
SHA512: 200d6d43e31d39b822aa1b3fdc37fa8fef2e450064dae055c9e667fbc03072948ae88d26aae3190f93a10d5e3b157434e7b3da4a50b8cb8ff9eb78fb4dc1c07a
Description-en: Sleep until a given date with subsecond resolution
sleepenh is a sleep program for 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.
Description-md5: 7763132c6d166a1aea20272c7b5c1d69
Architecture: amd64
Version: 1.7-1
Priority: extra
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Nicolas Schier
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Depends: libc6 (>= 2.4)
Filename: pool/universe/s/sleepenh/sleepenh_1.7-1_amd64.deb
Size: 8316
MD5sum: 5ba1f71e5c5c0b1055feae75863589a1
SHA1: 296e548856d9a950eac717d7dc31e6aee8f63dc8
SHA256: 01561c157d7e1d6e406176c4c628d7faa5427e1c9c63ba0f8c0c0ef107d323fd
SHA512: 200d6d43e31d39b822aa1b3fdc37fa8fef2e450064dae055c9e667fbc03072948ae88d26aae3190f93a10d5e3b157434e7b3da4a50b8cb8ff9eb78fb4dc1c07a
Description-en: Sleep until a given date with subsecond resolution
sleepenh is a sleep program for 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.
Description-md5: 7763132c6d166a1aea20272c7b5c1d69