Home > System Tutorial > LINUX > body text

System load monitoring tool in Linux system-ttyload

王林
Release: 2024-01-23 08:30:05
forward
686 people have browsed it

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
Copy after login

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
Copy after login

After the installation is complete, you can enter the following command to start.

$ ttyload
Copy after login

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
Copy after login

To run in monochrome mode, i.e. it turns off ANSI escaping, use -m as follows:

$ ttyload -m
Copy after login

Linux 中的负载工具-ttyload

ttyload – Monochrome mode

To obtain ttyload usage information and help, enter:

$ ttyload -h 
Copy after login

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!

source:linuxprobe.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template