SysMonTask：一个类似于 Windows 任务管理器的 Linux 系统监控器
系统监控 任务管理器
![](/data/attachment/album/202103/09/232304ljsr5jfgluffn4a4.jpg)


得益于桌面环境，几乎所有的 [Linux 发行版都带有任务管理器应用程序](https://itsfoss.com/task-manager-linux/)。除此之外，还有 [一些其他的 Linux 的系统监控应用程序](https://itsfoss.com/linux-system-monitoring-tools/)，它们具有更多的功能。


但最近我遇到了一个为 Linux 创建的任务管理器，它看起来像……嗯……Windows 的任务管理器。


你自己看看就知道了。


![](/data/attachment/album/202103/09/232311smoqfo9vmfoehmgu.png)


就我个人而言，我不确定用户界面的相似性是否有意义，但开发者和其他一些 Linux 用户可能不同意我的观点。


### SysMonTask: 一个具有 Windows 任务管理器外观的系统监控器


![](/data/attachment/album/202103/09/232311kelu66xoemcjdzln.png)


开源软件 [SysMonTask](https://github.com/KrispyCamel4u/SysMonTask) 将自己描述为“具有 Windows 任务管理器的紧凑性和实用性的 Linux 系统监控器，以实现更高的控制和监控”。


SysMonTask 以 Python 编写，拥有以下功能：


* 系统监控图。
* 显示 CPU、内存、磁盘、网络适配器、单个 Nvidia GPU 的统计数据。
* 在最近的版本中增加了对挂载磁盘列表的支持。
* 用户进程选项卡可以进行进程过滤，显示递归-CPU、递归-内存和列头的汇总值。
* 当然，你可以在进程选项卡中杀死一个进程。
* 还支持系统主题（深色和浅色）。


### 体验 SysMonTask


SysMonTask 需要提升权限。当你启动它时，你会被要求提供你的管理员密码。我不喜欢一个任务管理器一直用 `sudo` 运行，但这只是我的喜好。


我玩了一下，探索它的功能。磁盘的使用量基本稳定不变，所以我把一个 10GB 的文件从外部 SSD 复制到笔记本的磁盘上几次。你可以看到文件传输时对应的峰值。


![](/data/attachment/album/202103/09/232312fy3mmmtejcjun0pq.png)


进程标签也很方便。它在列的顶部显示了累积的资源利用率。


杀死按钮被添加在底部，所以你要做的就是选择一个进程，然后点击“Killer” 按钮。它在 [杀死进程](https://itsfoss.com/how-to-find-the-process-id-of-a-program-and-kill-it-quick-tip/) 之前会询问你的确认。


![](/data/attachment/album/202103/09/232313edld4c734fsh6z63.png)


### 在 Linux 发行版上安装 SysMonTask


对于一个简单的应用程序，它需要下载 50 MB 的存档文件，并占用了大约 200 MB 的磁盘。我想这是因为 Python 的依赖性。


还有就是它读取的是 env。


在写这篇文章的时候，SysMonTask 可以通过 [PPA](https://itsfoss.com/ppa-guide/) 在基于 Ubuntu 的发行版上使用。


在基于 Ubuntu 的发行版上，打开一个终端，使用以下命令添加 PPA 仓库：



```
sudo add-apt-repository ppa:camel-neeraj/sysmontask

```

当然，你会被要求输入密码。在新版本中，仓库列表会自动更新。所以，你可以直接安装应用程序：



```
sudo apt install sysmontask

```

基于 Debian 的发行版也可以尝试从 deb 文件中安装它。它可以在发布页面找到。


对于其他发行版，没有现成的软件包。令我惊讶的是，它基本上是一个 Python 应用程序，所以可以为其他发行版添加一个 PIP 安装程序。也许开发者会在未来的版本中添加它。


由于它是开源软件，你可以随时得到源代码。


* [SysMonTask Deb 文件和源代码](https://github.com/KrispyCamel4u/SysMonTask/releases)


安装完毕后，在菜单中寻找 SysMonTask，并从那里启动它。


#### 删除 SysMonTask


如果你想删除它，使用以下命令：



```
sudo apt remove sysmontask

```

最好也 [删除 PPA](https://itsfoss.com/how-to-remove-or-delete-ppas-quick-tip/)：



```
sudo add-apt-repository -r ppa:camel-neeraj/sysmontask

```

你也可以在这里 [使用 PPA 清除](https://itsfoss.com/ppa-purge/) 工具，这是一个处理 PPA 应用程序删除的方便工具。


### 你会尝试吗？


对我来说，功能比外观更重要。SysMonTask 确实有额外的功能，监测磁盘性能和检查 GPU 统计数据，这是其他系统监视器通常不包括的东西。


如果你尝试并喜欢它，也许你会喜欢添加 `Ctrl+Alt+Del` 快捷键来启动 SysMonTask，以获得完整的感觉 :smiley:




---


via: <https://itsfoss.com/sysmontask/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[wxy](https://github.com/wxy) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Thanks to the desktop environments, almost all[ Linux distributions come with a task manager application](https://itsfoss.com/task-manager-linux/). In addition to that, there are [several other system monitoring applications for Linux](https://itsfoss.com/linux-system-monitoring-tools/) that have additional features.

But recently I came across a task manager created for Linux that looks like … wait for it … the task manager of Windows.

You take a look at it and decide for yourself.

![SysMonTask is a Windows like task manager in Linux](https://itsfoss.com/content/images/wordpress/2021/02/sysmontask-1-800x559.png)

Personally, I am not sure if the likeness in the user interface is such a big deal but the developer and probably some other Linux users might disagree with me.

## SysMonTask: A system monitor with the looks of Windows task manager

![SysMonTask task manager in Linux](https://itsfoss.com/content/images/wordpress/2021/02/SysMonTask-CPU-800x537.png)

The open source software, [SysMonTask](https://github.com/KrispyCamel4u/SysMonTask), describes itself as a “Linux system monitor with the compactness and usefulness of windows task manager to allow higher control and monitoring”.

Coded in Python, SysMonTask boasts of the following features:

- System monitoring graphs.
- Shows stats for CPU, Memory, Disks, Network adapters, single Nvidia GPU.
- Support for listing mounted disks was added in recent version.
- User Processess tab can do process filtering, show recursive-CPU, recursive-Memery and aggregate values on coloumn headers.
- You can, of course, kill a process from the processes tab.
- Also supports system themes (dark and light).

## Experience with SysMonTask

SysMonTask needs elevated privileges. You’ll be asked for your admin password when you launch it. I don’t like a task manager running with sudo all the time but that’s just my preference.

I played with a little to explore its features. The disk usage was pretty constant so I copied a 10 GB file from external SSD to my laptop’s disk a couple of times. You can see the spikes corresponding to the file transfer.

![sysmontask disk usage](https://itsfoss.com/content/images/wordpress/2021/02/sysmontask-disk-usage-800x498.png)

The process tab is also handy. It shows the accumulated resource utilization on the top of the columns.

The kill button is added at the bottom so all you have to do is to select a process and hit the ‘Killer’ button. It asks for your conformation before [killing the process](https://itsfoss.com/how-to-find-the-process-id-of-a-program-and-kill-it-quick-tip/).

![Kill process with SysMonTask](https://itsfoss.com/content/images/wordpress/2021/02/kill-process-sysmontask-800x500.png)

## Installing SysMonTask on Linux distributions

For a simple application, it downloads 50 MB of archive files and takes around 200 MB on the disk. I think it is because of the Python dependencies.

At the moment of writing this article, SysMonTask is available for Ubuntu-based distributions via [PPA](https://itsfoss.com/ppa-guide/).

On an Ubuntu-based distribution, open a terminal and use the following command to add the PPA repository:

`sudo add-apt-repository ppa:camel-neeraj/sysmontask`


You’ll be asked to enter your password, of course. On newer versions, the repository list is automatically updated. So, you can install the application straightaway:

`sudo apt install sysmontask`


Debian-based distributions may also try to install it from the deb file. It can be found at the release page.

There is no ready-to-use package for other distributions. Whayt surprises me is that it is basically a Python application so a PIP installer could have been added for other distributions. Perhaps the developers will add it in the future version.

Since it is open source software, you can always get the source code.

Once installed, look for SysMonTask in the menu and start it from there.

### Remove SysMonTask

If you want to remove it, use the following command:

`sudo apt remove sysmontask`


It will be a good idea to [delete the PPA](https://itsfoss.com/how-to-remove-or-delete-ppas-quick-tip/) as well:

`sudo add-apt-repository -r ppa:camel-neeraj/sysmontask`


You may also [use PPA Purge](https://itsfoss.com/ppa-purge/) tool here which is a handy utility for dealing with PPA application removal.

## Would you try it?

For me, the features are more important than the looks. SysMonTask does have the additional feature of monitoring disk performance and checking GPU stats which is something other system monitors usually do not include.

If you try and like it, perhaps you’ll like to add Ctrl+Alt+Del shortcut to launch SysMonTask to get the complete feel :)