As log-files are usually deleted after some time, the total up-time is difficult to get.
If the hard disk is as old as the PC, the RAW value (last number) of
smartctl -a /dev/sda | grep Power_On_Hours
could give a rough estimate how many hours the PC was used.