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*

6
  • 1
    will ps always output the columns in the way you expect sort to see/process them? Commented Aug 13, 2015 at 2:34
  • Depends on which version of ps Commented Aug 13, 2015 at 4:04
  • 3
    A ... | less is a good advice but sometimes your process has a huge command line and it clutters the output. In such cases ... | less -S works better. Commented Nov 17, 2016 at 23:54
  • 1
    @waste - good tip, just remember that -S truncates and so you may lose some of what you want to see, but otherwise good advice if you're only interested the left most columns. Commented Nov 18, 2016 at 2:54
  • @slm I am not sure that is the case for less -S. When you close less view everything disappears, but as long as you are in the view, you can scroll vertically but also horizontally. Copying might be difficult, though. Commented Nov 18, 2016 at 3:03