View Nvidia's GPU using emotion under Linux

Source: Internet
Author: User

1. Show current GPU usage
Nvidia-smi
2. Usage of the periodic input GPU

Use the watch command to periodically output GPU usage

$ Whatis Watch
Watch (1)-Execute a program periodically, showing output fullscreen

$watch

Usage:
Watch [Options] Command

Options:
-B,--beep beep if command has a Non-zero exit
-C,--color interpret ANSI color sequences
-D,--differences[=<permanent>]
Highlight changes between updates
-E,--errexit exit if command has a Non-zero exit
-G,--chgexit exit when output from command changes
-N,--interval <secs> seconds to wait between updates
-P,--precise attempt Run command in precise intervals
-T,--no-title turn off header
-X,--exec Pass command to exec instead of "sh-c"

-H,--help display this help and exit
-V,--version output version information and exit

The GPU usage is refreshed once every 10s

Watch-n Nvidia-smi

  

View Nvidia's GPU using emotion under Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.