We use accelerometers in the cabin of a passenger train to monitor the tracks. We impose sparsity in estimating the track profile to make the problem stable. We also estimate the properties of the train from the recorded data. We validate using 2-years of operational train data that we collected in Pittsburgh.