|
|
Dramatically reduce the CPU usage of 'top'
Because plain "top" has to refresh as fast as it can, of course the CPU is hogged. If you use even top -s2 the cpu usage drops dramatically. Personally I just use top -us2 and that lowers the apparent cpu usage a lot.
Dramatically reduce the CPU usage of 'top'
Sort of off this topic a bit . . . but since robg talked about aliasing it in his .tcshrc file it's sort of on topic.
Dramatically reduce the CPU usage of 'top'
Actually no, top is not refreshing as fast as it can. From the top(1) man page: "The default delay between updates is 1 second." (You can easily verify this is true by just running top while looking at the clock.) Moreover, as has been noted, on virtually every other operating system top takes less than 1% (and usually around .1%) of the CPU. There is definitely something strange about Mac OS X and its top command.
Dramatically reduce the CPU usage of 'top'
What's odd is that this command, in Mac OS X: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|