Skip to content

Commit 39dfbab

Browse files
fixes
1 parent 3f10e42 commit 39dfbab

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/spring-apps/how-to-connect-to-app-instance-for-troubleshooting.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This article describes how to access the shell environment inside your applicati
3434

3535
## Assign an Azure role
3636

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`.
3838

3939
Use the following command to assign the *Azure Spring Apps Connect Role* role:
4040

@@ -100,7 +100,7 @@ jps
100100

101101
The output should look like the following example:
102102

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.":::
104104

105105
Then use the following command to run the JDK tool to check the result:
106106

@@ -110,7 +110,7 @@ jstat -gc 1
110110

111111
The output should look like the following example:
112112

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.":::
114114

115115
## Disconnect from your app instance
116116

@@ -122,10 +122,10 @@ The following list describes some of the pre-installed tools that you can use fo
122122

123123
- `lsof` - Lists open files.
124124
- `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.
126126
- `netstat` - Prints network connections and interface statistics.
127127
- `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.
129129
- `nc` - Reads from and writes to network connections using TCP or UDP.
130130
- `wget` - Lets you download files and interact with REST APIs.
131131
- `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`.
134134

135135
The available tools depend on your service tier and type of app deployment. The following table describes the availability of troubleshooting tools:
136136

137-
| Tier | Deployment Type | Common tools | JDK tools | Notes |
138-
|------------------------|--------------------------|-----------------------------------------------|------------------------------|------------------------------------------|
139-
| 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 |
138+
|------------------------|--------------------------|-----------------------------------------------|------------------------------|-------------------------------------------|
139+
| 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. |
143143

144144
## Limitations
145145

0 commit comments

Comments
 (0)