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

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
主站蜘蛛池模板: 合川市| 罗城| 玉山县| 恩平市| 乐至县| 金堂县| 平南县| 辛集市| 阳高县| 凤城市| 彭山县| 景东| 江门市| 岐山县| 沧州市| 廉江市| 彰化市| 山丹县| 祁门县| 淄博市| 安国市| 弥渡县| 通州区| 揭东县| 彰武县| 大港区| 永靖县| 平泉县| 阿克陶县| 余庆县| 司法| 宁陵县| 临桂县| 长阳| 卫辉市| 山丹县| 将乐县| 赣州市| 麻阳| 英德市| 漾濞|