It is known to run on systems such as Linux, IRIX, Solaris, FreeBSD, MacOS X (Darwin), and Isilon OneFS. It's designed to be easily ported to other platforms, but that comes with some hard work.
Some of its noteworthy features are: It uses standard hard-coded ANSI escape sequences for screen display and coloring. It even comes with a relatively independent (not installed by default, not even built) load bomb if you want to check the work situation on a system with little load pressure.
In this article, we will show you how to install and use ttyload in Linux to view the system load average with colorful graphics in the terminal.
In Debian/Ubuntu based distributions, you can enter the apt command below to install ttyload from the default system repository.
$ sudo apt-get install ttyload
In other distributions, you can install from the source code of ttyload as follows.
$ git clone https://github.com/lindes/ttyload.git $ cd ttyload $ make $ ./ttyload $ sudo make install
After the installation is complete, you can enter the following command to start.
$ ttyload
ttyload - Load average for graphical browsing Linux
Note: To close the program, just press the Ctrl C key.
You can also define the number of seconds between refreshes. Default is 4 seconds, minimum is 1 second.
$ ttyload -i 5 $ ttyload -i 1
To run in monochrome mode, i.e. it turns off ANSI escaping, use -m as follows:
$ ttyload -m
ttyload – Monochrome mode
To obtain ttyload usage information and help, enter:
$ ttyload -h
The following are some important features that are not yet supported:
The above is the detailed content of System load monitoring tool in Linux system-ttyload. For more information, please follow other related articles on the PHP Chinese website!