/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | remote.c | 861 /** print uptime stats */ 2286 time_t uptime; local 2301 uptime = (time_t)time(NULL) - (time_t)worker->daemon->time_boot.tv_sec; 2302 if(!ssl_printf(ssl, "uptime: " ARG_LL "d seconds\n", (long long)uptime))
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_request.c | 2739 ifs->uptime = htonl(current_time - ep->starttime);
|
/freebsd-11-stable/contrib/apr-util/memcache/ |
H A D | apr_memcache.c | 1492 #define STAT_uptime MS_STAT " uptime " 1639 else mc_do_stat(uptime, uint32)
|
/freebsd-11-stable/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 196 "display system uptime and packet counts" }, 317 u_int uptime; member in struct:ifstats_row_tag 3383 " # address/broadcast drop flag ttl mc received sent failed peers uptime\n" 3395 prow->peer_count, prow->uptime, sptoa(&prow->addr)); 3424 const char up_fmt[] = "up.%u"; /* uptime */ 3444 " # address/broadcast drop flag ttl mc received sent failed peers uptime\n" 3529 1 == sscanf(val, "%u", &row.uptime)) 3923 VDC_INIT("ss_uptime", "uptime: ", NTP_STR),
|
/freebsd-11-stable/contrib/ntp/ntpdc/ |
H A D | ntpdc_ops.c | 3064 #define IF_LIST_LABELS "#", 'A', "Address/Mask/Broadcast", 'T', 'E', "IF name", "Flg", "TL", "#M", "recv", "sent", "drop", "S", "PC", "uptime" 3108 (u_long)ntohl(ifs->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/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/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/sys/compat/linux/ |
H A D | linux_misc.c | 122 l_long uptime; /* Seconds since boot */ member in struct:l_sysinfo 159 sysinfo.uptime = ts.tv_sec;
|
/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/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/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/etc/periodic/daily/ |
H A D | Makefile | 22 430.status-uptime \
|
/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/usr.sbin/ppp/ |
H A D | throughput.h | 39 time_t uptime, downtime; member in struct:pppThroughput
|
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 | radius.c | 1149 dl->peer.authname, (unsigned long)stats->uptime);
|
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/contrib/bsnmp/snmpd/ |
H A D | main.c | 489 /* update uptime */ 2527 objres->uptime = (uint32_t)(get_ticks() - start_tick); 2532 systemg.or_last_change = objres->uptime;
|
H A D | action.c | 494 value->v.uint32 = objres->uptime;
|
H A D | snmpd.h | 297 u_int32_t uptime; member in struct:objres
|
/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/w/ |
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...] |
H A D | Makefile | 6 MAN= w.1 uptime.1 8 LINKS= ${BINDIR}/w ${BINDIR}/uptime
|