Merge remote-tracking branch 'LCTT/master'

This commit is contained in:
Xingyu.Wang 2019-04-29 23:32:59 +08:00
commit 4a1899c597
5 changed files with 158 additions and 152 deletions

View File

@ -1,16 +1,16 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: reviewer: (wxy)
[#]: publisher: (wxy)
[#]: url: (https://linux.cn/article-10795-1.html)
[#]: subject: (Ubuntu 19.04 Disco Dingo Has Arrived: Downloads Available Now!)
[#]: via: (https://itsfoss.com/ubuntu-19-04-release/)
[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
Ubuntu 19.04 “Disco Dingo” 已经发布:立即下载!
下载安装 Ubuntu 19.04 “Disco Dingo”
======
现在可以下载 Disco 了为什么Ubuntu 19.04 “Disco Dingo” 就在这里,终于可以下载了。虽然我们已经知道 [Ubuntu 19.04 中的新功能][1] - 我将在下面提到一些重要的事情,还会给出官方的下载链接。
Ubuntu 19.04 “Disco Dingo” 已经发布,可以下载了。虽然我们已经知道 [Ubuntu 19.04 中的新功能][1] —— 我将在下面提到一些重要的地方,还会给出官方的下载链接。
### Ubuntu 19.04:你需要知道什么
@ -18,9 +18,9 @@ Ubuntu 19.04 “Disco Dingo” 已经发布:立即下载!
#### Ubuntu 19.04 不是 LTS 版本
与 Ubuntu 18.04 LTS 不同,它不会[支持 10 年][2]。相反,非 LTS 的 19.04 将支持 **9 个月,直到 2020 年 1 月。**
与 Ubuntu 18.04 LTS 不同,它不会[支持 10 年][2]。相反,非 LTS 的 19.04 将支持 **9 个月,直到 2020 年 1 月。**
因此,如果你有生产环境,我们可能不会立即建议你进行升级。例如,如果你有一台运行在 Ubuntu 18.04 LTS 上的服务器 - 将它升级到 19.04 可能不是一个好主意,因为它是一个令人兴奋的版本
因此,如果你有生产环境,我们可能不会立即建议你进行升级。例如,如果你有一台运行在 Ubuntu 18.04 LTS 上的服务器 —— 只是因为它是一个新的版本就将它升级到 19.04 可能不是一个好主意
但是,对于希望在计算机上安装最新版本的用户,可以尝试一下。
@ -28,23 +28,25 @@ Ubuntu 19.04 “Disco Dingo” 已经发布:立即下载!
#### Ubuntu 19.04 对 NVIDIA GPU 用户是个不错的更新
_Martin Wimpress_(来自 Canonical在 Ubuntu MATE 19.04Ubuntu 版本之一)的 [GitHub][4] 的最终发布说明中提到 Ubuntu 19.04 对 NVIDIA GPU 用户来说特别重要。
Martin Wimpress来自 Canonical在 Ubuntu MATE 19.04Ubuntu 版本之一)的 [GitHub][4] 的最终发布说明中提到 Ubuntu 19.04 对 NVIDIA GPU 用户来说特别重要。
换句话说,在安装专有图形驱动时 - 它现在会选择与你特定 GPU 型号兼容最佳的驱动程序。
换句话说,在安装专有图形驱动时 —— 它现在会选择与你特定 GPU 型号兼容最佳的驱动程序。
#### Ubuntu 19.04 功能
尽管我们已经讨论过 [Ubuntu 19.04][1] Disco Dingo 的[最佳功能][1],但值得一提的是,我对本次发布的主要变化:桌面更新 GNOME 3.32 和 Linux 内核 5.0 感到兴奋。。
- https://youtu.be/sbbPYdpdMb8
尽管我们已经讨论过 [Ubuntu 19.04][1] Disco Dingo 的[最佳功能][1],但值得一提的是,我对本次发布的主要变化:桌面更新 GNOME 3.32 和 Linux 内核 5.0)感到兴奋。
#### 从 Ubuntu 18.10 升级到 19.04
显而易见,如果你安装了 Ubuntu 18.10你应该升级它。18.10 将于 2019 年 7 月停止支持 - 所以我们建议你将其升级到 19.04。
显而易见,如果你安装了 Ubuntu 18.10你应该升级它。18.10 将于 2019 年 7 月停止支持 —— 所以我们建议你将其升级到 19.04。
要做到这一点,你可以直接进入“**软件和更新**”设置,然后选择“**更新**”选项卡。
要做到这一点,你可以直接进入“软件和更新”设置,然后选择“更新”选项卡。
现在将选项从**通知我新的 Ubuntu 版本** 变成 “_任何新版本都通知我_”
现在将选项从“通知我新的 Ubuntu 版本” 变成 “任何新版本都通知我”。
现在运行更新管理器时,你应该会看到 Ubuntu 19.04。
现在再次运行更新管理器时,你应该会看到 Ubuntu 19.04。
![][5]
@ -58,7 +60,7 @@ _Martin Wimpress_来自 Canonical在 Ubuntu MATE 19.04Ubuntu 版本之
根据[发行说明][6],现在可以下载 Ubuntu 19.04。你可以在其官方发布下载页面上获取种子或 ISO 文件。
[Download Ubuntu 19.04][7]
- [下载 Ubuntu 19.04][7]
如果你需要不同的桌面环境或需要特定的东西,你应该查看 Ubuntu 的官方版本:
@ -69,11 +71,9 @@ _Martin Wimpress_来自 Canonical在 Ubuntu MATE 19.04Ubuntu 版本之
* [Ubuntu Studio][12]
* [Xubuntu][13]
上面提到的一些 Ubuntu 版本还没有在页面提供 19.04。但你可以[仍然在 Ubuntu 的发行说明网页上找到 ISO][6]。就个人而言,我使用带 GNOME 桌面的 Ubuntu。你可以选择你喜欢的。
**总结**
### 总结
你如何看待 Ubuntu 19.04 Disco Dingo这些新功能是否足够令人兴奋你试过了吗请在下面的评论中告诉我们。
@ -84,7 +84,7 @@ via: https://itsfoss.com/ubuntu-19-04-release/
作者:[Ankush Das][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出

View File

@ -1,73 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: (arrowfeng)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (Most data center workers happy with their jobs -- despite the heavy demands)
[#]: via: (https://www.networkworld.com/article/3389359/most-data-center-workers-happy-with-their-jobs-despite-the-heavy-demands.html#tk.rss_all)
[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
Most data center workers happy with their jobs -- despite the heavy demands
======
An Informa Engage and Data Center Knowledge survey finds data center workers are content with their jobs, so much so they would encourage their children to go into that line of work.
![Thinkstock][1]
A [survey conducted by Informa Engage and Data Center Knowledge][2] finds data center workers overall are content with their job, so much so they would encourage their children to go into that line of work despite the heavy demands on time and their brain.
Overall satisfaction is pretty good, with 72% of respondents generally agreeing with the statement “I love my current job,” while a third strongly agreed. And 75% agreed with the statement, “If my child, niece or nephew asked, Id recommend getting into IT.”
**[ Also read:[20 hot jobs ambitious IT pros should shoot for][3] ]**
And there is a feeling of significance among data center workers, with 88% saying they feel they are very important to the success of their employer.
Thats despite some challenges, not the least of which is a skills and certification shortage. Survey respondents cite a lack of skills as the biggest area of concern. Only 56% felt they had the training necessary to do their job, and 74% said they had been in the IT industry for more than a decade.
The industry offers certification programs, every major IT hardware provider has them, but 61% said they have not completed or renewed certificates in the past 12 months. There are several reasons why.
A third (34%) said it was due to a lack of a training budget at their organization, while 24% cited a lack of time, 16% said management doesnt see a need for training, and 16% cited no training plans within their workplace.
That doesnt surprise me, since tech is one of the most open industries in the world where you can find training or educational materials and teach yourself. Its already established that [many coders are self-taught][4], including industry giants Bill Gates, Steve Wozniak, John Carmack, and Jack Dorsey.
**[[Looking to upgrade your career in tech? This comprehensive online course teaches you how.][5] ]**
### Data center workers' salaries
Data center workers cant complain about the pay. Well, most cant, as 50% make $100,000 per year or more, but 11% make less than $40,000. Two-thirds of those surveyed are in the U.S., so those on the low end might be outside the country.
There was one notable discrepancy. Steve Brown, managing director of London-based Datacenter People, noted that software engineers get paid a lot better than the hardware people.
“The software engineering side of the data center is comparable to the highest-earning professions,” Brown said in the report. “On the physical infrastructure — the mechanical/electrical side — its not quite the case. Its more equivalent to mid-level management.”
### Data center professionals still predominantly male
The least surprising finding? Nine out of 10 survey respondents were male. The industry is bending over backwards to fix the gender imbalance, but so far nothing has changed.
The conclusion of the report is a bit ominous, but I also think is wrong:
> “As data center infrastructure completes its transition to a cloud computing model, and software moves into containers and microservices, the remaining, treasured leaders of the data center workforce — people who acquired their skills in the 20th century — may find themselves with nothing recognizable they can manage and no-one to lead. We may be shocked when the crisis finally hits, but we wont be able to say we werent warned.”
How many times do I have to say it, [the data center is not going away][6].
Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
--------------------------------------------------------------------------------
via: https://www.networkworld.com/article/3389359/most-data-center-workers-happy-with-their-jobs-despite-the-heavy-demands.html#tk.rss_all
作者:[Andy Patrizio][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.networkworld.com/author/Andy-Patrizio/
[b]: https://github.com/lujun9972
[1]: https://images.idgesg.net/images/article/2018/02/data_center_thinkstock_879720438-100749725-large.jpg
[2]: https://informa.tradepub.com/c/pubRD.mpl?sr=oc&_t=oc:&qf=w_dats04&ch=datacenterkids
[3]: https://www.networkworld.com/article/3276025/20-hot-jobs-ambitious-it-pros-should-shoot-for.html
[4]: https://www.networkworld.com/article/3046178/survey-finds-most-coders-are-self-taught.html
[5]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fupgrading-your-technology-career
[6]: https://www.networkworld.com/article/3289509/two-studies-show-the-data-center-is-thriving-instead-of-dying.html
[7]: https://www.facebook.com/NetworkWorld/
[8]: https://www.linkedin.com/company/network-world

View File

@ -1,5 +1,5 @@
[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: translator: (warmfrog)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )

View File

@ -0,0 +1,81 @@
[#]: collector: (lujun9972)
[#]: translator: (arrowfeng)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (Most data center workers happy with their jobs -- despite the heavy demands)
[#]: via: (https://www.networkworld.com/article/3389359/most-data-center-workers-happy-with-their-jobs-despite-the-heavy-demands.html#tk.rss_all)
[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
许多数据中心的工作者很满意他们的工作 -- 尽管要求很高
======
一份从事和数据中心知识的报告调查发现,在数据中心工作的人很满意他们的工作,因此他们将会鼓励他们的孩子从事这份工作。
![Thinkstock][1]
一份由[从事和数据中心知识][2]主导的调查报告显示,数据中心的工作者总体上对他们的工作很满意。尽管对时间和大脑的要求很高,但是他们还是鼓励自己的孩子能从事这项工作。
总体满意度非常好72的受访者普遍同意“我喜欢我目前的工作”这一说法三分之一的受访者则表示非常同意。 75的人同意声明“如果我的孩子侄女或侄子问我将建议他们进入IT行业。”
**[ 另请阅读:[雄心壮志的IT专业人士为之奋斗的20个热门职位][3] ]**
在数据中心工作的员工之中有一种很重要的感觉88%的人觉得他们自己对于雇主的成功非常重要。
尽管存在一些挑战,其中最主要的是技能和认证的缺乏。 调查的受访者认为缺乏技能是最受关注的领域。 只有56的人认为他们有完成工作所需的培训74的人表示他们已经在IT行业工作了十多年。
这个行业提供认证计划每个主要的IT硬件供应商都有它们但是61%的人表示在过去的12月里他们并没有完成或者重新续订证书。有几个原因。
三分之一34%说是由于他们工作的组织缺乏培训预算而24%的人认为是缺乏时间16%的人表示管理者认为不需要培训和另外16%的人表示在他们的工作地点没有培训计划。
这并不让我感到惊讶,因为科技是世界上最开放的行业之一,在那里你可以找到培训和教育材料并自学。已经证实了[许多程序员是自学成才][4],包括行业巨头比尔盖茨,史蒂夫沃兹尼亚克,约翰卡马克和杰克多尔西。
**[[需要去提升你的技术职业生涯?这个全面的在线课程将教你如何去做。][5]**
### 数据中心工作者们的薪水
数据中心工作者不会抱怨酬劳。当然大部分不会。50%的人每年可以赚到$100,000甚至更多然而11%的人赚的少于$40,000。三分之二的受访者来自于美国因此那些低端人士可能在国外。
有一个值得注意的差异。史蒂夫布朗是伦敦数据中心人力资源的总经理,他说软件工程师获得的薪水比硬件工程师多。
布朗在这篇报道中说,“数据中心软件工程方面的工作可以与高收入的职业媲美,在物理基础设施——机械/电气方面的工作——情况并非如此。它更像是中层管理”
### 数据中心的专业人士仍然主要是男性
最不令人惊讶的发现10个受访者中有9个是男性。该行业正在调整解决性别歧视问题但是现在没什么改变。
这篇报告的结论有一点不详,但是我认为是错的:
> "随着数据中心基础设施完成云计算模式的过渡软件进入到容器和微服务时代数据中心剩下来的珍贵领导者——在20世界获得技能的人——可能会发现没有任何他们认识的东西能管理和没人去领导。当危机最终来临时我们可能会感到震惊但是我们不能说我们没有受到警告。"
多少次我不得不说,[数据中心不会消失][6]。
加入[Facebook][7]和[Facebook][7]的网络世界社区,评论最重要的话题。
--------------------------------------------------------------------------------
via: https://www.networkworld.com/article/3389359/most-data-center-workers-happy-with-their-jobs-despite-the-heavy-demands.html#tk.rss_all
作者:[Andy Patrizio][a]
选题:[lujun9972][b]
译者:[arrowfeng](https://github.com/arrowfeng)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.networkworld.com/author/Andy-Patrizio/
[b]: https://github.com/lujun9972
[1]: https://images.idgesg.net/images/article/2018/02/data_center_thinkstock_879720438-100749725-large.jpg
[2]: https://informa.tradepub.com/c/pubRD.mpl?sr=oc&_t=oc:&qf=w_dats04&ch=datacenterkids
[3]: https://www.networkworld.com/article/3276025/20-hot-jobs-ambitious-it-pros-should-shoot-for.html
[4]: https://www.networkworld.com/article/3046178/survey-finds-most-coders-are-self-taught.html
[5]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fupgrading-your-technology-career
[6]: https://www.networkworld.com/article/3289509/two-studies-show-the-data-center-is-thriving-instead-of-dying.html
[7]: https://www.facebook.com/NetworkWorld/
[8]: https://www.linkedin.com/company/network-world

View File

@ -1,5 +1,5 @@
[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: translator: (warmfrog)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
@ -7,78 +7,76 @@
[#]: via: (https://www.2daygeek.com/check-monitor-disk-io-in-linux-using-iotop-iostat-command/)
[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
How To Monitor Disk I/O Activity Using iotop And iostat Commands In Linux?
======
在 Linux 中如何使用 iotop 和 iostat 监控磁盘 I/O 活动?
===================================================
Do you know what are the tools we can use for troubleshooting or monitoring real-time disk activity in Linux?
你知道在 Linux 中我们使用什么工具检修和监控实时的磁盘活动吗?
If **[Linux system performance][1]** gets slow down we may use **[top command][2]** to see the system performance.
如果 **[Linux 系统性能][1]**变慢,我们会用 **[top 命令][12]** 来查看系统性能。
It is used to check what are the processes are consuming high utilization on server.
它被用来检查是什么进程在服务器上占有如此高的使用率。
Its common for most of the Linux administrator.
对于大多数 Linux 系统管理员来说很常见。
Its widely used by Linux administrator in the real world.
现实世界中被 Linux 系统管理员广泛采用。
If you dont see much difference in the process output still you have an option to check other things.
如果在进程输出中你没有看到很大的不同,你仍然有选择查看其他东西。
I would like to advise you to check `wa` status in the top output because most of the time the server performance will be degraded due to high I/O Read and Write on hard disk.
我会建议你在 top 输出中检查 `wa` 状态因为大多数时间服务器性能由于在硬盘上的高 I/O 读和写降低了性能。
If its high or fluctuation, it could be a cause. So, we need to check I/O activity on hard drive.
如果它很高或者波动,很可能就是它造成的。因此,我们需要检查硬盘上的 I/O 活动。
We can monitory disk I/O statistics for all disks and file system in Linux system using `iotop` and `iostat` commands.
我们可以在 Linux 中使用 `iotop``iostat` 命令监控所有的磁盘和文件系统的磁盘 I/O 统计。
### What Is iotop?
### 什么是 iotop
iotop is a top-like utility for displaying real-time disk activity.
iotop 是一个类似 top 的工具来显示实时的磁盘活动。
iotop watches I/O usage information output by the Linux kernel and displays a table of current I/O usage by processes or threads on the system.
iotop 监控 Linux 内核输出的 I/O 使用信息并且显示一个系统中进程或线程的当前 I/O 使用情况。
It displays the I/O bandwidth read and written by each process/thread. It also displays the percentage of time the thread/process spent while swapping in and while waiting on I/O.
它显示每个进程/线程读写 I/O 带宽。它同样显示当等待换入和等待 I/O 的线程/进程 时间花费的百分比。
Total DISK READ and Total DISK WRITE values represent total read and write bandwidth between processes and kernel threads on the one side and kernel block device subsystem on the other.
Total DISK READ 和 Total DISK WRITE 的值表示了一方面进程和内核线程之间的总的读写带宽,另一方面表示内核块设备子系统的。
Actual DISK READ and Actual DISK WRITE values represent corresponding bandwidths for actual disk I/O between kernel block device subsystem and underlying hardware (HDD, SSD, etc.).
Actual DISK READ 和 Actual DISK WRITE 的值表示在内核块设备子系统和下面硬件HDDSSD等等。对应的实际磁盘 I/O 带宽。
### How To Install iotop In Linux?
### 如何在 Linux 中安装 iotop
We can easily install it with help of package manager since the package is available in all the Linux distributions repository.
我们可以轻松在包管理器的帮助下安装,因为该软件包在所有的 Linux 发行版仓库中都可以获得。
For **`Fedora`** system, use **[DNF Command][3]** to install iotop.
对于 **`Fedora`** 系统,使用 **[DNF 命令][3]** 来安装 iotop。
```
$ sudo dnf install iotop
```
For **`Debian/Ubuntu`** systems, use **[APT-GET Command][4]** or **[APT Command][5]** to install iotop.
对于 **`Debian/Ubuntu`** 系统,使用 **[API-GET 命令][4]** 或者 **[APT 命令][5]** 来安装 iotop。
```
$ sudo apt install iotop
```
For **`Arch Linux`** based systems, use **[Pacman Command][6]** to install iotop.
对于基于 **`Arch Linux`** 的系统,使用 **[Pacman Command][6]** 来安装 iotop。
```
$ sudo pacman -S iotop
```
For **`RHEL/CentOS`** systems, use **[YUM Command][7]** to install iotop.
对于 **`RHEL/CentOS`** 的系统,使用 **[YUM Command][7]** 来安装 iotop。
```
$ sudo yum install iotop
```
For **`openSUSE Leap`** system, use **[Zypper Command][8]** to install iotop.
对于使用 **`openSUSE Leap`** 的系统,使用 **[Zypper Command][8]** 来安装 iotop。
```
$ sudo zypper install iotop
```
### How To Monitor Disk I/O Activity/Statistics In Linux Using iotop Command?
### 在 Linux 中如何使用 iotop 命令来监控磁盘 I/O 活动/统计?
There are many options are available in iotop command to check varies statistics about disk I/O.
Run the iotop command without any arguments to see each process or thread current I/O usage.
iotop 命令有很多参数来检查关于磁盘 I/O 的变化
```
# iotop
@ -86,7 +84,7 @@ Run the iotop command without any arguments to see each process or thread curren
[![][9]![][9]][10]
If you would like to check which process are actually doing IO then run the iotop command with `-o` or `--only` option.
如果你想检查那个进程实际在做 I/O那么运行 iotop 命令加上 `-o` 或者 `--only` 参数。
```
# iotop --only
@ -94,66 +92,66 @@ If you would like to check which process are actually doing IO then run the ioto
[![][9]![][9]][11]
**Details:**
**细节:**
* **`IO:`** It shows I/O utilization for each process, which includes disk and swap.
* **`SWAPIN:`** It shows only the swap usage of each process.
* **`IO:`** 它显示每个进程的 I/O 利用率,包含磁盘和交换。
* **`SWAPIN:`** 它只显示每个进程的交换使用率。
### What Is iostat?
### 什么是 iostat
iostat is used to report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions.
iostat 被用来报告中央处理单元CPU的统计和设备与分区的输出/输出的统计。
The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates.
iostat 命令通过观察与他们平均传输率相关的设备活跃时间来监控系统输入/输出设备载入。
The iostat command generates reports that can be used to change system configuration to better balance the input/output load between physical disks.
iostat 命令生成的报告可以被用来改变系统配置来更好的平衡物理磁盘之间的输入/输出负载。
All statistics are reported each time the iostat command is run. The report consists of a CPU header row followed by a row of CPU statistics.
所有的统计都在 iostat 命令每次运行时被报告。该报告包含一个 CPU 头部,后面是一行 CPU 统计。
On multiprocessor systems, CPU statistics are calculated system-wide as averages among all processors. A device header row is displayed followed by a line of statistics for each device that is configured.
在多处理器系统中CPU 统计被计算为系统层面的所有处理器的平均值。一个设备头行显示后紧跟一行每个配置设备的统计。
The iostat command generates two types of reports, the CPU Utilization report and the Device Utilization report.
iostat 命令生成两种类型的报告CPU 利用率报告和设备利用率报告。
### How To Install iostat In Linux?
### 在 Linux 中怎样安装 iostat
iostat tool is part of sysstat package so, We can easily install it with help of package manager since the package is available in all the Linux distributions repository.
iostat 工具是 sysstat 包的一部分,所以我们可以轻松地在包管理器地帮助下安装因为在所有的 Linux 发行版的仓库都是可以获得的。
For **`Fedora`** system, use **[DNF Command][3]** to install sysstat.
对于 **`Fedora`** 系统,使用 **[DNF Command][3]** 来安装 sysstat。
```
$ sudo dnf install sysstat
```
For **`Debian/Ubuntu`** systems, use **[APT-GET Command][4]** or **[APT Command][5]** to install sysstat.
对于 **`Debian/Ubuntu`** 系统,使用 **[APT-GET Command][4]** 或者 **[APT Command][5]** 来安装 sysstat。
```
$ sudo apt install sysstat
```
For **`Arch Linux`** based systems, use **[Pacman Command][6]** to install sysstat.
对于基于 **`Arch Linux`** 的系统,使用 **[Pacman Command][6]** 来安装 sysstat。
```
$ sudo pacman -S sysstat
```
For **`RHEL/CentOS`** systems, use **[YUM Command][7]** to install sysstat.
对于 **`RHEL/CentOS`** 系统,使用 **[YUM Command][7]** 来安装 sysstat。
```
$ sudo yum install sysstat
```
For **`openSUSE Leap`** system, use **[Zypper Command][8]** to install sysstat.
对于 **`openSUSE Leap`** 系统,使用 **[Zypper Command][8]** 来安装 sysstat。
```
$ sudo zypper install sysstat
```
### How To Monitor Disk I/O Activity/Statistics In Linux Using sysstat Command?
### 在 Linux 中如何使用 sysstat 命令监控磁盘 I/O 活动/统计?
There are many options are available in iostat command to check varies statistics about disk I/O and CPU.
在 iostat 命令中有很多参数来检查关于 I/O 和 CPU 的变化统计信息。
Run the iostat command without any arguments to see complete statistics of the system.
不加参数运行 iostat 命令会看到完整的系统统计。
```
# iostat
@ -171,7 +169,7 @@ loop1 0.00 0.00 0.00 0.00 1093
loop2 0.00 0.00 0.00 0.00 1077 0 0
```
Run the iostat command with `-d` option to see I/O statistics for all the devices
运行 iostat 命令加上 `-d` 参数查看所有设备的 I/O 统计。
```
# iostat -d
@ -186,7 +184,7 @@ loop1 0.00 0.00 0.00 0.00 1093
loop2 0.00 0.00 0.00 0.00 1077 0 0
```
Run the iostat command with `-p` option to see I/O statistics for all the devices and their partitions.
运行 iostat 命令加上 `-p` 参数查看所有的设备和分区的 I/O 统计。
```
# iostat -p
@ -208,7 +206,7 @@ loop1 0.00 0.00 0.00 0.00 1093
loop2 0.00 0.00 0.00 0.00 1077 0 0
```
Run the iostat command with `-x` option to see detailed I/O statistics for all the devices.
运行 iostat 命令加上 `-x` 参数显示所有设备的详细的 I/O 统计信息。
```
# iostat -x
@ -226,7 +224,7 @@ loop1 0.00 0.00 0.00 0.00 0.40 12.86 0.00 0.
loop2 0.00 0.00 0.00 0.00 0.38 19.58 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
```
Run the iostat command with `-d [Device_Name]` option to see I/O statistics of particular device and their partitions.
运行 iostat 命令加上 `-d [设备名]` 参数查看具体设备和它的分区的 I/O 统计信息。
```
# iostat -p [Device_Name]
@ -244,7 +242,7 @@ sda2 0.18 6.76 80.21 0.00 3112916 36924
sda1 0.00 0.01 0.00 0.00 3224 0 0
```
Run the iostat command with `-m` option to see I/O statistics with `MB` for all the devices instead of `KB`. By default it shows the output with KB.
运行 iostat 命令加上 `-m` 参数以 `MB` 为单位而不是 `KB` 查看所有设备的统计。默认以 KB 显示输出。
```
# iostat -m
@ -262,7 +260,7 @@ loop1 0.00 0.00 0.00 0.00 1
loop2 0.00 0.00 0.00 0.00 1 0 0
```
Run the iostat command with certain interval then use the following format. In this example, we are going to capture totally two reports at five seconds interval.
运行 iostat 命令使用特定的间隔使用如下的格式。在这个例子中,我们打算以 5 秒捕获的间隔捕获两个报告。
```
# iostat [Interval] [Number Of Reports]
@ -292,7 +290,7 @@ loop1 0.00 0.00 0.00 0.00 0
loop2 0.00 0.00 0.00 0.00 0 0 0
```
Run the iostat command with `-N` option to see the LVM disk I/O statistics report.
运行 iostat 命令 与 `-N` 参数来查看 LVM 磁盘 I/O 统计报告。
```
# iostat -N
@ -309,7 +307,7 @@ sdc 0.01 0.12 0.00 2108 0
2g-2gvol1 0.00 0.07 0.00 1204 0
```
Run the nfsiostat command to see the I/O statistics for Network File System(NFS).
运行 nfsiostat 命令来查看 Network File SystemNFS的 I/O 统计。
```
# nfsiostat
@ -321,7 +319,7 @@ via: https://www.2daygeek.com/check-monitor-disk-io-in-linux-using-iotop-iostat-
作者:[Magesh Maruthamuthu][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
译者:[warmfrog](https://github.com/warmfrog)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出