scripting for wvdial for dial-up

:cool:is there a way to script wvdail to save in a file the speed of the dailup and the time
spent online, to be looked at later to compare what ISP's says?????