← 返回命令列表

Linux command

tload 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show a live ASCII graph

tload

Display the graph on a specific tty

tload [/dev/tty2]

Set the vertical scale

tload -s [1]

Update the graph every 5 seconds

tload -d [5]

Combine scale and update interval

tload -s 2 -d 2

说明

tload prints a rolling ASCII graph of the 1-, 5-, and 15-minute load averages read from /proc/loadavg to the specified tty — or to the terminal that started tload if none is given. Each column in the graph represents one sample, so the display scrolls from right to left as new values arrive. The current load averages are also printed at the top of the screen in the familiar uptime format. tload is especially useful on headless servers, serial consoles, and tmux panes where a full curses-based monitor such as top or htop would be overkill. The utility exits on any keystroke (q, Ctrl-C, etc.) and redraws cleanly on SIGWINCH when the terminal is resized.

参数

-s _NUMBER_, --scale _NUMBER_
Vertical scale in characters between graph ticks. A smaller value produces a taller, more sensitive graph.
-d _SECONDS_, --delay _SECONDS_
Seconds between redraws. Setting -d 0 disables the alarm and freezes the display.
-h, --help
Display help text and exit.
-V, --version
Print version information and exit.

FAQ

What is the tload command used for?

tload prints a rolling ASCII graph of the 1-, 5-, and 15-minute load averages read from /proc/loadavg to the specified tty — or to the terminal that started tload if none is given. Each column in the graph represents one sample, so the display scrolls from right to left as new values arrive. The current load averages are also printed at the top of the screen in the familiar uptime format. tload is especially useful on headless servers, serial consoles, and tmux panes where a full curses-based monitor such as top or htop would be overkill. The utility exits on any keystroke (q, Ctrl-C, etc.) and redraws cleanly on SIGWINCH when the terminal is resized.

How do I run a basic tload example?

Run `tload` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s _NUMBER_, --scale _NUMBER_ do in tload?

Vertical scale in characters between graph ticks. A smaller value produces a taller, more sensitive graph.