/illumos-gate/usr/src/cmd/w/ |
H A D | Makefile | 34 ROOTLINK= $(ROOTBIN)/uptime
|
H A D | w.c | 46 * 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/w/amd64/ |
H A D | Makefile | 38 ROOTLINK= $(ROOTBIN64)/uptime
|
/illumos-gate/usr/src/cmd/w/i386/ |
H A D | Makefile | 40 ROOTLINK= $(ROOTBIN32)/uptime
|
/illumos-gate/usr/src/cmd/w/sparcv9/ |
H A D | Makefile | 41 ROOTLINK= $(ROOTBIN64)/uptime
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rup.c | 73 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/cmd/whodo/ |
H A D | whodo.c | 144 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/lib/librstp/common/ |
H A D | uid_stp.h | 192 unsigned long uptime; /* 14.8.2.1.3.a */ member in struct:__anon3924
|
H A D | port.h | 153 unsigned long uptime; /* 14.8.2.1.3.a */ member in struct:port_t
|
H A D | port.c | 65 this->uptime = 0;
|
H A D | stpm.c | 113 port->uptime++;
|
H A D | stp_in.c | 208 port->uptime = 0; 368 entry->uptime = port->uptime;
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_sunoem.c | 176 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/ucbcmd/ |
H A D | Makefile | 132 uptime \
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | zloop.bash | 200 /bin/uptime >>ztest.out
|
/illumos-gate/usr/src/man/man1/ |
H A D | Makefile | 398 uptime.1 \
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_mm.c | 972 pUM->props.uptime = 0; 991 pUM->props.uptime = ddi_get_time();
|
H A D | bnxe.h | 301 time_t uptime; member in struct:_BnxeProps
|
H A D | bnxe_kstat.c | 87 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);
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 8333 sizeof (bbuf->bridgel_uptime), "%lu", stpstate.uptime); 8573 char *all_link_fields = "link,index,state,uptime,opercost," 8575 char *default_link_fields = "link,state,uptime,desroot";
|