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

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
主站蜘蛛池模板: 台湾省| 丽水市| 临西县| 上高县| 清河县| 广元市| 武定县| 汝城县| 花莲市| 普宁市| 丽江市| 四川省| 永仁县| 巧家县| 达日县| 德惠市| 铁岭市| 奉化市| 南通市| 大悟县| 宜城市| 余姚市| 邯郸市| 和顺县| 金坛市| 罗平县| 盐津县| 凭祥市| 四会市| 襄樊市| 鹿泉市| 长垣县| 敦化市| 双城市| 永仁县| 黄石市| 吉林市| 玛曲县| 大新县| 河北省| 莎车县|