Skip to content

Instantly share code, notes, and snippets.

@ColinLeverger
Created December 8, 2016 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ColinLeverger/633a9bc6f0f2fe4c7f9e6163308aa15c to your computer and use it in GitHub Desktop.
Save ColinLeverger/633a9bc6f0f2fe4c7f9e6163308aa15c to your computer and use it in GitHub Desktop.
Check if New Relic agent is running

Check if New Relic agent is running :

ps -ef | grep newrelic-daemon

Should print three processes such as :

colin 3091 4221 0 21:51 pts/0 00:00:00 grep newrelic-daemon

root 17881 17834 0 21:46 ? 00:00:00 /usr/bin/newrelic-daemon --agent --pidfile /var/run/newrelic-daemon.pid --logfile /var/log/newrelic/newrelic-daemon.log --port /tmp/.newrelic.sock --tls

root 17902 17881 0 21:46 ? 00:00:00 /usr/bin/newrelic-daemon --agent --pidfile /var/run/newrelic-daemon.pid --logfile /var/log/newrelic/newrelic-daemon.log --port /tmp/.newrelic.sock --tls -no-pidfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment