Perio is a command line tool that executes another command periodically.

Search from the Internet:
Custom Search


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

  1. Extract the source code and compile it
    $ tar -zxvf perio-0.1.0.tar.gz
    $ cd perio-0.1.0
    $ ./configure && make
  2. Run the program
    $ ./perio <command> [arguments]

Usage example

  1. Clock
    $ ./perio date
  2. Watch interface status (of eth0)
    $ ./perio ifconfig eth0


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.