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

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
主站蜘蛛池模板: 志丹县| 水城县| 洛南县| 海兴县| 垫江县| 南昌县| 科尔| 津南区| 延庆县| 石楼县| 淮阳县| 若羌县| 丰镇市| 武平县| 东乡县| 泰来县| 洞头县| 理塘县| 北宁市| 凤冈县| 广丰县| 梁河县| 芷江| 旬邑县| 博乐市| 穆棱市| 襄汾县| 嘉荫县| 松滋市| 合山市| 海淀区| 浠水县| 莱西市| 安化县| 谷城县| 长兴县| 万全县| 西平县| 安国市| 千阳县| 仁寿县|