/external/toybox/toys/other/ |
H A D | uptime.c | 0 /* uptime.c - Tell how long the system has been running. 7 USE_UPTIME(NEWTOY(uptime, ">0ps", TOYFLAG_USR|TOYFLAG_BIN)) 10 bool "uptime" 14 usage: uptime [-ps] 19 -p Pretty (human-readable) uptime 41 t -= info.uptime; 51 info.uptime /= 60; 52 minutes = info.uptime%60; 53 info.uptime /= 60; 54 hours = info.uptime [all...] |
/external/iptables/include/linux/ |
H A D | kernel.h | 13 long uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/iproute2/include/uapi/linux/ |
H A D | sysinfo.h | 9 __kernel_long_t uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/kernel-headers/original/uapi/linux/ |
H A D | sysinfo.h | 9 __kernel_long_t uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/strace/tests/ |
H A D | sysinfo.c | 46 printf("sysinfo({uptime=%llu" 59 , (unsigned long long) si->uptime
|
/external/strace/tests-m32/ |
H A D | sysinfo.c | 46 printf("sysinfo({uptime=%llu" 59 , (unsigned long long) si->uptime
|
/external/strace/tests-mx32/ |
H A D | sysinfo.c | 46 printf("sysinfo({uptime=%llu" 59 , (unsigned long long) si->uptime
|
/external/strace/ |
H A D | sysinfo.c | 50 tprintf("{uptime=%llu" 63 zero_extend_signed_to_ull(si.uptime)
|
/external/scapy/scapy/modules/ |
H A D | p0f.py | 316 uptime = None 318 uptime = pkt2uptime(pkt) 321 if uptime == 0: 322 uptime = None 324 if uptime is not None: 325 res += pkt.sprintf(" (up: " + str(uptime/3600) + " hrs)\n -> %IP.dst%:%TCP.dport% (%TCP.flags%)") 351 extrahops=0, mtu=1500, uptime=None): 455 if uptime is not None: 456 ts_a = uptime
|
/external/ltp/testcases/kernel/syscalls/sysinfo/ |
H A D | sysinfo01.c | 127 printf("uptime %lu\n", sys_buf->uptime);
|
/external/iproute2/misc/ |
H A D | rtacct.c | 579 long uptime = -1; local 581 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 582 if (fscanf(tfp, "%ld", &uptime) != 1) 583 uptime = -1; 587 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
H A D | nstat.c | 682 long uptime = -1; local 684 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 685 if (fscanf(tfp, "%ld", &uptime) != 1) 686 uptime = -1; 689 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
H A D | ifstat.c | 968 long uptime = -1; local 970 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 971 if (fscanf(tfp, "%ld", &uptime) != 1) 972 uptime = -1; 975 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
/external/toybox/toys/lsb/ |
H A D | dmesg.c | 125 TT.tea = time(0)-info.uptime;
|
/external/autotest/client/site_tests/platform_BootPerf/ |
H A D | platform_BootPerf.py | 101 _UPTIME_PREFIX = 'uptime-' 141 /proc/uptime ("uptime-" files) or /sys/block/<dev>/stat 146 The given event file can contain either uptime or disk data. 303 # Not all 'uptime-network-*-ready' files necessarily exist; 360 /proc/uptime). The input values `t0` and `t1` are two 439 with open('/proc/uptime') as uptime_file: 440 uptime = float(uptime_file.readline().split()[0]) 444 boot_t0, boot_t1, uptime)
|
/external/nos/host/android/citadel/validation/ |
H A D | citadel_validation_tool.cpp | 289 const auto uptime = std::chrono::microseconds(cycles); local 292 if (uptime > limit) { 293 LOG(ERROR) << "Uptime is " << uptime.count()
|
/external/dhcpcd-6.8.2/ |
H A D | common.h | 186 time_t uptime(void);
|
H A D | common.c | 300 uptime(void) function
|
H A D | ipv4ll.c | 177 up = uptime();
|
H A D | dhcp6.c | 312 up = uptime() - state->start_uptime; 1243 state->start_uptime = uptime(); 1384 state->start_uptime = uptime(); 1550 state->start_uptime = uptime(); 1582 state->start_uptime = uptime(); 1627 state->start_uptime = uptime();
|
/external/toybox/ |
H A D | Android.mk | 142 toys/other/uptime.c \ 387 uptime \
|
/external/tcpdump/ |
H A D | print-sflow.c | 50 * | Switch uptime in ms | 63 uint8_t uptime[4]; member in struct:sflow_datagram_t 907 ND_PRINT((ndo, "sFlowv%u, %s agent %s, agent-id %u, seqnum %u, uptime %u, samples %u, length %u", 913 EXTRACT_32BITS(sflow_datagram->uptime),
|
/external/wpa_supplicant_8/hostapd/src/radius/ |
H A D | radius_server.c | 1906 int ret, uptime; local 1921 uptime = (now.sec - data->start_time.sec) * 100 + 1929 uptime);
|
/external/wpa_supplicant_8/src/radius/ |
H A D | radius_server.c | 1906 int ret, uptime; local 1921 uptime = (now.sec - data->start_time.sec) * 100 + 1929 uptime);
|
/external/wpa_supplicant_8/wpa_supplicant/src/radius/ |
H A D | radius_server.c | 1906 int ret, uptime; local 1921 uptime = (now.sec - data->start_time.sec) * 100 + 1929 uptime);
|