All generators in motorhomes are equipped with an hour meter.  Some have interior displays that can be viewed, others have the meter display on the unit.  Check your RV generator owner’s manual for specifics on your unit.