Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Is there a way to differentiate Linux processes by process arguments?

linux

#1

I have many Python processes, like

  • python task1
  • python task2
    … and so on…

Is there a way to force NewRelic to show them as different processes and not as instances of the same “python” process?
[I don’t want to go with ugly workaround by creating tons of symlinks with different names for Python]

TIA, Vitaly


#2

If you have the Infrastructure agent installed as opposed to the server agent, then in the newrelic-infra.yml, add the following,
strip_command_line: false
Then restart the infra agent. Hopefully that should resolve it for you.

Let me know how it goes.


#3

Thank you! Unfortunately we haven’t migrated to the infrastructure agent yet.
It seems be one more reason to do it.


#4