arthas获取redis的地址和数据源地址
- 2023-02-28 16:00:00
- admin 原创
- 538
arthas获取redis的地址
tt -i 1000 -w 'target.getApplicationContext().getBean("redisTemplate").getConnectionFactory().getHostName()'arthas获取数据源的地址先执行
tt -t org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter invokeHandlerMethod tt -i 1000 -w 'target.getApplicationContext().getBean("dataSource").getUrl()'
发表评论
文章分类
联系方式
联系人: | 郑州-小万 |
---|---|
电话: | 13803993919 |
Email: | 1027060531@qq.com |
QQ: | 1027060531 |
网址: | www.wanhejia.com |
Update Required
To play the media you will need to either update your browser to a recent version or update your Flash plugin.