You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-apps/how-to-connect-to-app-instance-for-troubleshooting.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This article describes how to access the shell environment inside your applicati
34
34
35
35
## Assign an Azure role
36
36
37
-
Before connecting to an app instance, you must be granted the role *Azure Spring Apps Connect Role*. Connecting to an app instance it requires the data action permission `Microsoft.AppPlatform/Spring/apps/deployments/connect/action`.
37
+
Before connecting to an app instance, you must be granted the role *Azure Spring Apps Connect Role*. Connecting to an app instance requires the data action permission `Microsoft.AppPlatform/Spring/apps/deployments/connect/action`.
38
38
39
39
Use the following command to assign the *Azure Spring Apps Connect Role* role:
40
40
@@ -100,7 +100,7 @@ jps
100
100
101
101
The output should look like the following example:
102
102
103
-
:::image type="content" source="media/how-to-connect-to-app-instance-for-troubleshooting/jps-result.png" alt-text="Screenshot showing the output of the command.":::
103
+
:::image type="content" source="media/how-to-connect-to-app-instance-for-troubleshooting/jps-result.png" alt-text="Screenshot showing the output of the jps command.":::
104
104
105
105
Then use the following command to run the JDK tool to check the result:
106
106
@@ -110,7 +110,7 @@ jstat -gc 1
110
110
111
111
The output should look like the following example:
112
112
113
-
:::image type="content" source="media/how-to-connect-to-app-instance-for-troubleshooting/jstat-result.png" alt-text="Screenshot showing the output of the command.":::
113
+
:::image type="content" source="media/how-to-connect-to-app-instance-for-troubleshooting/jstat-result.png" alt-text="Screenshot showing the output of the jstat command.":::
114
114
115
115
## Disconnect from your app instance
116
116
@@ -122,10 +122,10 @@ The following list describes some of the pre-installed tools that you can use fo
122
122
123
123
-`lsof` - Lists open files.
124
124
-`top` - Displays system summary information and current utilization.
125
-
-`ps` - Get a snapshot of the running process.
125
+
-`ps` - Gets a snapshot of the running process.
126
126
-`netstat` - Prints network connections and interface statistics.
127
127
-`nslookup` - Queries internet name servers interactively.
128
-
-`ping` - Test whether a network host can be reached.
128
+
-`ping` - Tests whether a network host can be reached.
129
129
-`nc` - Reads from and writes to network connections using TCP or UDP.
130
130
-`wget` - Lets you download files and interact with REST APIs.
131
131
-`df` - Displays the amount of available disk space.
@@ -134,12 +134,12 @@ You can also use JDK-bundled tools such as `jps`, `jcmd`, and `jstat`.
134
134
135
135
The available tools depend on your service tier and type of app deployment. The following table describes the availability of troubleshooting tools:
136
136
137
-
| Tier | Deployment Type | Common tools | JDK tools | Notes |
| Basic / Standard tier | Source code / Jar | Y | Y (for Java workloads only) ||
140
-
| Basic / Standard tier | Custom Image | N | N | Up to your installed tool set |
141
-
| Enterprise Tier | Source code / Artifacts | Y (for full OS stack), N (for base OS stack) | Y (for Java workloads only) | Depends on the os stack of your builder |
142
-
| Enterprise Tier | Custom Image | N | N | Up to your installed tool set |
137
+
| Tier | Deployment Type | Common tools | JDK tools | Notes |
| Basic / Standard tier | Source code / Jar | Y | Y (for Java workloads only) ||
140
+
| Basic / Standard tier | Custom Image | N | N | Up to your installed tool set.|
141
+
| Enterprise Tier | Source code / Artifacts | Y (for full OS stack), N (for base OS stack) | Y (for Java workloads only) | Depends on the os stack of your builder.|
142
+
| Enterprise Tier | Custom Image | N | N | Up to your installed tool set.|
0 commit comments