Skip to content

hghcomphys/gpu-top

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU top

A basic command line tool to monitor GPU usage.

Installation

To install gpu-top, run the following command:

pip install --user git+https://github.com/hghcomphys/gpu-top.git

This will install required dependencies and add gtop command to your user-specific PATH (~/.local/bin). You can then run gtop directly.

To uninstall, use the following command:

pip uninstall gpu-top

Example

gtop

demo screemshot

Default device index is 0, but this can be changed via --device-index or simply -d flag.

Text-mode

Text mode (no plot) can be enabled via --text-mode or -t flag:

gtop -t

Configuration

Using --generate-config or -g flag will automatically generate a default configuration file at:

gtop -g
Generating default configuration '~/.gputoprc'.

Once this file exists, you can edit it to customize how gtop behaves or displays system metrics. For example, to switch from the default timeline plot to a bar plot, update dashboard_plot_bar to true. After saving, gtop graphs will appear as bar plots instead of time-based line plots.

Note: If you remove ~/.gputoprc, gtop will automatically fall back to the default configuration.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A basic command line tool to monitor GPU usage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages