xtop, a command line xpu hardware monitoring tool that supports CPU, GPU, and NPU.
Project description
xtop
xtop, a command line xpu hardware monitoring tool that supports CPU, GPU, and NPU.
Install
Just install it directly by pip.
pip install xtop
To upgrade xtop:
pip install xtop --upgrade
# or
pip install xtop -U
Usage
Use as a command line tool
You can use this tool directly from the command line with the following command, just like other programs.
xtop [Options]
For example, use -n flag to open NPU, with -l flag to enable LOG.
xtop -n -l
For more command line flags, see:
xtop -h
Please note that the command line entry for xtop is created by pip, and depending on the user, this entry may not in the system PATH. If you encounter this problem, pip will give you a prompt, follow the prompts to add entry to the system PATH.
More functionalities are under development.
Supported (Tested) OS
- Linux
- Windows (Only GPU)
Build from source
Build tools
Make sure the following Python build tools are already installed.
- setuptools
- build
- twine
Build package
clone the project, and run:
python -m build
After the build process, the source package and the binary whl package can be found in the dist folder.
Windows
install:
pip install nvidia-ml-py windows-curses
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.