Brandon Mesa
09/22/2022, 9:14 PMsharvil
09/22/2022, 9:18 PM.timer
mode in osqueryi
— gives a rough of time for that executionosquery> .timer on
osquery> select count(*) from system_info;
+----------+
| count(*) |
+----------+
| 1 |
+----------+
Run Time: real 5.009 user 0.001115 sys 0.001575
Brandon Mesa
09/22/2022, 9:19 PMsharvil
09/22/2022, 9:26 PMtime
on the shell?
time -l -h -p osqueryi "select count(*) from time"
+----------+
| count(*) |
+----------+
| 1 |
+----------+
real 0.23
user 0.02
sys 0.00
17383424 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
1240 page reclaims
0 page faults
0 swaps
0 block input operations
0 block output operations
0 messages sent
0 messages received
0 signals received
0 voluntary context switches
30 involuntary context switches
168702391 instructions retired
51734903 cycles elapsed
5424192 peak memory footprint