Once upon a time, Ziga Mahkovec <ziga.mahkovec(a)klika.si> said:
1. I modified the boot procedure so that early in rc.sysinit, a tmpfs
is
mounted and top is run in batch mode (to output every 0.2 seconds). The
logged output is later parsed only up to the point where gdmgreeter is
running and the system is relatively idle (i.e. boot complete and ready
for login).
It would probably be easier (and more accurate) to use process
accounting to gather the data. You could add it at the beginning of
rc.sysinit and turn if off in rc.local.
--
Chris Adams <cmadams(a)hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.