Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • so if i want to add a column in non interactive mode. say i want to add swap usage by process how do i do that ? usually in interactive mode this is what i do : shift + f ----> press p ---> hit enter. Commented Jun 21, 2017 at 13:49
  • 2
    For completeness, answering Sagar's question: When running top in interactive mode you can choose columns and orderings, then press "W" to save $HOME/.toprc . This file will be read in next calls to "top", be interactive or not. Simply remove that file to return to defaults. Regards, /Angel Commented Dec 1, 2017 at 11:22