Tente passar a opção -b para o início. Do manual:
b Batch mode. Useful for sending output from top to other programs or to a file. In this mode, top will
not accept command line input. It runs until it produces the number of iterations requested with the n
option or until killed. Output is plain text suitable for display on a dumb terminal.