Searched defs:uptime (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sunoem.c176 ipmi_sunoem_uptime(ipmi_handle_t *ihp, uint32_t *uptime, uint32_t *gen) argument
196 if (uptime)
197 *uptime = BE_IN32(&((uint32_t *)resp->ic_data)[0]);
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drup.c73 int tflag; /* time: sort by uptime average */
273 int uptime, days, hrs, mins, i; local
275 uptime = now - boottime.tv_sec;
276 uptime += 30;
277 if (uptime < 0) /* unsynchronized clocks */
278 uptime = 0;
279 days = uptime / (60*60*24);
280 uptime %= (60*60*24);
281 hrs = uptime / (60*60);
282 uptime
[all...]
/illumos-gate/usr/src/lib/librstp/common/
H A Dport.h153 unsigned long uptime; /* 14.8.2.1.3.a */ member in struct:port_t
H A Duid_stp.h192 unsigned long uptime; /* 14.8.2.1.3.a */ member in struct:__anon3924
/illumos-gate/usr/src/cmd/w/
H A Dw.c46 * This program also implements 'uptime'.
140 static time_t uptime; /* time of last reboot & elapsed time since */ variable
270 uptime = now - ut->ut_xtime;
271 uptime += 30;
272 days = uptime / (60*60*24);
273 uptime %= (60*60*24);
274 hrs = uptime / (60*60);
275 uptime %= (60*60);
276 mins = uptime / 60;
306 if (firstchar == 'u') /* uptime comman
[all...]
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c144 static time_t uptime; /* time of last reboot & elapsed time since */ variable
266 uptime = now - ut->ut_xtime;
267 uptime += 30;
268 days = uptime / (60*60*24);
269 uptime %= (60*60*24);
270 hrs = uptime / (60*60);
271 uptime %= (60*60);
272 mins = uptime / 60;
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe.h301 time_t uptime; member in struct:_BnxeProps
H A Dbnxe_kstat.c87 kstat_named_t uptime; member in struct:_BnxeKstatLink
665 pStats->uptime.value.ui64 = (pUM->props.link_speed) ?
666 (ddi_get_time() - pUM->props.uptime) : 0;
1909 BNXE_KSTAT_LINK(uptime, KSTAT_DATA_UINT64);

Completed in 66 milliseconds