Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
System Monitoring Center
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Kayıtlar (commit)
Kenar çubuğunu aç
Hakan Dündar
System Monitoring Center
Commits
f9bb409e
Kaydet (Commit)
f9bb409e
authored
Eki 31, 2023
tarafından
Hakan Dündar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Disabled GPU usage and GPU memory columns (Processes tab)
üst
1c40ddb7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
14 deletions
+25
-14
Processes.py
src/Processes.py
+7
-0
ProcessesMenu.py
src/ProcessesMenu.py
+18
-14
No files found.
src/Processes.py
Dosyayı görüntüle @
f9bb409e
...
...
@@ -66,6 +66,13 @@ class Processes:
Config
.
processes_data_column_order
=
data_column_order
+
[
-
1
]
Config
.
processes_data_column_widths
=
data_column_widths
+
[
-
1
]
# Hide GPU Usage and GPU Memory columns if they were shown before. This hides 25th and 26th columns.
if
len
(
data_column_order
)
==
26
:
if
data_column_order
[
-
1
]
!=
-
1
:
data_column_order
[
-
1
]
=
-
1
if
data_column_order
[
-
2
]
!=
-
1
:
data_column_order
[
-
2
]
=
-
1
def
tab_title_grid
(
self
):
"""
...
...
src/ProcessesMenu.py
Dosyayı görüntüle @
f9bb409e
...
...
@@ -213,59 +213,63 @@ class ProcessesMenu:
# CheckButton (Write Speed)
self
.
write_speed_cb
=
Common
.
checkbutton
(
_tr
(
"Write Speed"
),
None
)
grid
.
attach
(
self
.
write_speed_cb
,
0
,
13
,
1
,
1
)
grid
.
attach
(
self
.
write_speed_cb
,
1
,
1
,
1
,
1
)
# CheckButton (Priority)
self
.
priority_cb
=
Common
.
checkbutton
(
_tr
(
"Priority"
),
None
)
grid
.
attach
(
self
.
priority_cb
,
1
,
1
,
1
,
1
)
grid
.
attach
(
self
.
priority_cb
,
1
,
2
,
1
,
1
)
# CheckButton (Threads)
self
.
threads_cb
=
Common
.
checkbutton
(
_tr
(
"Threads"
),
None
)
grid
.
attach
(
self
.
threads_cb
,
1
,
2
,
1
,
1
)
grid
.
attach
(
self
.
threads_cb
,
1
,
3
,
1
,
1
)
# CheckButton (PPID)
self
.
ppid_cb
=
Common
.
checkbutton
(
_tr
(
"PPID"
),
None
)
grid
.
attach
(
self
.
ppid_cb
,
1
,
3
,
1
,
1
)
grid
.
attach
(
self
.
ppid_cb
,
1
,
4
,
1
,
1
)
# CheckButton (UID)
self
.
uid_cb
=
Common
.
checkbutton
(
_tr
(
"UID"
),
None
)
grid
.
attach
(
self
.
uid_cb
,
1
,
4
,
1
,
1
)
grid
.
attach
(
self
.
uid_cb
,
1
,
5
,
1
,
1
)
# CheckButton (GID)
self
.
gid_cb
=
Common
.
checkbutton
(
_tr
(
"GID"
),
None
)
grid
.
attach
(
self
.
gid_cb
,
1
,
5
,
1
,
1
)
grid
.
attach
(
self
.
gid_cb
,
1
,
6
,
1
,
1
)
# CheckButton (Start Time)
self
.
start_time_cb
=
Common
.
checkbutton
(
_tr
(
"Start Time"
),
None
)
grid
.
attach
(
self
.
start_time_cb
,
1
,
6
,
1
,
1
)
grid
.
attach
(
self
.
start_time_cb
,
1
,
7
,
1
,
1
)
# CheckButton (Command Line)
self
.
commandline_cb
=
Common
.
checkbutton
(
_tr
(
"Command Line"
),
None
)
grid
.
attach
(
self
.
commandline_cb
,
1
,
7
,
1
,
1
)
grid
.
attach
(
self
.
commandline_cb
,
1
,
8
,
1
,
1
)
# CheckButton (CPU Time)
self
.
cpu_time_cb
=
Common
.
checkbutton
(
_tr
(
"CPU Time"
),
None
)
grid
.
attach
(
self
.
cpu_time_cb
,
1
,
8
,
1
,
1
)
grid
.
attach
(
self
.
cpu_time_cb
,
1
,
9
,
1
,
1
)
# CheckButton (CPU - Recursive)
self
.
cpu_recursive_cb
=
Common
.
checkbutton
(
_tr
(
"CPU"
)
+
" - "
+
_tr
(
"Recursive"
),
None
)
grid
.
attach
(
self
.
cpu_recursive_cb
,
1
,
9
,
1
,
1
)
grid
.
attach
(
self
.
cpu_recursive_cb
,
1
,
10
,
1
,
1
)
# CheckButton (Memory (RSS) - Recursive)
self
.
memory_rss_recursive_cb
=
Common
.
checkbutton
(
_tr
(
"Memory (RSS)"
)
+
" - "
+
_tr
(
"Recursive"
),
None
)
grid
.
attach
(
self
.
memory_rss_recursive_cb
,
1
,
1
0
,
1
,
1
)
grid
.
attach
(
self
.
memory_rss_recursive_cb
,
1
,
1
1
,
1
,
1
)
# CheckButton (Memory - Recursive)
self
.
memory_recursive_cb
=
Common
.
checkbutton
(
_tr
(
"Memory"
)
+
" - "
+
_tr
(
"Recursive"
),
None
)
grid
.
attach
(
self
.
memory_recursive_cb
,
1
,
1
1
,
1
,
1
)
grid
.
attach
(
self
.
memory_recursive_cb
,
1
,
1
2
,
1
,
1
)
# CheckButton (GPU Usage)
self
.
gpu_usage_cb
=
Common
.
checkbutton
(
_tr
(
"GPU Usage"
),
None
)
grid
.
attach
(
self
.
gpu_usage_cb
,
1
,
12
,
1
,
1
)
# Do not attach the CheckButton and hide it. Because this feature is removed.
#grid.attach(self.gpu_usage_cb, 0, 13, 1, 1)
self
.
gpu_usage_cb
.
set_visible
(
False
)
# CheckButton (GPU Memory)
self
.
gpu_memory_cb
=
Common
.
checkbutton
(
_tr
(
"GPU Memory"
),
None
)
grid
.
attach
(
self
.
gpu_memory_cb
,
1
,
13
,
1
,
1
)
# Do not attach the CheckButton and hide it. Because this feature is removed.
#grid.attach(self.gpu_memory_cb, 1, 13, 1, 1)
self
.
gpu_memory_cb
.
set_visible
(
False
)
def
numbers_tab_gui
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment