Perio
The initial version of the software is available at perio-0.1.0.tar.gz. Current version executes the command every second.
How to use it
- Extract the source code and compile it
$ tar -zxvf perio-0.1.0.tar.gz $ cd perio-0.1.0 $ ./configure && make
- Run the program
$ ./perio <command> [arguments]
Usage example
- Clock
$ ./perio date
- Watch interface status (of eth0)
$ ./perio ifconfig eth0
Note
If you do not want to install this tool but you need this function, you can emulate this function with your shell as follows.
$ while [ 1 ]; do clear; <command> [arguments]; sleep 1; done
However, this emulation does not refresh the buffer (i.e., the buffer is not cleared) and consumes the memory resource by the buffer increase, so we have made the new tool instead of this emulation.
In FreeBSD, you can use cmdwatch instead. In Linux, you can use watch instead.