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

Linux performance Monitoring tool: GTOP deployment record

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

Share

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

Linux performance Monitoring tool: GTOP deployment record

[root@king01 ~] # yum-y install zlib-devel

[root@king01 ~] # tar xvf Python-2.7.5.tar.bz2

[root@king01 ~] # cd Python-2.7.5

[root@king01 Python-2.7.5] #. / configure-prefix=/usr/local/python27

[root@king01 Python-2.7.5] # make

[root@king01 Python-2.7.5] # make install

[root@king01 ~] # vi / etc/profilePATH=$PATH:/usr/local/python27/bin

[root@king01 ~] # source / etc/profile

[root@king01 ~] # yum install centos-release-scl-y

[root@king01 ~] # yum install devtoolset-4-gcc-c++ devtoolset-4-gcc- y

[root@king01 ~] # scl enable devtoolset-4 bash

[root@test01] # gcc-- version

Gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6) Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

Warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@king01 ~] # yum install-y git

[root@king01 ~] # git clone https://github.com/nodejs/node.gitInitialized empty Git repository in / root/node/.git/

Remote: Counting objects: 376242, done.

Remote: Compressing objects: 100% (120max 120), done.

Remote: Total 376242 (delta 120), reused 219 (delta 117), pack-reused 376005

Receiving objects: 100% (376242 KiB/s 376242), 337.98 MiB | 190 KiB/s, done.

Resolving deltas: 100% (272045 amp 272045), done.

[root@king01 ~] # cd node

[root@king01 node] #. / configure

[root@king01 node] # make

[root@king01 node] # make install

[root@king01 ~] # node-v version number: v10.0.0-pre

[root@king01 ~] # npm install gtop-g

/ usr/local/bin/gtop-> / usr/local/lib/node_modules/gtop/bin/gtop

+ gtop@0.1.5

Added 105 packages in 141.017

Post a picture: as shown in the picture-

[root@king01 ~] # gtop

Installation complete!

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