Measurements on hadron production in proton-proton collisions with the ATLAS detector