Home
last modified time | relevance | path

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

1234

/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Dloads_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.
H A Dshellsnoop_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
H A Dexecsnoop_example.txt61 2005 Jan 22 00:07:34 0 23058 20933 uptime
62 2005 Jan 22 00:07:34 0 23058 20933 uptime
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Dloads_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.
H A Dshellsnoop_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
H A Dexecsnoop_example.txt61 2005 Jan 22 00:07:34 0 23058 20933 uptime
62 2005 Jan 22 00:07:34 0 23058 20933 uptime
/netbsd-src/sys/kern/
H A Dkern_heartbeat.c267 * all CPUs' heartbeat uptime caches are up-to-date before
397 * system uptime. This runs at the same priority level as
409 unsigned uptime = time_uptime32; in heartbeat_intr() local
412 atomic_store_relaxed(&curcpu()->ci_heartbeat_uptime_cache, uptime); in heartbeat_intr()
615 * 2. Panic if the system uptime doesn't seem to have advanced in
619 * local view of the system uptime.
622 * system uptime. in heartbeat()
627 * system uptime in a while. in heartbeat()
633 unsigned count, uptime, cache, stamp, d; in heartbeat()
657 * If the uptime has in heartbeat()
625 unsigned count, uptime, cache, stamp, d; heartbeat() local
[all...]
/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dcygwin.c28 int uv_uptime(double* uptime) { in uv_uptime() argument
34 *uptime = info.uptime; in uv_uptime()
H A Dhurd.c110 int uv_uptime(double* uptime) { in uv_uptime() argument
115 if (1 == sscanf(buf, "%lf", uptime)) in uv_uptime()
H A Dqnx.c110 int uv_uptime(double* uptime) { in uv_uptime() argument
112 *uptime = (qtime->nsec / 1000000000.0); in uv_uptime()
H A Dhaiku.c106 int uv_uptime(double* uptime) { in uv_uptime() argument
108 *uptime = (double)system_time() / 1000000; in uv_uptime()
H A Dfreebsd.c160 int uv_uptime(double* uptime) { in uv_uptime() argument
167 *uptime = sp.tv_sec; in uv_uptime()
H A Dopenbsd.c163 int uv_uptime(double* uptime) { in uv_uptime() argument
174 *uptime = (double)(now - info.tv_sec); in uv_uptime()
H A Dnetbsd.c164 int uv_uptime(double* uptime) { in uv_uptime() argument
175 *uptime = (double)(now - info.tv_sec); in uv_uptime()
/netbsd-src/usr.bin/w/
H A Dw.c464 time_t uptime; in pr_header() local
486 uptime = now - boottime.tv_sec; in pr_header()
487 uptime += 30; in pr_header()
488 if (uptime > SECSPERMIN) { in pr_header()
489 days = uptime / SECSPERDAY; in pr_header()
490 uptime %= SECSPERDAY; in pr_header()
491 hrs = uptime / SECSPERHOUR; in pr_header()
492 uptime %= SECSPERHOUR; in pr_header()
493 mins = uptime / SECSPERMIN; in pr_header()
H A DMakefile8 MAN= w.1 uptime.1
11 LINKS= ${BINDIR}/w ${BINDIR}/uptime
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-platform-output.c36 double uptime; in TEST_IMPL() local
66 err = uv_uptime(&uptime); in TEST_IMPL()
71 ASSERT(uptime > 0); in TEST_IMPL()
72 printf("uv_uptime: %f\n", uptime); in TEST_IMPL()
/netbsd-src/external/bsd/ipf/dist/perl/
H A Dipf-mrtg.pl19 my $uptime = `/usr/bin/uptime`;
20 $uptime =~ /^\s+(\d{1,2}:\d{2}..)\s+up\s+(\d+)\s+(......),/;
/netbsd-src/usr.bin/vmstat/
H A Dvmstat.c636 time_t uptime, nowsec; in getuptime() local
664 uptime = now.tv_sec - boottime.tv_sec; in getuptime()
665 if (uptime <= 0 || uptime > 60*60*24*365*10) in getuptime()
667 return (uptime); in getuptime()
733 time_t uptime, halfuptime; in dovmstat() local
738 uptime = getuptime(); in dovmstat()
739 halfuptime = uptime / 2; in dovmstat()
797 #define rate(x) (u_long)(((x) + halfuptime) / uptime) /* round */ in dovmstat()
826 uptime = interval->tv_sec; in dovmstat()
831 halfuptime = uptime == 1 ? 0 : (uptime + 1) / 2; in dovmstat()
[all …]
/netbsd-src/external/bsd/top/dist/
H A Ddisplay.c1016 time_t uptime; in i_uptime() local
1020 uptime = *tod - *bt; in i_uptime()
1021 uptime += 30; in i_uptime()
1022 uptime_days = uptime / 86400; in i_uptime()
1023 uptime %= 86400; in i_uptime()
1024 uptime_hours = uptime / 3600; in i_uptime()
1025 uptime %= 3600; in i_uptime()
1026 uptime_mins = uptime / 60; in i_uptime()
1027 uptime_secs = uptime % 60; in i_uptime()
/netbsd-src/external/cddl/dtracetoolkit/dist/
H A Ddexplorer237 uptime > Info/uptime # Load
539 rm Info/uptime
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A Ddexplorer237 uptime > Info/uptime # Load
539 rm Info/uptime
/netbsd-src/external/bsd/top/dist/machine/
H A Dm_aix43.c231 time_t uptime, now; in machine_init() local
268 uptime = times(&tbuf) / HZ; in machine_init()
269 statics->boottime = now - uptime; in machine_init()
/netbsd-src/usr.bin/rump_dhcpclient/
H A Dcommon.h70 time_t uptime(void);
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/sys/
H A Dsysinfo.d19 c_long uptime; /* Seconds since boot */ member

1234