/tmp > time sh lid-orig.sh > out1 sh lid-orig.sh > out1 1,21s user 2,20s system 18% cpu 18,594 total /tmp > time sh lid.sh > out2 sh lid.sh > out2 0,01s user 0,02s system 42% cpu 0,068 total /tmp > diff out1 out2 /tmp >
journalctl -b MESSAGE='Lid closed.' -o export | grep SOURCE_REALTIME_TIMESTAMP | while read line do let "result=${line/_SOURCE_REALTIME_TIMESTAMP=/} / 1000000" echo $result 0 done Use perf, Luke :) _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel