From: Michael R. <re...@eu...> - 2005-01-06 17:06:21
|
Hi Zsolt, > I tried to switch to a new lcd4linux. I checked out source from cvs at > 30/12/2004. I cleaned the sample config file to include used lines only. > I display only a few things like system date/time, uptime, network > traffic. I would like to display ppp traffic but when I insert the ppp > widget to the default layout, system load grows up quickly. > I didn't change anything in the sample config around ppp widget. > What should I do to eliminate this high load? You are right, the PPP plugin is far from optimal regarding CPU usage. I don't remember exactly, but I think the system call is quite cpu-intensive. But the PPP plugin should be considered obsolete. Use the netdev-plugin instead, and specify 'ppp' as a device. Example: netdev('ppp0', 'Rx_bytes', 500) This plugin parses /proc/net/dev, and is quite fast! HTH, Michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |