Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Elastic Agent Commands Reference

Start Elastic Agent


# Mac
$ sudo launchctl load /Library/LaunchDaemons/co.elastic.elastic-agent.plist

# Linux
$ sudo service elastic-agent start

#Windows
$ Start-Service Elastic Agent

# Debian
$ sudo systemctl start elastic-agent

#RPM
$ sudo systemctl start elastic-agent

Stop Elastic Agent


# Mac
$ sudo launchctl unload /Library/LaunchDaemons/co.elastic.elastic-agent.plist

# Linux
$ sudo service elastic-agent stop

#Windows
$ Stop-Service Elastic Agent

# Debian
$ sudo systemctl stop elastic-agent
$ sudo service elastic-agent stop

#RPM
$ sudo systemctl stop elastic-agent
$ sudo service elastic-agent stop

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x