-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved display of long PIDs and added tests
- Loading branch information
Showing
7 changed files
with
88 additions
and
13 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
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,26 @@ | ||
Sun Aug 2 13:44:21 2020 | ||
+-----------------------------------------------------------------------------+ | ||
| NVIDIA-SMI 450.57 Driver Version: 450.57 CUDA Version: 11.0 | | ||
|-------------------------------+----------------------+----------------------+ | ||
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | ||
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | ||
| | | MIG M. | | ||
|===============================+======================+======================| | ||
| 0 GeForce RTX 2070 Off | 00000000:01:00.0 Off | N/A | | ||
| 0% 50C P2 27W / 175W | 749MiB / 7981MiB | 2% Default | | ||
| | | N/A | | ||
+-------------------------------+----------------------+----------------------+ | ||
| 1 GeForce GTX 750 Ti Off | 00000000:04:00.0 On | N/A | | ||
| 33% 30C P8 1W / 46W | 871MiB / 2002MiB | 0% Default | | ||
| | | N/A | | ||
+-------------------------------+----------------------+----------------------+ | ||
|
||
+-------------------------------------------------------------------------------+ | ||
| GPU PID USER GPU MEM %CPU %MEM TIME COMMAND | | ||
| 0 1032 root 745MiB 10.0 5.0 11:42:17 python 0.py | | ||
| 1 1111021 admin 244MiB 1.0 4.0 12:42:17 python3 1.py | | ||
| 1 25544 test 139MiB 5.0 3.0 13:42:17 python 2.py | | ||
| 1 4755 user1 3MiB 3.0 2.0 14:42:17 /opt/software/MATLAB | | ||
| 1 1114518 root 1MiB 8.0 1.0 15:42:17 python3 3.py | | ||
| 1 13956 root 472MiB 2.0 0.0 16:42:17 python3 4.py | | ||
+-------------------------------------------------------------------------------+ |
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,14 @@ | ||
PID USER %CPU %MEM ELAPSED COMMAND | ||
1032 root 10.0 5.0 11:42:17 python 0.py | ||
1111021 admin 1.0 4.0 12:42:17 python3 1.py | ||
25544 test 5.0 3.0 13:42:17 python 2.py | ||
4755 user1 3.0 2.0 14:42:17 /opt/software/MATLAB/matlab94/bin/glnxa64/MATLAB script.m | ||
1114518 root 8.0 1.0 15:42:17 python3 3.py | ||
13956 root 2.0 0.0 16:42:17 python3 4.py | ||
14293 root 9.0 6.0 17:42:17 python3 5.py | ||
14294 user2 50.0 7.0 18:42:17 python3 6.py | ||
14295 user3 99.0 8.0 19:42:17 python3 7.py | ||
17547 root 230.0 9.0 30:42:17 python3 8.py | ||
11527 nobody 5.0 10.0 01:42:17 python 9.py | ||
27159 hacker 0.0 20.0 00:00:00 python3.5 10.py | ||
9908 nvidia 1.0 50.0 89-03:41:29 python very_long_very_long_very_long_very_long_very_long_very_long_very_long.py |
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,29 @@ | ||
Sun Aug 2 13:44:21 2020 | ||
+-----------------------------------------------------------------------------+ | ||
| NVIDIA-SMI 450.57 Driver Version: 450.57 CUDA Version: 11.0 | | ||
|-------------------------------+----------------------+----------------------+ | ||
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | ||
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | ||
| | | MIG M. | | ||
|===============================+======================+======================| | ||
| 0 GeForce RTX 2070 Off | 00000000:01:00.0 Off | N/A | | ||
| 0% 50C P2 27W / 175W | 749MiB / 7981MiB | 2% Default | | ||
| | | N/A | | ||
+-------------------------------+----------------------+----------------------+ | ||
| 1 GeForce GTX 750 Ti Off | 00000000:04:00.0 On | N/A | | ||
| 33% 30C P8 1W / 46W | 871MiB / 2002MiB | 0% Default | | ||
| | | N/A | | ||
+-------------------------------+----------------------+----------------------+ | ||
|
||
+-----------------------------------------------------------------------------+ | ||
| Processes: | | ||
| GPU GI CI PID Type Process name GPU Memory | | ||
| ID ID Usage | | ||
|=============================================================================| | ||
| 0 N/A N/A 1032 C python 745MiB | | ||
| 1 N/A N/A 1111021 G python3 244MiB | | ||
| 1 N/A N/A 25544 G python 139MiB | | ||
| 1 N/A N/A 4755 G ...matlab94/bin/glnxa64/MATLAB 3MiB | | ||
| 1 N/A N/A 1114518 G python3 1MiB | | ||
| 1 N/A N/A 13956 G python3 472MiB | | ||
+-----------------------------------------------------------------------------+ |
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