I meant to change every space to newline, to only get the last word in the file. But my code was incorrect, changing newlines to spaces instead of the other way around.
mpstat 1 2 | tr ' ' '\n' | tail -n 1
If you need the last word of every line, try something like this:
Then use head/tail/grep to skip the lines you dont want.