Jacob Tomlinson 6/4/2013

Sort top command by cpu usage and set to default in OS X

Read Original

This article addresses a difference between Linux and OS X command line behavior, specifically the `top` command's default sorting. It provides a step-by-step guide to create a shell alias (`alias top="top -o cpu"`) in the `.profile` file to make CPU usage the default sort order, saving users from typing extra parameters each time. It also mentions the alternative of using `htop`.

Sort top command by cpu usage and set to default in OS X

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week