A linear actuator comprises a reversible electric motor (2) which, via a transmission, is capable of driving a spindle (4) having a spindle nut (5) secured against rotation and comprises a power supply and a controller. The actuator moreover comprises a memory unit for collecting at least one set of data from the operation, indicating how long and how hard the actuator has worked. It is hereby possible to obtain an overview of the mechanical state of the actuator and thereby prevent unfortunate occurrences and accidents as a consequence of wear-out of the actuator.