当前位置: 首页 > news >正文

购物手机网站建设北京建站公司做网站价格

购物手机网站建设,北京建站公司做网站价格,公园网站建设方案 ppt模板,做一个购物网站需要什么技术官方文档 Github: https://github.com/alibaba/arthas 文档: https://arthas.aliyun.com/doc/ Arthas 是一款线上监控诊断产品#xff0c;通过全局视角实时查看应用 load、内存、gc、线程的状态信息#xff0c;并能在不修改应用代码的情况下#xff0c;对业务问题进行诊断…官方文档 Github: https://github.com/alibaba/arthas 文档: https://arthas.aliyun.com/doc/ Arthas 是一款线上监控诊断产品通过全局视角实时查看应用 load、内存、gc、线程的状态信息并能在不修改应用代码的情况下对业务问题进行诊断包括查看方法调用的出入参、异常监测方法执行耗时类加载信息等大大提升线上问题排查效率。 安装启动 快速下载 curl -O https://arthas.aliyun.com/arthas-boot.jar java -jar arthas-boot.jar下载完成后启动 $ $ java -jar arthas-boot.jar * [1]: 35542[2]: 71560 math-game.jarmath-game进程是第 2 个则输入 2再输入回车/enter。Arthas 会 attach 到目标进程上并输出日志 [INFO] arthas home: C:\Users\xiao.ming\.arthas\lib\3.6.9\arthas [INFO] Try to attach process 13996 [INFO] Attach process 13996 success. [INFO] arthas-client connect 127.0.0.1 3658,---. ,------. ,--------.,--. ,--. ,---. ,---./ O \ | .--. --. .--| -- | / O \ .- | .-. || --. | | | .--. || .-. |. -. | | | || |\ \ | | | | | || | | |.- | -- ---- -- -- -- ---- -------wiki https://arthas.aliyun.com/doc tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html version 3.6.9 main_class pid 13996 time 2023-07-17 16:51:16查看 dashboard 输入dashboard按回车/enter会展示当前进程的信息按ctrlc可以中断执行。 退出arthas quit 退出当前 Arthas 客户端其他 Arthas 客户端不受影响 exit 等同于quit stop 关闭 Arthas 服务端所有 Arthas 客户端全部退出 常用命令 dashboard 功能 展示当前java进程的实时数据线程、gc、jvm内存占用等信息。 # 展示当前java进程 线程cpu占用、gc信息、jvm信息等5s刷新一次 dashboard# 刷新10次后终止默认5s刷新一次 dashboard -n 10# 2s刷新一次 dashboard -i 2000# 2s刷新一次共刷新10次 dashboard -i 2000 -n 10# 2s刷新一次共刷新10次并保存到文件中用于后续分析 dashboard -i 2000 -n 10 | tee /data/dashback_2021_02_21.txt thread 功能 展示当前java进程详细的线程信息 # 展示所有的线程列表 thread thread-all# cpu使用率采样修改为2s默认为200ms thread -i 2000# 打印出cpu使用率前5的线程详情即比较繁忙的线程cpu使用率采样统计方式请参考官方文档说明 thread -n 5# 打印id为5的线程详情 thread 5# 根据状态过滤线程数据NEW, RUNNABLE, TIMED_WAITING, WAITING, BLOCKED, TERMINATED thread --state RUNNABLE thread |grep RUNNABLE# 列出持有某个锁阻塞其他线程最多的线程排查死锁 thread -b watch 功能 观测某方法执行的详情 # 观测某方法的执行详情支持ognl表达式输出观测结果 watch *VipUserController helloUser {clazz,method,isReturn,isThrow,params,target,returnObj,throwExp} :! 常用表达式 target : the object clazz : the objects class method : the constructor or method params : the parameters array of method params[0..n] : the element of parameters array returnObj : the returned object of method throwExp : the throw exception of method isReturn : the method ended by return isThrow : the method ended by throwing exception #cost : the execution time in ms of method invocation !# 限制观测执行次数 watch *VipUserController helloUser -n 2# 设置观测结果遍历深度 wathch *VipUserController helloUser -x 2# 只观测执行成功 watch *VipUserController helloUser -s# 只观测执行失败 watch *VipUserController helloUser -e# 同时观测方法执行前、方法执行后结果 watch *VipUserController helloUser -b -f# 观测方法执行异常时详细的异常栈信息 watch *VipUserController helloUser {throwExp} -e -x 2# 观测方法执行时间大于200ms的信息 watch *VipUserController helloUser #cost100 trace 功能 追踪方法内部调用路径并输出方法路径上的每个节点上耗时只会打印到第一层 # 观测方法内部调用顺序及耗时 trace top.learningwang.arthasdemo.controller.VipUserController helloUser# 观测方法内部调用顺序及耗时,只观测3次 trace top.learningwang.arthasdemo.controller.VipUserController helloUser -n 3# 观测方法内部调用顺序及耗时,包含jdk内部方法 trace top.learningwang.arthasdemo.controller.VipUserController helloUser --skipJDKMethod false# 限制观测范围第一个参数长度大于10 trace top.learningwang.arthasdemo.controller.VipUserController helloUser params[0].length10# 限制观测范围执行耗时大于100ms trace top.learningwang.arthasdemo.controller.VipUserController helloUser #cost100# trace 同时多个类的多个方法 trace -E com.test.ClassA|org.test.ClassB method1|method2|method3 monitor 方法执行监控 对匹配 class-patternmethod-patterncondition-express的类、方法的调用进行监控。 monitor 命令是一个非实时返回命令. 实时返回命令是输入之后立即返回而非实时返回的命令则是不断的等待目标 Java 进程返回信息直到用户输入 CtrlC 为止。 服务端是以任务的形式在后台跑任务植入的代码随着任务的中止而不会被执行所以任务关闭后不会对原有性能产生太大影响而且原则上任何 Arthas 命令不会引起原有业务逻辑的改变。
http://www.pierceye.com/news/736522/

相关文章:

  • 免费申请网站 主机 空间网站不稳定
  • 建立个人网站视频教程中国空间站和国际空间站对比
  • 佛山网站seo推广推荐一个专门做海鲜的网站
  • 长春网站建设与健网站外链如何做
  • 网站开发国内现状网站建设与维护教学计划
  • 如何解决网站图片打开慢网站如何做跳转
  • 网站开发作用大学生网络营销策划书
  • 有域名了如何建网站用自己的身份做网站备案
  • 免费的黄冈网站有哪些平台游戏软件上海网站建设自学
  • 网站建设摊销几年wordpress怎样建立二级菜单
  • 营销方案案例北京搜索引擎优化seo专员
  • 网站建设是什么科目wordpress 火车头
  • 做网站需要什么专业方向的员工wordpress yeti
  • 网站建设项目登记表长沙建网站培训机构
  • 拖拽建站平台福州小学网站建设
  • 网站定制套餐建设企业网站需要注意的问题
  • 织梦贷款网站源码网页开发工具
  • 乐清官方网站建筑公司企业号
  • 代做网站的公司有哪些网红营销活动
  • 自己想开个网站怎么弄搜索热词排行榜
  • 智博常州网站建设wordpress缩略图只生成full
  • 化妆品网站模版免费下载网站空间的后台控制面板
  • 做外贸网站公司注册一个免费的网站吗
  • 网站开通申请wordpress图片分享
  • 提高网站性能网站建设中源代码
  • 海珠营销型网站建设公司山东城建建设职业学院教务网站
  • 怎样用虚拟主机建网站温州购物网络商城网站设计制作
  • 站外seo推广游戏模板 wordpress
  • 做翻译网站 知乎怎么制作网站主题
  • 照片书那个网站做的好重庆网站建设价格费用