博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何在CentOS7和Ubuntu 18.04中安装Gtop
阅读量:2534 次
发布时间:2019-05-11

本文共 1867 字,大约阅读时间需要 6 分钟。

is a command-line system monitoring tool that displays in a graph format, a plethora of system metrics such as running processes, CPU utilization, network bandwidth, memory Usage, swap space, and Hard Disk usage. In this guide, you will learn how to install Gtop in Centos7 and Ubuntu 18.04.

是一种命令行系统监视工具,它以图形格式显示大量系统指标,例如正在运行的进程,CPU利用率,网络带宽,内存使用率,交换空间和硬盘使用率。 在本指南中,您将学习如何在Centos7和Ubuntu 18.04中安装Gtop。

在CentOS 7中安装Gtop (Installation of Gtop in CentOS 7)

The first step in installing Gtop on CentOS 7 is to install the epel repository. EPEL is short for Extra Packages for Enterprise Linux. As the name suggests, it ships extra packages and dependencies required for smooth running of applications.

在CentOS 7上安装Gtop的第一步是安装epel存储库。 EPEL是企业Linux额外软件包的缩写。 顾名思义,它附带了平稳运行应用程序所需的额外软件包和依赖项。

# yum install epel-release

Sample output

样品输出

Next, install NodeJS. NodeJS is a powerful Javascript platform used for the development of powerful applications. To install NodeJS execute the command

接下来,安装NodeJS。 NodeJS是用于开发功能强大的应用程序的功能强大的Javascript平台。 要安装NodeJS,请执行以下命令

# yum install nodejs

Sample output

样品输出

Next, install npm package manager as shown

接下来,安装npm软件包管理器,如下所示

# yum install npm

Finally, install gtop using the .

最后,使用安装gtop。

# npm install gtop -g

Sample output

样品输出

To launch gtop and view the system’s metrics run.

要启动gtop并查看系统的指标运行。

# gtop

在Ubuntu 18.04中安装Gtop ( Installation of Gtop in Ubuntu 18.04 )

Just like in CentOS 8, begin by installing .

就像在CentOS 8中一样,首先安装 。

# sudo apt install nodejs

Sample output

样品输出

To check the version of NodeJS installed, run

要检查已安装的NodeJS版本,请运行

node --version

Sample output

样品输出

Next, install npm package Manager using the command as shown

接下来,使用如下命令安装npm package Manager

# sudo apt install npm

Using npm install the Gtop monitoring tool

使用npm安装Gtop监控工具

npm install gtop -g

Sample output

样品输出

Finally, launch Gtop

最后,启动Gtop

gtop

翻译自:

转载地址:http://uhlzd.baihongyu.com/

你可能感兴趣的文章
【UVA11806 Cheerleaders】 题解
查看>>
TCP三次握手和四次挥手
查看>>
【SVN】win7 搭建SVN服务器
查看>>
iOS第三方做滤镜最主流的开源框架GPUImage
查看>>
面向对象三大特性
查看>>
网络架构与七层参考模式简介
查看>>
用python实现经典排序
查看>>
node-1
查看>>
Chessboard(规律)&&阿里巴巴和n个大盗(规律)
查看>>
设置Linux防火墙
查看>>
Nginx+Keepalived实现高可用站点
查看>>
php 获取文件信息相关基础函数
查看>>
读属性文件直接执行其中的方法
查看>>
mysql 引擎区分
查看>>
C#中的virtual关键词的解释
查看>>
基于Ubuntu14.04-LTS下安装docker
查看>>
leetcode 303. Range Sum Query - Immutable(前缀和)
查看>>
第十二周作业
查看>>
DELPHI NEXTGEN编译开关
查看>>
INDY10的IDHttpServer应答客户端
查看>>