Home >Operation and Maintenance >Linux Operation and Maintenance >What tool is linux ttyload?
ttyload is the load tool in linux. It is a lightweight utility that provides colored load averages over time on Linux and other Unix-like systems; it implements graphical representation in the terminal. Track system load average. ttyload uses standard hard-coded ANSI escape sequences for screen display and coloring.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
What is ttyload tool
ttyload is a load tool in Linux. It is a lightweight utility program that provides Provides colored load averages over time on Unix-like systems. It implements graphical tracking of system load averages in a terminal ("tty").
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.
How to install ttyload in Linux
In Debian/Ubuntu based distributions, you You can enter the following apt command 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 - Graphical Browsing Linux Load Average
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 get ttyload usage information and help, enter:
$ ttyload -h
The following are some important features that are not yet supported:
Supports arbitrary resizing.
Made X frontend using the same basic engine, "3xload".
Log-oriented mode.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of What tool is linux ttyload?. For more information, please follow other related articles on the PHP Chinese website!