2 #include <sys/sysinfo.h>
11 if (!umove_or_printaddr(tcp, tcp->u_arg[0], &si)) {
12 tprintf("{uptime=%llu"
13 ", loads=[%llu, %llu, %llu]"
25 (unsigned long long) si.uptime
26 , (unsigned long long) si.loads[0]
27 , (unsigned long long) si.loads[1]
28 , (unsigned long long) si.loads[2]
29 , (unsigned long long) si.totalram
30 , (unsigned long long) si.freeram
31 , (unsigned long long) si.sharedram
32 , (unsigned long long) si.bufferram
33 , (unsigned long long) si.totalswap
34 , (unsigned long long) si.freeswap
36 , (unsigned long long) si.totalhigh
37 , (unsigned long long) si.freehigh