Difference between "sysUpTimeInstance (system.sysUpTime.0)" and "hrSystemUptime" SNMP MIB

Solution Verified - Updated -

Issue

  • Difference between "sysUpTimeInstance (system.sysUpTime.0)" and "hrSystemUptime" SNMP MIB

  • Why the uptime and snmpget command is showing different system uptime ?

[root@host ~]# snmpget -v1 -Cf -c bby-4u host.example.com system.sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (25261518) 2 days, 22:10:15.18
[root@host ~]# uptime
02:12:33 up 3 days, 7:13, 4 users, load average: 0.41, 0.41, 0.37
[root@host ~]# date
Wed Dec 8 02:12:36 CST 2010

[root@host1 ~]# snmpget -v1 -Cf -c bby-4u host1.example.com system.sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1075703) 2:59:17.03
[root@host1 ~]# uptime
02:20:15 up 4:00, 7 users, load average: 0.70, 0.67, 0.57
[root@host1 ~]# date
Wed Dec 8 02:20:37 CST 2010

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.