-
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from rbonghi/release/3.0.0
Release/3.0.0
- Loading branch information
Showing
31 changed files
with
1,256 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: UTF-8 -*- | ||
# This file is part of the jetson_stats package (https://github.com/rbonghi/jetson_stats or http://rnext.it). | ||
# Copyright (c) 2019 Raffaello Bonghi. | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
from jtop import jtop | ||
|
||
|
||
if __name__ == "__main__": | ||
|
||
print("All accessible jtop properities") | ||
|
||
with jtop() as jetson: | ||
# boards | ||
print('*** board ***') | ||
print(jetson.board) | ||
# jetson.ok() will provide the proper update frequency | ||
while jetson.ok(): | ||
# CPU | ||
print('*** CPUs ***') | ||
print(jetson.cpu) | ||
# GPU | ||
print('*** GPU ***') | ||
print(jetson.gpu) | ||
# Engines | ||
print('*** engine ***') | ||
print(jetson.engine) | ||
# nvpmodel | ||
print('*** NV Power Model ***') | ||
print(jetson.nvpmodel) | ||
# jetson_clocks | ||
print('*** jetson_clocks ***') | ||
print(jetson.jetson_clocks) | ||
# Status disk | ||
print('*** disk ***') | ||
print(jetson.disk) | ||
# Status fans | ||
print('*** fan ***') | ||
print(jetson.fan) | ||
# uptime | ||
print('*** uptime ***') | ||
print(jetson.uptime) | ||
# local interfaces | ||
print('*** local interfaces ***') | ||
print(jetson.local_interfaces) | ||
# Temperature | ||
print('*** temperature ***') | ||
print(jetson.temperature) | ||
# Power | ||
print('*** power ***') | ||
print(jetson.power) | ||
# EMC | ||
print('*** emc ***') | ||
print(jetson.emc) | ||
# IRAM | ||
print('*** ram ***') | ||
print(jetson.ram) | ||
# IRAM | ||
print('*** iram ***') | ||
print(jetson.iram) | ||
# MTS | ||
print('*** mts ***') | ||
print(jetson.mts) | ||
# EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,5 +24,5 @@ | |
__email__ = "[email protected]" | ||
# Version package | ||
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme | ||
__version__ = "3.0.0rc2" | ||
__version__ = "3.0.0" | ||
# EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.