diff --git a/sources/tech/20190103 s-tui- A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux.md b/sources/tech/20190103 s-tui- A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux.md deleted file mode 100644 index 8861e90cac..0000000000 --- a/sources/tech/20190103 s-tui- A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux.md +++ /dev/null @@ -1,131 +0,0 @@ -[#]: collector: (lujun9972) -[#]: translator: (geekpi) -[#]: reviewer: ( ) -[#]: publisher: ( ) -[#]: url: ( ) -[#]: subject: (s-tui: A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux) -[#]: via: (https://www.2daygeek.com/s-tui-stress-terminal-ui-monitor-linux-cpu-temperature-frequency/) -[#]: author: (Prakash Subramanian https://www.2daygeek.com/author/prakash/) - -s-tui: A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux -====== - -By default every Linux administrator would go with **[lm_sensors to monitor CPU temperature][1]**. - -lm_sensors (Linux monitoring sensors) is a free and open-source application that provides tools and drivers for monitoring temperatures, voltage, and fans. - -It’s a CLI utility and if you are looking for alternative tools. - -I would suggest you to go for s-tui. - -It’s a Stress Terminal UI which helps administrator to view CPU temperature with colors. - -### What is s-tui - -s-tui is a terminal UI for monitoring your computer. s-tui allows to monitor CPU temperature, frequency, power and utilization in a graphical way from the terminal. - -Also, shows performance dips caused by thermal throttling, it requires minimal resources and doesn’t requires X-server. It was written in Python and requires root privilege to use this. - -s-tui is a self-contained application which can run out-of-the-box and doesn’t need config files to drive its core features. - -s-tui uses psutil to probe some of your hardware information. If your hardware is not supported, you might not see all the information. - -Running s-tui as root gives access to the maximum Turbo Boost frequency available to your CPU when stressing all cores. - -It uses Stress utility in the background to check the temperature of its components do not exceed their acceptable range by imposes certain types of compute stress on your system. - -Running an overclocked PC is fine as long as it is stable and that the temperature of its components do not exceed their acceptable range. - -There are several programs available to assess system stability through stress testing the system and thereby the overclock level. - -### How to Install s-tui In Linux - -It was written in Python and pip installation is a recommended method to install s-tui on Linux. Make sure you should have installed python-pip package on your system. If no, use the following command to install it. - -For Debian/Ubuntu users, use **[Apt Command][2]** or **[Apt-Get Command][3]** to install pip package. - -``` -$ sudo apt install python-pip stress -``` - -For Archlinux users, use **[Pacman Command][4]** to install pip package. - -``` -$ sudo pacman -S python-pip stress -``` - -For Fedora users, use **[DNF Command][5]** to install pip package. - -``` -$ sudo dnf install python-pip stress -``` - -For CentOS/RHEL users, use **[YUM Command][6]** to install pip package. - -``` -$ sudo yum install python-pip stress -``` - -For openSUSE users, use **[Zypper Command][7]** to install pip package. - -``` -$ sudo zypper install python-pip stress -``` - -Finally run the following **[pip command][8]** to install s-tui tool in Linux. - -For Python 2.x: - -``` -$ sudo pip install s-tui -``` - -For Python 3.x: - -``` -$ sudo pip3 install s-tui -``` - -### How to Access s-tui - -As i told in the beginning of the article. It requires root privilege to get all the information from your system. Just run the following command to launch s-tui. - -``` -$ sudo s-tui -``` - -![][10] - -By default it enable hardware monitoring and select the “Stress” option to do the stress test on your system. -![][11] - -To check other options, navigate to help page. - -``` -$ s-tui --help -``` - --------------------------------------------------------------------------------- - -via: https://www.2daygeek.com/s-tui-stress-terminal-ui-monitor-linux-cpu-temperature-frequency/ - -作者:[Prakash Subramanian][a] -选题:[lujun9972][b] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://www.2daygeek.com/author/prakash/ -[b]: https://github.com/lujun9972 -[1]: https://www.2daygeek.com/view-check-cpu-hard-disk-temperature-linux/ -[2]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/ -[3]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/ -[4]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/ -[5]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/ -[6]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/ -[7]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/ -[8]: https://www.2daygeek.com/install-pip-manage-python-packages-linux/ -[9]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 -[10]: https://www.2daygeek.com/wp-content/uploads/2018/12/s-tui-stress-terminal-ui-monitor-linux-cpu-temperature-frequency-1.jpg -[11]: https://www.2daygeek.com/wp-content/uploads/2018/12/s-tui-stress-terminal-ui-monitor-linux-cpu-temperature-frequency-2.jpg diff --git a/translated/tech/20190103 s-tui- A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux.md b/translated/tech/20190103 s-tui- A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux.md new file mode 100644 index 0000000000..525b264200 --- /dev/null +++ b/translated/tech/20190103 s-tui- A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux.md @@ -0,0 +1,132 @@ +[#]: collector: (lujun9972) +[#]: translator: (geekpi) +[#]: reviewer: ( ) +[#]: publisher: ( ) +[#]: url: ( ) +[#]: subject: (s-tui: A Terminal Tool To Monitor CPU Temperature, Frequency, Power And Utilization In Linux) +[#]: via: (https://www.2daygeek.com/s-tui-stress-terminal-ui-monitor-linux-cpu-temperature-frequency/) +[#]: author: (Prakash Subramanian https://www.2daygeek.com/author/prakash/) + +s-tui:在 Linux 中监控 CPU 温度、频率、功率和使用率的终端工具 +====== + +默认情况下,每个 Linux 管理员都会使用 **[lm_sensors 监控 CPU 温度][1]**。 + +lm_sensors (Linux 监控传感器)是一个免费开源程序,它提供监控温度、电压和风扇的工具和驱动。 + +如果你正在找替代工具,这有一个 CLI 工具。 + +我会建议你尝试 s-tui。 + +它有一个压力终端 UI,可以帮助管理员通过颜色查看 CPU 温度。 + +### s-tui 是什么 + +s-tui 是一个用于监控计算机的终端 UI。s-tui 可以在终端以图形方式监控 CPU 温度、频率、功率和使用率。 + +此外,它还显示由热量限制引起的性能下降,它需要很少的资源并且不需要 X 服务器。它是用 Python 编写的,需要 root 权限才能使用它。 + +s-tui 是一个独立的程序,可以开箱即用,并且不需要配置文件来使用其核心功能。 + +s-tui 使用 psutil 来探测你的一些硬件信息。如果你的硬件不受支持,你可能看不到所有信息。 + +以root身份运行 s-tui 时,当压测所有核心时,可以访问到 CPU 的最大睿频频率。 + +它在后台使用 Stress 工具,通过对系统施加某些类型的计算压力来检查其组件的温度是否超过其可接受的范围。 + +只要计算机稳定并且其组件的温度不超过其可接受的范围,超频 PC 就没问题。 + +有几个程序可以通过压力测试得到系统的稳定性,从而评估超频水平。 + +### 如何在 Linux 中安装 s-tui + +它是用 Python 写的,pip 是在 Linux 上安装 s-tui 的推荐方法。确保你在系统上安装了 python-pip 软件包。如果还没有,请使用以下命令进行安装。 + +对于 Debian/Ubuntu 用户,使用 **[apt 命令][2]**或 **[apt-get 命令][3]** 来安装 pip。 + +``` +$ sudo apt install python-pip stress +``` + +对于 Archlinux 用户,使用 **[pacman 命令][4]**来安装 pip。 + +``` +$ sudo pacman -S python-pip stress +``` + +对于 Fedora 用户,使用 **[dnf 命令][5]**来安装 pip。 + +``` +$ sudo dnf install python-pip stress +``` + +对于 CentOS/RHEL 用户,使用 **[yum 命令][5]**来安装 pip。 + +``` +$ sudo yum install python-pip stress +``` + +对于 openSUSE 用户,使用 **[zypper 命令][5]**来安装 pip。 + +``` +$ sudo zypper install python-pip stress +``` + +最后运行下面的 **[pip 命令][8]**在 Linux 中安装 s-tui 工具。 + +对于 Python 2.x: + +``` +$ sudo pip install s-tui +``` + +对于Python 3.x: + +``` +$ sudo pip3 install s-tui +``` + +### 如何使用 s-tui + +正如我在文章开头所说的那样。它需要 root 权限才能从系统获取所有信息。只需运行以下命令即可启动 s-tui。 + +``` +$ sudo s-tui +``` + +![][10] + +默认情况下,它启用硬件监控并选择 “Stress” 选项以对系统执行压力测试。 + +![][11] + +要查看其他选项,请到帮助页面查看。 + +``` +$ s-tui --help +``` + +-------------------------------------------------------------------------------- + +via: https://www.2daygeek.com/s-tui-stress-terminal-ui-monitor-linux-cpu-temperature-frequency/ + +作者:[Prakash Subramanian][a] +选题:[lujun9972][b] +译者:[geekpi](https://github.com/geekpi) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://www.2daygeek.com/author/prakash/ +[b]: https://github.com/lujun9972 +[1]: https://www.2daygeek.com/view-check-cpu-hard-disk-temperature-linux/ +[2]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/ +[3]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/ +[4]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/ +[5]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/ +[6]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/ +[7]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/ +[8]: https://www.2daygeek.com/install-pip-manage-python-packages-linux/ +[9]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 +[10]: https://www.2daygeek.com/wp-content/uploads/2018/12/s-tui-stress-terminal-ui-monitor-linux-cpu-temperature-frequency-1.jpg +[11]: https://www.2daygeek.com/wp-content/uploads/2018/12/s-tui-stress-terminal-ui-monitor-linux-cpu-temperature-frequency-2.jpg