3

I assume this occurs in more terminal functions than just top. Is there a way to view the information without resizing the console window? I currently have my console window set to open at 80x24, which is far too short in both columns and rows to display all the information.

  • patrix answer is spot on. I highly recommend htop. It's available in MacPorts and other alt package managers. It's colorized and is packed with view options. It resizes based on your window and allows scrolling in the vertical an horizontal directions. You'll never you top again :) – ephsmith Sep 2 '12 at 19:00
1

You can select the columns you want to display with -stats:

top -stats pid,cpu,command

See man top for a full list of available columns (listed under -o), the most interesting ones probably are

  • pid: Process ID
  • command: The name of the command
  • cpu: CPU usage
  • time: Execution time
  • vsize: Total memory size
  • state: Process state
  • uid: User ID (or user for user name)
  • At the risk of being redundant here, is there no native scrolling support in terminal for either axis to handle overflow content? I dont want to sound ungrateful either. I definitely appreciate the alternate methods for achieving the end-result in top, I could easily see the same scenario occur in other functions. – visyoual Oct 2 '12 at 2:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .