cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6413
Views
5
Helpful
3
Replies

How to check the Uptime of an ESA Device for certain peroid

loganathan.e
Level 1
Level 1

Hi There,

I would like to get the uptime of an ESA Device for certain peroid like one month or 2 months.

I can get the uptime from the CLI with status command but it shares only the uptime of device since the last reboot.

Thanks,

Logan

3 Replies 3

Libin Varghese
Cisco Employee
Cisco Employee

Hi Logan,

You can review the system_logs to determine when the device was rebooted over a period of time. I do not think there is a log to calculate specifically the uptime of the appliance as all logs keep updating while the device is up so you would need to manually review them for time gaps.

cisco.lab> grep System system_logs

Thu Nov 5 18:05:09 2015 Info: System is coming up.
Mon Sep 12 07:27:28 2016 Info: System is coming up.
Fri Dec 2 11:04:31 2016 Info: System is shutting down.
Fri Dec 2 11:07:47 2016 Info: System is coming up.

Thanks

Libin Varghese

> grep System system_logs
grep does not support this log format.

This does not seem to work!

You would need a local copy of the status logs on the appliance for the grep command to work.

 

If the status logs are being pushed using scp/syslog to a different server then the grep command would return such an error.

 

Regards 

Libin Varghese