- Spring 5.0 Microservices(Second Edition)
- Rajesh R V
- 113字
- 2021-07-02 19:45:06
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
推薦閱讀
- 程序員面試筆試寶典(第3版)
- Git Version Control Cookbook
- Oracle Exadata性能優(yōu)化
- PaaS程序設(shè)計(jì)
- Magento 2 Theme Design(Second Edition)
- Java游戲服務(wù)器架構(gòu)實(shí)戰(zhàn)
- 數(shù)據(jù)結(jié)構(gòu)(C語言)
- Mastering Apache Spark 2.x(Second Edition)
- Apache Mahout Clustering Designs
- Python全棧數(shù)據(jù)工程師養(yǎng)成攻略(視頻講解版)
- Mastering C++ Multithreading
- Orchestrating Docker
- scikit-learn Cookbook(Second Edition)
- iOS開發(fā)項(xiàng)目化入門教程
- 基于JavaScript的WebGIS開發(fā)