当前位置:网站首页>easyNmon使用汇总
easyNmon使用汇总
2022-07-05 16:27:00 【bulabula2022】
1.启动EasyNmon监控服务
https://www.jianshu.com/p/c7c36ba14d3e
https://www.cnblogs.com/uestc2007/p/10796188.html
输入 ./easyNmon& 启动EasyNmon服务,无需安装任何插件(后缀加&为后台运行)
关闭控制台后仍然生效的高级用法:nohup ./monitor >log.log 2>&1 &
解压后会生成一个easyNmon文件夹,进入该文件夹,通过如下命令启动:(选中自己合适方式)
https://studygolang.com/articles/28868?fr=sidebar
./easyNmon -p xxxx #前台启动,控制台断开服务停止
./easyNmon -p xxxx & #后台启动,控制台断开服务同样停止
./easyNmon -p xxxx > easyNmon.log & #后台启动,控制台断开服务仍正常运行
在easyNmon目录下,输入 ./easyNmon -h 查看相关信息,如下图:
[[email protected] easyNmon]# ./easyNmon -h
Usage of ./easyNmon:
-a string
analysis:生成html图表,参数指定nmon报告文件,同目录生成html图表
示例:./easyNmon -a ./report/nmonTestName
-d string
directory:指定生成报告的路径
示例:./easyNmon -d /mnt/rep (default "report")
-debug
debug模式
-np string
nmonpath:指定对应系统版本的nmon文件
示例:./easyNmon -np ./nmon/nmon_xxx (default "nmon/nmon")
-p string
port:默认监听端口9999,自定义端口加 -p 端口号
示例:./easyNmon -p 9999 (default "9999")
-v version:显示版本号
-操作说明
接口(Get):
/start 启动监控,接口方式时,所有参数非必选
参数n为生成报告的文件名,
参数t为监控时长(单位分钟),
参数f为监控频率,每隔多少秒收集一次;
http://192.168.200.156:9999/start?n=name&t=30&f=30
/stop 停止所有监控任务:
http://192.168.200.156:9999/stop
/report 查看报告:
http://192.168.200.156:9999/report
/close 关闭自身:
http://192.168.200.156:9999/close
管理页面:
通过浏览器访问web管理页面:
http://192.168.200.156:9999
边栏推荐
- Learnopongl notes (I)
- Summary of PHP pseudo protocol of cisp-pte
- Excuse me, is the redis syntax used in DMS based on the commands of the redis community version of the cloud database
- Benji Banas membership pass holders' second quarter reward activities update list
- Keras crash Guide
- SQL injection of cisp-pte (Application of secondary injection)
- 【刷題篇】鹅廠文化衫問題
- ECU简介
- Timestamp strtotime the day before or after the date
- 【 brosser le titre 】 chemise culturelle de l'usine d'oies
猜你喜欢
Flet tutorial 12 stack overlapping to build a basic introduction to graphic and text mixing (tutorial includes source code)
【刷題篇】鹅廠文化衫問題
[deep learning] how does deep learning affect operations research?
[729. My schedule I]
Jarvis OJ shell流量分析
[Jianzhi offer] 63 Maximum profit of stock
机器学习编译第2讲:张量程序抽象
SQL injection of cisp-pte (Application of secondary injection)
WSL2.0安装
为季前卡牌游戏 MotoGP Ignition Champions 做好准备!
随机推荐
C# TCP如何设置心跳数据包,才显得优雅呢?
[729. My Schedule i]
养不起真猫,就用代码吸猫 -Unity 粒子实现画猫咪
树莓派4b安装Pytorch1.11
Basic introduction to the control of the row component displaying its children in the horizontal array (tutorial includes source code)
[729. My schedule I]
How was the middle table destroyed?
Etcd 构建高可用Etcd集群
【剑指 Offer】61. 扑克牌中的顺子
什么是ROM
[wechat applet] read the life cycle and route jump of the applet
[deep learning] [original] let yolov6-0.1.0 support the txt reading dataset mode of yolov5
Keras crash Guide
Jarvis OJ shell流量分析
中国广电正式推出5G服务,中国移动赶紧推出免费服务挽留用户
Precision epidemic prevention has a "sharp weapon" | smart core helps digital sentinels escort the resumption of the city
【剑指 Offer】62. 圆圈中最后剩下的数字
如何将mysql卸载干净
What is ROM
Writing method of twig array merging