Home
last modified time | relevance | path

Searched refs:uptime (Results 1 – 25 of 55) sorted by relevance

123

/NextBSD/usr.sbin/ppp/
HDthroughput.c61 t->uptime = 0; in throughput_init()
87 if (t->uptime && downat < t->uptime) { in throughput_uptime()
94 t->uptime = downat; in throughput_uptime()
96 return t->uptime ? downat - t->uptime : 0; in throughput_uptime()
136 if (t->uptime) { in throughput_log()
164 int uptime, divisor; in throughput_sampler() local
169 uptime = throughput_uptime(t); in throughput_sampler()
170 divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod; in throughput_sampler()
189 if (t->callback.fn != NULL && uptime >= t->SamplePeriod) in throughput_sampler()
208 time(&t->uptime); in throughput_start()
[all …]
HDthroughput.h37 time_t uptime, downtime; member
/NextBSD/cddl/contrib/dtracetoolkit/Examples/
HDloads_example.txt4 Here we run both loads.d and the uptime command for comparison,
6 # uptime
16 The point of loads.d is to demonstrate fetching the same data as uptime
18 or substitute to the uptime(1) command.
HDshellsnoop_example.txt3 in another several commands were run: date, cal, uname -a, uptime and find.
39 4724 3762 ksh W uptime
41 4744 4724 uptime W 11:10pm up 4 day(s), 11:15, 4 users, load average: 0.05, 0.02, 0.02
HDexecsnoop_example.txt61 2005 Jan 22 00:07:34 0 23058 20933 uptime
62 2005 Jan 22 00:07:34 0 23058 20933 uptime
HDshortlived_example.txt33 # uptime
HDnfswizard_example.txt34 /net/mars/var/tmp/adm/uptime 4096
HDdexplorer_example.txt82 de_jupiter_200506271803/Info/uptime
/NextBSD/usr.bin/w/
HDw.c463 time_t uptime; in pr_header() local
480 uptime = tp.tv_sec; in pr_header()
481 if (uptime > 60) in pr_header()
482 uptime += 30; in pr_header()
483 days = uptime / 86400; in pr_header()
484 uptime %= 86400; in pr_header()
485 hrs = uptime / 3600; in pr_header()
486 uptime %= 3600; in pr_header()
487 mins = uptime / 60; in pr_header()
488 secs = uptime % 60; in pr_header()
HDMakefile6 MAN= w.1 uptime.1
8 LINKS= ${BINDIR}/w ${BINDIR}/uptime
/NextBSD/release/picobsd/tinyware/vm/
HDvm.c46 long uptime=1; in vm_i() local
67 printf("%-12s %20lu %10lu\n", namep[i], cnt[i], cnt[i]/uptime); in vm_i()
71 inttotal / (u_int64_t) uptime); in vm_i()
/NextBSD/contrib/top/
HDdisplay.c1345 time_t uptime; variable
1349 uptime = *tod - bt->tv_sec;
1350 days = uptime / 86400;
1351 uptime %= 86400;
1352 hrs = uptime / 3600;
1353 uptime %= 3600;
1354 mins = uptime / 60;
1355 secs = uptime % 60;
/NextBSD/sys/dev/xen/timer/
HDtimer.c205 uint64_t uptime; in xen_fetch_uptime() local
207 uptime = xen_fetch_vcpu_time(DPCPU_GET(vcpu_info)); in xen_fetch_uptime()
209 ts->tv_sec = uptime / NSEC_IN_SEC; in xen_fetch_uptime()
210 ts->tv_nsec = uptime % NSEC_IN_SEC; in xen_fetch_uptime()
/NextBSD/usr.bin/vmstat/
HDvmstat.c686 time_t uptime, halfuptime; in dovmstat() local
693 uptime = getuptime() / 1000000000LL; in dovmstat()
694 halfuptime = uptime / 2; in dovmstat()
813 #define rate(x) (((x) * rate_adj + halfuptime) / uptime) /* round */ in dovmstat()
867 uptime = interval; in dovmstat()
874 halfuptime = (uptime + 1) / 2; in dovmstat()
1348 long long uptime, period_ms; in dointr() local
1353 uptime = getuptime(); in dointr()
1389 period_ms = uptime / 1000000; in dointr()
1414 old_uptime = uptime; in dointr()
[all …]
/NextBSD/cddl/contrib/dtracetoolkit/
HDdexplorer237 uptime > Info/uptime # Load
539 rm Info/uptime
/NextBSD/cddl/contrib/dtracetoolkit/Bin/
Ddexplorer237 uptime > Info/uptime # Load
539 rm Info/uptime
/NextBSD/etc/periodic/daily/
HD430.status-uptime25 prog=uptime
HDMakefile18 430.status-uptime \
/NextBSD/tools/regression/filemon/
HDtest_script.sh43 uptime > /dev/null
/NextBSD/contrib/ofed/management/infiniband-diags/src/
HDvendstat.c66 uint32_t uptime; member
258 printf("hw_uptime: 0x%08x\n", ntohl(gi->hw_info.uptime)); in main()
/NextBSD/tools/bsdbox/
HDMakefile.base12 CRUNCH_ALIAS_w= uptime
/NextBSD/usr.bin/netstat/
HDroute.c104 static struct timespec uptime; variable
144 if (clock_gettime(CLOCK_UPTIME, &uptime) < 0) in routepr()
398 if ((expire_time = rtm->rtm_rmx.rmx_expire - uptime.tv_sec) > 0) in p_rtentry_sysctl()
/NextBSD/contrib/bsnmp/snmpd/
HDsnmpd.h296 u_int32_t uptime; member
/NextBSD/contrib/apr-util/include/
HDapr_memcache.h385 apr_uint32_t uptime; member
/NextBSD/sys/netpfil/pf/
HDpf_norm.c1347 struct timeval uptime; in pf_normalize_tcp_stateful() local
1476 getmicrouptime(&uptime); in pf_normalize_tcp_stateful()
1478 (uptime.tv_sec - src->scrub->pfss_last.tv_sec > TS_MAX_IDLE || in pf_normalize_tcp_stateful()
1489 uptime.tv_sec - dst->scrub->pfss_last.tv_sec > TS_MAX_IDLE) { in pf_normalize_tcp_stateful()
1579 delta_ts = uptime; in pf_normalize_tcp_stateful()

123