How to see application service uptime

 Hello Guys,

As we are aware uptime command in Linux will show how long is the server up.

Last reboot - This will show you the last reboot of the system.

To check application uptime/running time:

ps -ef | grep <service name>


eg: ps -ef | grep <tomcat> (If your application uses Tomcat)
ps -ef | grep <jboss> (If your application uses Jboss)