[Kde-hardware-devel] Examples

Michael Olbrich michael-olbrich at web.de
Mon Sep 4 11:21:19 CEST 2006


Hi,

On Mon, Sep 04, 2006 at 08:40:20AM +0200, Karlos wrote:
> Here is a pair of examples of cpu monitoring capabilities.

I've played with the linux code a bit. A few comments:

- a string argument without a maximum field width is no good idea:
  use "%9s ...." in the format string.
- you need to check if cpu_name starts with "cpu"

michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20060904/6d4ca648/attachment.pgp 


More information about the Kde-hardware-devel mailing list