0
Using Geektool I want to output some of the stats that top
spits out on my desktop, but not all of them. Rather than calling top | grep "Line_I_want_to_spit_out"
for each different line I want it to show(resulting in 5-6 separate calls to top), is it possible to just call top once and select the lines I want it to show? (ex. show Processes, CPU usage, PhysMem, and the top 10 processes ordered by cpu)
Which lines do you want to display? – Dennis – 2013-02-13T20:55:55.123
Processes, CPU usage, PhysMem, Networks and 10 processes ordered by cpu usage – flapjacks – 2013-02-13T21:15:59.740
On the command line,
top | grep PATTERN
keeps refreshing, rather than just producing a single static output. Is this what you want? (I'm not familiar with Geektool.) – Dennis – 2013-02-13T21:22:13.080