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
ebb871aa
Kaydet (Commit)
ebb871aa
authored
Ara 03, 2021
tarafından
Hakan Dündar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor improvements
üst
bc67637e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Storage.py
src/Storage.py
+1
-1
StorageDetails.py
src/StorageDetails.py
+1
-1
system-monitoring-center.spec
system-monitoring-center.spec
+1
-1
No files found.
src/Storage.py
Dosyayı görüntüle @
ebb871aa
...
...
@@ -436,7 +436,7 @@ def storage_loop_func():
disk_vendor
=
reader
.
read
()
.
strip
()
with
open
(
"/sys/class/block/"
+
disk
+
"/device/model"
)
as
reader
:
disk_model
=
reader
.
read
()
.
strip
()
disk_vendor_model
=
disk_vendor
+
"
-
"
+
disk_model
disk_vendor_model
=
disk_vendor
+
"
-
"
+
disk_model
except
:
disk_vendor_model
=
"-"
storage_data_row
.
append
(
disk_vendor_model
)
...
...
src/StorageDetails.py
Dosyayı görüntüle @
ebb871aa
...
...
@@ -313,7 +313,7 @@ def storage_details_foreground_func():
disk_vendor
=
reader
.
read
()
.
strip
()
with
open
(
"/sys/class/block/"
+
disk
+
"/device/model"
)
as
reader
:
disk_model
=
reader
.
read
()
.
strip
()
disk_vendor_model
=
disk_vendor
+
"
-
"
+
disk_model
disk_vendor_model
=
disk_vendor
+
"
-
"
+
disk_model
except
:
disk_vendor_model
=
"-"
# Get disk label
...
...
system-monitoring-center.spec
Dosyayı görüntüle @
ebb871aa
Name: system-monitoring-center
Version: 0.1.21~beta1
6
Version: 0.1.21~beta1
9
Release: 1%{?dist}
Summary: Provides information about system performance and usage.
License: GPLv3
...
...
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