US industrial production eked out a 0.1% gain in August after falling 0.4% in July, the Federal Reserve reported on Tuesday.