Home  >  Article  >  System Tutorial  >  System load monitoring tool in Linux system-ttyload

System load monitoring tool in Linux system-ttyload

王林
王林forward
2024-01-23 08:30:05687browse

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.
Linux 中的负载工具-ttyload
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.

How to install ttyload in Linux

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

Linux 中的负载工具-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

Linux 中的负载工具-ttyload

ttyload – Monochrome mode

To obtain ttyload usage information and help, enter:

$ ttyload -h 

The following are some important features that are not yet supported:

  • Supports any size adjustment.
  • Made X frontend using the same basic engine, "3xload".
  • Log-oriented mode.

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!

Statement:
This article is reproduced at:linuxprobe.com. If there is any infringement, please contact admin@php.cn delete