cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get PID for a running process using REST API

Adarsh3312
Observer

I am trying to get PID for a running process from Dynatrace. I am using Environment API and giving "PROCESS_GROUP_INSTANCE" as entity type.

This API do not sends PID for the process. Can some one help in finding a correct REST endpoint which will return PID for a running process.

Thanks,

 

6 REPLIES 6

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I think that is not reachable via API, but not sure 100%.

You can see PID from Process instance snapshots.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Can you please suggest how I can pull this data from process instance snapshots which contains PID, PPID command line etc for all the processes.

Regards,

Hi,

I do not see an out-the-box solution if you want that information outside Dynatrace.

Maybe re-searching if those metrics are available in Grail. Are you in a SaaS Grail enabled tenant?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Yes We do have Grail enabled tenant but we also want to support a non-grail tenant. We support log monitoring for both of the tenants type.

Regards

Hi,

I do not see a way to get it from Managed. I someone does not provide you an answer, you can raise a product idea.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

AntonPineiro
DynaMight Guru
DynaMight Guru

Product idea in relation to this -> https://community.dynatrace.com/t5/Product-ideas/Provide-an-api-to-pull-the-process-details-such-as-...

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts