GtkStressTesting (software)
| GtkStressTesting | |
|---|---|
![]() | |
| Original author(s) | Roberto Leinardi |
| Initial release | January 25, 2020 |
| Stable release | 0.7.6
/ April 1, 2022 |
| Repository | gitlab |
| Type | Command |
| License | GNU General Public License version 3 and later version |
GtkStressTesting (GST)는 Roberto Leinardi에 의해 CPU와 RAM과 같은 다양한 하드웨어 구성 요소에 스트레스를 주고 모니터링하기 위해 설계된 GTK 유틸리티입니다. 이것은 자유 소프트웨어이고, Free Software Foundation에서 발행한 GPL3+의 조건에 따라 재배포와 수정될 수 있습니다.
Introduction
데비안 시스템에서 하드웨어, 특히 CPU에 대한 스트레스 테스트를 수행하는 도구가 많지 않은 것으로 보입니다. 이것은 CPU 스트레스 테스트와 마찬가지로 다양한 하드웨어 구성 요소를 모니터링하는 도구입니다.
Features
- Run different CPU and memory stress tests
- Run multi and single core benchmark
- Show Processor information (name, cores, threads, family, model, stepping, flags,bugs, etc)
- Show Processor's cache information
- Show Motherboard information (vendor, model, bios version, bios date, etc)
- Show RAM information (size, speed, rank, manufacturer, part number, etc)
- Show CPU usage (core %, user %, load avg, etc)
- Show Memory usage
- Show CPU's physical's core clock (current, min, max)
- Show Hardware monitor (info provided by sys/class/hwmon)
Installation
데비안 저장소에 아직 제공되지 않고 있기 때문에, 다른 방법을 통해서 설치할 수 있습니다. 만약 Flatpak을 사용하고 있다면 다음과 같이 설치할 수 있습니다:
Install from Flathub
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepoflatpak --user install flathub com.leinardi.gst
그놈 창에서 gst로 검색을 해서 실행하거나, 명령-줄에서 다음과 같이 실행할 수 있습니다:
flatpak run com.leinardi.gst
Debian packaging
먼저 소스를 가져옵니다. 이때, 기본 옵션으로는 0.7.5 버전을 가져오므로, 브랜치를 지정해서 최신 코드를 가져오도록 해야 합니다:
- git clone --recurse-submodules --depth 1 -b master https://gitlab.com/leinardi/gst
- dh_make --createorig -p gst_0.7.6
- dh_auto_configure --buildsystem=meson
- time dpkg-buildpackage -i -us -uc -b
컴파일이 되지 않을 때에는 오류를 확인해서 수정 후 다시 컴파일을 시도할 수 있습니다. 패키징이 완료되면,
- cd ..
- sudo dpkg -i gst_0.7.6-1_amd64.deb
처음 실행은 명령-줄에서 실행해서 시스템에 설치되지 않은 파이썬 모듈을 설치할 필요가 있습니다:
- gst
아마도, 다음 패키지가 필요할 것입니다:
- sudo apt install python3-peewee python3-rx python3-injector python3-humanfriendly
Troubleshootings
sudo gst
flatpak으로 설치하면, Read all을 눌러서 암호를 입력하고 메모리 상태를 볼 수 있습니다. 그러나, 아래의 방법으로 설치했을 때에는 Read all을 눌렀을 때 암호를 묻는 창이 나오지 않고, 오류가 발생합니다. 물론 sudo gst로 실행하면, 암호 입력 후에, Read all를 눌렀을 때, 암호 없이 바로 실행이 됩니다. 이를 우회하기 위해, gst 명령에 대해, 암호 없이 sudo와 함께 실행되기를 원합니다.
- sudo gvim /etc/sudoers.d/customizations
- %sudo ALL=NOPASSWD: /usr/bin/gst
데스트탑에서 검색으로 실행하려면,
- cd ~/.local/share/applications
- cp /usr/share/applications/com.leinardi.gst.desktop .
- gvim usr/share/applications/com.leinardi.gst.desktop
- Exec=sudo /usr/bin/gst %U
만약 명령줄에서 실행되기를 원하면, .zshrc 파일에 alias로 만들 수 있습니다:
- unalias gst
- alias gst = 'sudo gst'
