top -d 1 -t -m 10 | busybox awk 'NR { printf "%s %s\n", strftime(), $0 ; fflush(stdout) }'
Wed May 15 01:05:33 UTC 2013 User 6%, System 7%, IOW 0%, IRQ 0%
Wed May 15 01:05:33 UTC 2013 User 7 + Nice 0 + Sys 8 + Idle 97 + IOW 0 + IRQ 0 + SIRQ 0 = 112
Wed May 15 01:05:33 UTC 2013
Wed May 15 01:05:33 UTC 2013 PID TID CPU% S VSS RSS PCY UID Thread Proc
Wed May 15 01:05:33 UTC 2013 1901 1901 9% R 1092K 524K fg root top top
Wed May 15 01:05:33 UTC 2013 1417 1417 2% S 231436K 39744K fg app_12 .launcher com.launcher
原文出处:http://unix.stackexchange.com/questions/40106/append-timestamp-to-top-command-output
awk 'NR%13==0 { printf "%d %s\n", systime(), $0 ; fflush(stdout) }'