/freebsd-11-stable/usr.bin/w/ |
H A D | Makefile | 6 MAN= w.1 uptime.1 8 LINKS= ${BINDIR}/w ${BINDIR}/uptime
|
H A D | w.c | 153 /* Are we w(1) or uptime(1)? */ 154 if (strcmp(basename(argv[0]), "uptime") == 0) { 254 xo_open_container("uptime-information"); 259 xo_close_container("uptime-information"); 452 xo_close_container("uptime-information"); 463 time_t uptime; local 480 uptime = tp.tv_sec; 481 if (uptime > 60) 482 uptime += 30; 483 days = uptime / 8640 [all...] |
/freebsd-11-stable/etc/periodic/daily/ |
H A D | 430.status-uptime | 25 prog=uptime
|
H A D | Makefile | 22 430.status-uptime \
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | throughput.c | 63 t->uptime = 0; 89 if (t->uptime && downat < t->uptime) { 96 t->uptime = downat; 98 return t->uptime ? downat - t->uptime : 0; 138 if (t->uptime) { 166 int uptime, divisor; local 171 uptime = throughput_uptime(t); 172 divisor = uptime < [all...] |
H A D | throughput.h | 39 time_t uptime, downtime; member in struct:pppThroughput
|
H A D | command.c | 527 char uptime[20]; local 538 snprintf(uptime, sizeof uptime, "%d:%02d:%02d", 605 nargv[arg] = subst(nargv[arg], "UPTIME", uptime);
|
/freebsd-11-stable/release/picobsd/tinyware/vm/ |
H A D | vm.c | 46 long uptime=1; local 67 printf("%-12s %20lu %10lu\n", namep[i], cnt[i], cnt[i]/uptime); 71 inttotal / (u_int64_t) uptime);
|
/freebsd-11-stable/tools/bsdbox/ |
H A D | Makefile.base | 12 CRUNCH_ALIAS_w= uptime
|
/freebsd-11-stable/contrib/top/ |
H A D | display.c | 1429 time_t uptime; local 1433 uptime = *tod - bt->tv_sec; 1434 days = uptime / 86400; 1435 uptime %= 86400; 1436 hrs = uptime / 3600; 1437 uptime %= 3600; 1438 mins = uptime / 60; 1439 secs = uptime % 60; 1442 * Display the uptime.
|
/freebsd-11-stable/sys/dev/xen/timer/ |
H A D | timer.c | 209 uint64_t uptime; local 211 uptime = xen_fetch_vcpu_time(DPCPU_GET(vcpu_info)); 213 ts->tv_sec = uptime / NSEC_IN_SEC; 214 ts->tv_nsec = uptime % NSEC_IN_SEC; 252 * uptime-since-hypervisor-start (in nsec.) They need to be combined 484 /* Reset the last uptime value */
|
/freebsd-11-stable/usr.bin/vmstat/ |
H A D | vmstat.c | 420 /* Return system uptime in nanoseconds */ 660 time_t uptime, halfuptime; local 663 uptime = getuptime() / 1000000000LL; 664 halfuptime = uptime / 2; 780 #define rate(x) (((x) * rate_adj + halfuptime) / uptime) /* round */ 836 uptime = interval; 843 halfuptime = (uptime + 1) / 2; 1301 long long period_ms, old_uptime, uptime; local 1307 uptime = getuptime(); 1348 period_ms = uptime / 100000 [all...] |
/freebsd-11-stable/contrib/apr-util/include/ |
H A D | apr_memcache.h | 385 apr_uint32_t uptime; member in struct:__anon151
|
/freebsd-11-stable/usr.bin/netstat/ |
H A D | route.c | 105 static struct timespec uptime; variable in typeref:struct:timespec 145 if (clock_gettime(CLOCK_UPTIME, &uptime) < 0) 399 if ((expire_time = rtm->rtm_rmx.rmx_expire - uptime.tv_sec) > 0)
|
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | vendstat.c | 71 uint32_t uptime; member in struct:__anon3676 490 printf("hw_uptime: 0x%08x\n", ntohl(gi_is3->hw_info.uptime));
|
H A D | ibmirror.c | 89 uint32_t uptime; member in struct:__anon3666
|
/freebsd-11-stable/contrib/bsnmp/snmpd/ |
H A D | snmpd.h | 297 u_int32_t uptime; member in struct:objres
|
H A D | action.c | 494 value->v.uint32 = objres->uptime;
|
H A D | main.c | 489 /* update uptime */ 2527 objres->uptime = (uint32_t)(get_ticks() - start_tick); 2532 systemg.or_last_change = objres->uptime;
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_norm.c | 1358 struct timeval uptime; local 1416 * NAT detection, OS uptime determination or 1487 getmicrouptime(&uptime); 1489 (uptime.tv_sec - src->scrub->pfss_last.tv_sec > TS_MAX_IDLE || 1500 uptime.tv_sec - dst->scrub->pfss_last.tv_sec > TS_MAX_IDLE) { 1590 delta_ts = uptime;
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-sflow.c | 50 * | Switch uptime in ms | 63 uint8_t uptime[4]; member in struct:sflow_datagram_t 915 ND_PRINT((ndo, "sFlowv%u, %s agent %s, agent-id %u, seqnum %u, uptime %u, samples %u, length %u", 921 EXTRACT_32BITS(sflow_datagram->uptime),
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_request.h | 926 int32 uptime; /* number of seconds this interface was active */ member in struct:info_if_stats
|
/freebsd-11-stable/contrib/wpa/src/radius/ |
H A D | radius_server.c | 2569 int ret, uptime; local 2584 uptime = (now.sec - data->start_time.sec) * 100 + 2592 uptime);
|
/freebsd-11-stable/usr.sbin/ntp/ntpdc/ |
H A D | nl.c | 866 printf("offsetof(uptime) = %d\n", 867 (int) offsetof(struct info_if_stats, uptime));
|
/freebsd-11-stable/sys/nlm/ |
H A D | nlm_prot_impl.c | 684 time_t uptime = time_uptime; local 688 && uptime >= af->af_expiretime) {
|