jtop在ubuntu上的監(jiān)控功能介紹

小樊
82
2024-09-08 09:02:08

jtop 是一個(gè)用于監(jiān)控 NVIDIA Jetson 設(shè)備的實(shí)時(shí)系統(tǒng)和 GPU 性能的命令行工具

以下是 jtop 的主要功能:

  1. 系統(tǒng)信息:顯示有關(guān)板載系統(tǒng)的詳細(xì)信息,如 CPU、內(nèi)存、溫度等。
  2. GPU 信息:顯示有關(guān) NVIDIA GPU 的詳細(xì)信息,如使用率、頻率、溫度等。
  3. 進(jìn)程監(jiān)控:顯示正在運(yùn)行的進(jìn)程及其相關(guān)信息,如 CPU 和 GPU 使用率、內(nèi)存占用等。
  4. 實(shí)時(shí)圖表:提供實(shí)時(shí)更新的圖表,以可視化系統(tǒng)和 GPU 的性能數(shù)據(jù)。
  5. 日志查看器:顯示與系統(tǒng)和 GPU 相關(guān)的日志信息。
  6. 設(shè)置選項(xiàng):允許用戶自定義 jtop 的行為,例如更改刷新速率、顯示單位等。

要在 Ubuntu 上安裝 jtop,請(qǐng)按照以下步驟操作:

  1. 打開(kāi)終端。
  2. 輸入以下命令以添加 NVIDIA 軟件包存儲(chǔ)庫(kù):
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget http://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda-repo-ubuntu1804-11-0-local_11.0.3-450.51.06-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1804-11-0-local_11.0.3-450.51.06-1_amd64.deb
sudo apt-key add /var/cuda-repo-ubuntu1804-11-0-local/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda
  1. 輸入以下命令以安裝 jtop
sudo apt-get install jtop
  1. 輸入以下命令以運(yùn)行 jtop
jtop

現(xiàn)在,您應(yīng)該能夠看到 jtop 界面,其中包含有關(guān)您的 Jetson 設(shè)備的實(shí)時(shí)性能數(shù)據(jù)。

0