Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cloud Computing tutorial Learning Route Video Source Courseware: Linux performance Monitoring tool-gtop

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, with the vigorous development of cloud computing, instead of sitting idle at home, it is better to start learning immediately, and whether we can seize the opportunity when the opportunity explodes depends on whether we are ready and strong enough. Zero foundation is never an excuse, no time is never an excuse, seize the opportunity of Qianfeng counter-war class live experience class, with diligence and sweat, to create a better tomorrow.

So, from now on, Qianfeng HTML5, UI interaction design, PHP, Java+ cloud data, big data development, VR/AR/Unity game development, Python artificial intelligence, Linux cloud computing, full stack software testing video tutorials are free! Just leave a message below. I hope it can help you grow up in the "adversity" and start the new year calmly. Next, Qianfeng will tell you about the Linux performance monitoring tool-gtop:

Before talking about gtop, you can talk about htop, which is similar to top, but the picture is better and clearer than top, but htop has been integrated into the epel source and only needs to be installed by yum.

Better looking than htop is gtop, a more beautiful command than htop, but it is not integrated into the epel source and needs to be installed using the npm command.

Let's start with a demonstration of the effect:

Installation requires us to use the node environment. Let's first install the node environment and build the Node.js environment:

Wget https://nodejs.org/dist/v8.9.2/node-v8.9.2-linux-x64.tar.xz

Xz-d node-v8.9.2-linux-x64.tar.xz

Tar xf node-v8.9.2-linux-x64.tar-C / usr/local/

Ln-s / usr/local/node-v8.9.2-linux-x64 / usr/local/node

Echo "export PATH=$PATH:/usr/local/node/bin" > > / etc/profile

. / etc/profile & & source / etc/profile

Node-v

Npm install-g cnpm-- registry= https://registry.npm.taobao.org

Npm-v

Cnpm install gtop-g

Gtop

Stop using gtop Q, or use ctrl+c in most shell environments.

You can sort the flow table by pressing

P: process ID c: CPU usage m: memory usage

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report