官术网_书友最值得收藏!

Monitoring using ssh

Spring Boot provides remote access to the Boot application using ssh. The following command connects to the Spring Boot application from a terminal window. The password can be customized by adding the shell.auth.simple.user.password property in the application.properties file. The updated application.properties will look as follows:

    shell.auth.simple.user.password=admin 

Use a terminal window to connect to the remote boot application using the following code:

$ ssh -p 2000 user@localhost

When connected with the preceding command, similar actuator information can be accessed. The following is an example of the metrics information accessed through the CLI:

  • help: lists all the options available
  • dashboard: dashboard is one interesting feature, which shows a lot of system-level information
主站蜘蛛池模板: 吉林省| 正安县| 偏关县| 穆棱市| 浪卡子县| 如东县| 丹棱县| 吉林省| 白玉县| 盐城市| 渝中区| 中宁县| 桦甸市| 武宣县| 峨山| 上饶市| 宜宾县| 西乡县| 尚志市| 金乡县| 滦南县| 青浦区| 凤阳县| 万盛区| 清新县| 双柏县| 博客| 高碑店市| 金山区| 奉化市| 凤台县| 浙江省| 鲁山县| 义乌市| 林口县| 修武县| 额尔古纳市| 河源市| 柳州市| 昌乐县| 伊金霍洛旗|