Getting the process uptime in hours or minutes

Hi All,

In Linux, we can use the ps command to check how long a process has been running.

Does Dynatrace capture this data? If not, how can we capture it?

Thanks
Vishnu

Hi,

If you go to process view, you can see when process was available and restart events.

Best regards

Thanks @AntonPineiro , am looking for how a Host, the Uptime is shown on its page.

Like:

if a metric can show this data, will use it on a dashboard or such

Hi,

Maybe process availability.

Best regards

Actually no, that doesnt help my requirement, need duration of a process being up, not percentage or the current process state.

@vishnu_kumar I think the option to report process availability similar to host uptime in minutes or hours is currently not available out of the box . What you would be able to report on is if the process is Up or Down and the percent of time its available .

Thanks for the info @p_devulapalli , do you think its possible by any means we can pull data from linux ps command?