-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement]: Document the endpoint "top" command #5097
Comments
Below is output of 8.15.0 Feel free to ask for any clarification. The documentation needs to be slightly updated for backports if we want to do it as we've been changing a bit the commands and their output over time. =============================
============================= Elastic Endpoint command referenceElastic Endpoint, part of Elastic Defend integration, provides commands for management and troubleshooting.
Each of the commands accepts logging options
elastic-endpoint diagnosticGather diagnostics information from the Elastic Endpoint. This command produces an archive that contains:
elastic-endpoint helpShow help about available commands elastic-endpoint inspectShow the current Elastic Endpoint configuration. elastic-endpoint installInstall Elastic Endpoint as a system service.
Options
elastic-endpoint memorydumpSaves a memory dump of Elastic Endpoint service. Options
elastic-endpoint runRun elastic-endpoint as foreground process if no other instance is already running. elastic-endpoint statusReturns the current status of the running Elastic Endpoint service. The last known status of the Elastic Agent is also returned. Options
elastic-endpoint sendThis command has currently only one subcommand elastic-endpoint testThis command has currently only one subcommand Example:
elastic-endpoint topTop shows a breakdown of the executables that triggered Endpoint CPU usage within the last interval. This utility visualize which Endpoint features are expensive for a particular executable.
Example:
column abbreviations:
Options
elastic-endpoint uninstallUninstall Elastic Endpoint.
Options
elastic-endpoint versionShow the version of Elastic Endpoint |
Hi @natasha-moore-elastic I've just added |
This is great, thank you @intxgo for putting together the draft! I'm hoping to start working on this in the next couple of weeks, so I'll reach out once I have a PR ready for review. |
Hello @nfritts and @intxgo 👋 We're trying to figure out which commands to backport to which version. I see that these commands are being added for |
Ok, I'll compile a list of commands per each endpoint version. Some commands (actually the |
I've checked 7.17 and all 8.x versions, most commands were there all the time, some were introduced later, yet some options were added later to previous commands Here's the historic diff to the current state described above: commands introduced
options introduced
top output changesin 8.9
in 8.10
in 8.13
The example screenshots for |
Many thanks for this detailed breakdown, @intxgo! It sounds like we should backport this documentation all the way to 7.17 docs, is that correct? |
yes, that's correct. |
I've noticed that other integrations use the term "experimental" when they release a beta feature, so I suggest to document the |
Hello @nfritts @intxgo — @natasha-moore-elastic and I had a question about backporting. Would it be possible to just backport these changes to versions |
The I think it'd be good enough to document it only for the latest versions as before 8.12 the command line was so limited that it was considered as "for internal use by Elastic Agent". In 8.12 we added user visible command |
@jmikell821 / @natasha-moore-elastic thoughts on Leszek's comment on backporting this to 8.13 and above? |
|
Description
We've added command line context/help for the
top
command in 8.12 but think the documentation should also be in the official docs.Related links / assets
Please include each of the following, if applicable:
Doc URL:
Subject matter expert:
Figma link(s):
Github epic link(s):
Github issue link(s): https://github.com/elastic/endpoint-dev/issues/13771
Which documentation set needs improvement?
ESS and serverless
Software version
8.12+
Collaborators
PM:
Designer:
Developer:
Others (if applicable):
Timeline / deliverables
No specific timeline really.
The text was updated successfully, but these errors were encountered: