Can I set 'org.linkedin.app.name' for each process I start?
I noticed on the 'All Processes' tab the org.linkedin.app.name column. Is there a way I can set that for the various Agents? How about for processes that I start from an Agent? Finally, can I replace the 'org.linkedin.app.name' column header in that table with my own more meaningful text?
Re: Can I set 'org.linkedin.app.name' for each process I start?
I actually modified my python scripts (called by the agents, or not) to accept/ignore -Dorg.linkedin.app.name=XXXX, this way I do get a clear idea of what all these python processes are :-).
Feel free to use and abuse it. As long as the process that has it does not throw a command line option error you will be fine. The console or the agents will not complain if other processes start showing up with it. Note that the Agent does not report on processes from other users on the host.
As for customizing it, looking at the template file ps.gsp:
As Stephane described, this feature is simply looking for a process argument which looks like -Dorg.linkedin.app.name=xxx and simply displays xxx in the column. If you can add such an argument when you start your process (which clearly works fine if the process is java...) then the value will be displayed.
This could be made more generic and configurable. If this is what you want, then please create a ticket for it. Nobody has ever asked for it before :)