| /src/external/bsd/ipf/dist/perl/ |
| ipf-mrtg.pl | 2 # reads stats and uptime for ip-filter for mrtg 19 my $uptime = `/usr/bin/uptime`; 20 $uptime =~ /^\s+(\d{1,2}:\d{2}..)\s+up\s+(\d+)\s+(......),/;
|
| /src/usr.bin/w/ |
| Makefile | 8 MAN= w.1 uptime.1 11 LINKS= ${BINDIR}/w ${BINDIR}/uptime
|
| w.c | 153 /* Are we w(1) or uptime(1)? */ 464 time_t uptime; local 486 uptime = now - boottime.tv_sec; 487 uptime += 30; 488 if (uptime > SECSPERMIN) { 489 days = uptime / SECSPERDAY; 490 uptime %= SECSPERDAY; 491 hrs = uptime / SECSPERHOUR; 492 uptime %= SECSPERHOUR; 493 mins = uptime / SECSPERMIN [all...] |
| /src/external/mit/libuv/dist/src/unix/ |
| cygwin.c | 28 int uv_uptime(double* uptime) { 34 *uptime = info.uptime;
|
| haiku.c | 111 int uv_uptime(double* uptime) { 113 *uptime = (double)system_time() / 1000000;
|
| hurd.c | 110 int uv_uptime(double* uptime) { 113 /* Try /proc/uptime first */ 114 if (0 == uv__slurp("/proc/uptime", buf, sizeof(buf))) 115 if (1 == sscanf(buf, "%lf", uptime)) 118 /* Reimplement here code from procfs to calculate uptime if not mounted? */
|
| qnx.c | 110 int uv_uptime(double* uptime) { 112 *uptime = (qtime->nsec / 1000000000.0);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/linux/sys/ |
| sysinfo.d | 19 c_long uptime; /* Seconds since boot */
|
| /src/sys/kern/ |
| kern_heartbeat.c | 268 * all CPUs' heartbeat uptime caches are up-to-date before 398 * system uptime. This runs at the same priority level as 410 unsigned uptime = time_uptime32; local 413 atomic_store_relaxed(&curcpu()->ci_heartbeat_uptime_cache, uptime); 616 * 2. Panic if the system uptime doesn't seem to have advanced in 620 * local view of the system uptime. 623 * system uptime. 628 * system uptime in a while. 634 unsigned count, uptime, cache, stamp, d; local 658 * If the uptime hasn't changed, make sure that we haven' [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| common.h | 70 time_t uptime(void);
|
| common.c | 142 uptime(void) function
|
| /src/external/bsd/jemalloc/dist/src/ |
| stats.c | 155 uint64_t uptime) { 174 base->counter_type##_val, uptime); \ 187 uint64_t uptime) { 206 base->counter_type##_val, uptime); \ 218 uint64_t uptime) { 236 base->counter_type##_val, uptime); \ 306 emitter_t *emitter, bool mutex, unsigned i, uint64_t uptime) { 457 col_mutex64, col_mutex32, uptime); 520 col_nmalloc_ps.uint64_val = rate_per_second(nmalloc, uptime); 522 col_ndalloc_ps.uint64_val = rate_per_second(ndalloc, uptime); 1181 uint64_t uptime; local 1954 uint64_t uptime; local [all...] |
| /src/external/bsd/jemalloc.old/dist/src/ |
| stats.c | 148 uint64_t uptime) { 168 base->counter_type##_val, uptime); \ 181 uint64_t uptime) { 201 base->counter_type##_val, uptime); \ 213 uint64_t uptime) { 232 base->counter_type##_val, uptime); \ 304 uint64_t uptime) { 455 col_mutex64, col_mutex32, uptime); 518 col_nmalloc_ps.uint64_val = rate_per_second(nmalloc, uptime); 520 col_ndalloc_ps.uint64_val = rate_per_second(ndalloc, uptime); 1059 uint64_t uptime; local 1758 uint64_t uptime; local [all...] |
| /src/external/mit/libuv/dist/test/ |
| test-platform-output.c | 31 double uptime; local 63 err = uv_uptime(&uptime); 68 ASSERT_GT(uptime, 0); 69 printf("uv_uptime: %f\n", uptime);
|
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| arena_stats.h | 83 /* Arena uptime. */ 84 nstime_t uptime; member in struct:arena_stats_s
|
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| arena_stats.h | 83 /* Arena uptime. */ 84 nstime_t uptime; member in struct:arena_stats_s
|
| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| arena_stats.h | 92 /* Arena uptime. */ 93 nstime_t uptime; member in struct:arena_stats_s
|
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| arena_stats.h | 92 /* Arena uptime. */ 93 nstime_t uptime; member in struct:arena_stats_s
|
| /src/sys/compat/linux32/common/ |
| linux32_types.h | 105 netbsd32_long uptime; member in struct:linux32_sysinfo
|
| linux32_sysinfo.c | 76 si.uptime = time_uptime;
|
| /src/external/cddl/dtracetoolkit/dist/Bin/ |
| dexplorer | 237 uptime > Info/uptime # Load 539 rm Info/uptime
|
| /src/external/cddl/dtracetoolkit/dist/ |
| dexplorer | 237 uptime > Info/uptime # Load 539 rm Info/uptime
|
| /src/sys/compat/linux/common/ |
| linux_misc.h | 70 long uptime; member in struct:linux_sysinfo
|
| /src/external/bsd/nsd/dist/ |
| metrics.c | 523 struct timeval elapsed, uptime; local 536 /* uptime (in seconds) */ 537 timeval_subtract(&uptime, now, &xfrd->nsd->metrics->boot_time); 539 "Uptime since server boot in seconds.", "counter"); 541 (unsigned long)uptime.tv_sec, (unsigned long)uptime.tv_usec);
|
| /src/external/bsd/top/dist/ |
| display.c | 1016 time_t uptime; local 1020 uptime = *tod - *bt; 1021 uptime += 30; 1022 uptime_days = uptime / 86400; 1023 uptime %= 86400; 1024 uptime_hours = uptime / 3600; 1025 uptime %= 3600; 1026 uptime_mins = uptime / 60; 1027 uptime_secs = uptime % 60; 1030 * Display the uptime [all...] |