Re: [dwm] bold in status text

From: Ross Mohn <rpmohn_AT_waxandwane.org>
Date: Thu, 24 Aug 2006 09:10:55 -0400

On Thu, 2006-08-24 at 07:45 -0500, Kurt Maier wrote:
> > Alexander:
> > Is conky resource-friendly?
>
> to be honest, I used to have a bash script that did similar things to
> get the readout I posted earlier. The reason I switched to conky is
> because I felt that a single compiled program would probably be a
> little more resource-friendly that spawning a million bash, sed, and
> awk processes every five seconds. ;)
>
> Turns out, after a little testing on my PIII 1.2 GHz, there's not a
> huge amount of difference in resource-usage either way.

Speaking of resources, I wonder how the resource requirements of these
two statements compare? They both give the same result. How would I test
this?

uptime | sed 's/.*: //; s/,//g'
cat /proc/loadavg | sed 's/ [0-9]*\/.*//'

-RPM
Received on Thu Aug 24 2006 - 15:11:00 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:27 UTC