Linux command
zenith 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start zenith
zenith
Refresh at custom interval
zenith --refresh-rate [500]
Start with specific database
zenith --db [/path/to/zenith.db]
Disable GPU monitoring
zenith --disable-gpu
Use specific graphics mode
zenith --graphics-mode [plain]
说明
zenith is a terminal system monitor focusing on historical data visualization. It stores metrics in SQLite for reviewing past system state. The interface displays CPU, memory, network, disk, and GPU metrics with sparkline charts. Process list shows current system activity with sorting and filtering. Historical data stored in the SQLite database allows viewing past system behavior. Navigate time with zoom controls. Default location is ~/.zenith.db. GPU monitoring supports NVIDIA (nvidia-smi) and AMD (amdgpu). Enable at compile time or check build features. Use --disable-gpu if unavailable. The refresh rate controls how often metrics update. Lower values provide smoother animation but higher CPU usage.
参数
- -d, --db _path_
- History database path.
- -r, --refresh-rate _ms_
- Refresh rate in milliseconds (default: 2000).
- --disable-gpu
- Disable GPU monitoring.
- --disable-history
- Disable history collection.
- --graphics-mode _mode_
- Graphics mode: unicode (default), plain.
- -p, --process _mode_
- Process display: cpu, mem, top.
- --cpu-height _rows_
- CPU chart height.
- --net-height _rows_
- Network chart height.
- --disk-height _rows_
- Disk chart height.
- -h, --help
- Display help information.
- -V, --version
- Display version information.
FAQ
What is the zenith command used for?
zenith is a terminal system monitor focusing on historical data visualization. It stores metrics in SQLite for reviewing past system state. The interface displays CPU, memory, network, disk, and GPU metrics with sparkline charts. Process list shows current system activity with sorting and filtering. Historical data stored in the SQLite database allows viewing past system behavior. Navigate time with zoom controls. Default location is ~/.zenith.db. GPU monitoring supports NVIDIA (nvidia-smi) and AMD (amdgpu). Enable at compile time or check build features. Use --disable-gpu if unavailable. The refresh rate controls how often metrics update. Lower values provide smoother animation but higher CPU usage.
How do I run a basic zenith example?
Run `zenith` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d, --db _path_ do in zenith?
History database path.