0

Through using SNMP protocol i can get the sysuptime of a device for example 1714656039

How can i convert this into x days y minutes z seconds?

A reference of what type of data is the 1714656039 can be found here. It is actually

The time (in hundredths of a second) since the network management portion of the system was last re-initialized.

Is this something useful?

Antonios Tsimourtos
  • 1,676
  • 1
  • 14
  • 37
  • Then what have you tried when that useful link is found? Isn't it giving you the correct answer? – Lex Li Feb 23 '19 at 19:21
  • net-snmputils do it for you by default: `snmpget -v2c -c public123 somedevice sysUpTime.0` -> ``DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (3540403222) 409 days, 18:27:12.22 . Or use programming language of your choice to tweak output format. – Yuri Lachin Feb 25 '19 at 07:39

0 Answers0