LCDproc development and user support list

Text archives Help

[Lcdproc] CPU load

Chronological Thread 
  • From: lcd AT (Edoardo Serra)
  • Subject: [Lcdproc] CPU load
  • Date: Sun Dec 2 02:00:02 2001

At 19.35 01/12/2001 +0100, David GLAUDE Mailing wrote:
>Send us (the mailing list) "" that's the only thing we don't know


use IO::Socket;
use Fcntl;

$remote = IO::Socket::INET->new(
Proto => "tcp",
PeerAddr => "localhost",
PeerPort => "13666",

`sleep 1`; # Give server plenty of time to notice us...

print $remote "hello\n";

my $lcdconnect = <$remote>;

fcntl($remote, F_SETFL, O_NONBLOCK);

print $remote "client_set name {check}\n";
print $remote "screen_add check\n";
print $remote "screen_set check 128 name {XXXX}\n";
print $remote "widget_add check title title\n";
print $remote "widget_set check title {XXXXXXXXXXXXXXXX}\n";
print $remote "widget_add check one string\n";
print $remote "widget_add check two string\n";
print $remote "widget_add check three string\n";
print $remote "widget_set check one 1 2 {xxxxxxxxxxx}\n";

[.... nothing related to LCDd ...]

while (1) {
[.... nothing related to LCDd ...]

print $remote "widget_set check two 1 3 {XXXXXXXXXXx}\n";
print $remote "widget_set check three 1 4 {$lcdstring}\n";
sleep 5;

As you can see the client connects to LCDd then goes in a loop
and every 5 seconds it sends a string to lcdd updating the screen

Do you see any problem??

>Can you reproduce this with only lcdproc and LCDd (without

LCDd has been running for 13 hours with lcdproc only and it didn't give the

>Can you reproduce with only


>Can you reproduce it with two copy of lcdproc or


Tnx a lot
Edoardo Serra

>LCDproc mailing list
>LCDproc AT

Archive powered by MHonArc 2.6.18.

Top of page