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: README.md
+60-25Lines changed: 60 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,22 @@ Trigger installation of the plugin via
20
20
cf install-plugin -r CF-Community "java"
21
21
```
22
22
23
+
The releases in the community repository might be older that the actual releases on GitHub, that you
24
+
can install manually.
25
+
23
26
### Manual Installation
24
-
Download the binary file for your target OS from the [latest release](https://github.com/SAP/cf-cli-java-plugin/releases/latest).
27
+
Download the latest release from [GitHub](https://github.com/SAP/cf-cli-java-plugin/releases/latest).
25
28
26
-
If you've already installed the plugin and are updating it, you must first execute the `cf uninstall-plugin java` command.
29
+
To install a new version of the plugin, run the following:
27
30
28
-
Install the plugin with `cf install-plugin [cf-cli-java-plugin]` (replace `[cf-cli-java-plugin]` with the actual binary name you will use, which depends on the OS you are running).
Start async-profiler wall-clock profiling on a running Java application (additional options via --args)
167
+
asprof-stop (recent SapMachine only)
168
+
Stop an async-profiler profile recording on a running Java application
141
169
142
-
stop-asprof
143
-
Stop async-profiler profiling on a running Java application (additional options via --args)
170
+
asprof-dump (recent SapMachine only)
171
+
Dump an async-profiler profile recording without stopping it
172
+
173
+
asprof-status (recent SapMachine only)
174
+
Get the status of async-profiler on a running Java application
144
175
145
176
OPTIONS:
146
-
-args -a, Miscellaneous arguments to pass to the command in the container, be aware to end it with a space if it is a simple option
147
-
-container-dir -cd, the directory path in the container that the heap dump/JFR/... file will be saved to
148
-
-dry-run -n, just output to command line what would be executed
149
-
-keep -k, keep the heap dump in the container; by default the heap dump/JFR/... will be deleted from the container's filesystem after been downloaded
150
-
-local-dir -ld, the local directory path that the dump/JFR/... file will be saved to
151
-
-app-instance-index -i [index], select to which instance of the app to connect
177
+
--app-instance-index -i [index], select to which instance of the app to connect
178
+
--args -a, Miscellaneous arguments to pass to the command (if supported)
179
+
in the container, be aware to end it with a space if it is a simple option
180
+
--container-dir -cd, the directory path in the container that the heap dump/JFR/... file
181
+
will be saved to
182
+
--dry-run -n, just output to command line what would be executed
183
+
--keep -k, keep the heap dump in the container; by default the heap dump/JFR/...
184
+
will be deleted from the container's filesystem after been downloaded
185
+
--local-dir -ld, the local directory path that the dump/JFR/... file will be saved to
186
+
defaults to the current directory
152
187
</pre>
153
188
154
189
The heap dumps and profiles will be copied to a local file if `-local-dir` is specified as a full folder path. Without providing `-local-dir` the heap dump will only be created in the container and not transferred.
0 commit comments