HowtoForge

Making snapshots of the process table shown by the TOP command

To make a snapshot of the current process table, use the following command:

top -n 1 -b > /tmp/processtable.txt

You can now view the textfile with any text editor, e.g. pico or vi.

Making snapshots of the process table shown by the TOP command