- 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
推薦閱讀
- Learning Microsoft Windows Server 2012 Dynamic Access Control
- 數據庫程序員面試筆試真題與解析
- WebAssembly實戰
- 劍指Offer(專項突破版):數據結構與算法名企面試題精講
- Java面向對象程序開發及實戰
- Access 2010中文版項目教程
- Python網絡爬蟲技術與應用
- Programming Microsoft Dynamics? NAV 2015
- 工業機器人離線編程
- Android Development Tools for Eclipse
- Elasticsearch Blueprints
- 零基礎學編程系列(全5冊)
- C語言編程魔法書:基于C11標準
- HTML5+jQuery Mobile移動應用開發
- Swift 5從零到精通iOS開發訓練營