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

Geting the process uptime in hours or minutes

vishnu_kumar
Helper

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

DT Enthusiast
6 REPLIES 6

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

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

Best regards

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

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

Like:

vishnu_kumar_0-1752741957421.png

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

DT Enthusiast

Hi,

Maybe process availability.

Best regards

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

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

DT Enthusiast

@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 .

Phani Devulapalli

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

DT Enthusiast

Featured Posts