awk not only knows $1, $2 etc. to address the n-th column, but also $NF to address the last column (in this case, 10 and 80). The second command utilises printf rather than print to spit out everything in one line (observe the missing newline at the end). The third command avoids using cat.

which reads the file line by line, mangles the line variable by deleting the largest matching pattern from the left (in this case: everything up to :) and passing it to printf, which then proceeds to format it. I added echo at the end to get a final newline :)

I think the OP meant that he wants to see the correlating performance data in one line, like 10 80 (though it's hard to guide somebody when he doesn't specify, where he wants to get)
–
ppeterkaOct 21 '12 at 18:36