From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,4dbc6e16f0d5867c,start X-Google-Attributes: gid111c93,public From: tesno@ksylitol.vaala.fi (Heikki Virkkunen) Subject: loadmeter Date: 1997/07/20 Message-ID: #1/1 X-Deja-AN: 258452195 Organization: Kolumbus Information Network, Finnet Group Reply-To: tesno@pato.vaala.fi Newsgroups: comp.os.linux.alpha Hi. I found a very nice little loadmeter that i've been looking for a long time, but when it tried to compile it, i received an error: getinfo.c: In function `GetDiskUsage': getinfo.c:120: storage size of `buf' isn't known getinfo.c:120: warning: unused variable `buf' getinfo.c:122: warning: `kb' might be used uninitialized in this function At the moment i'm running that loadmeter with em86, but 3.5 megs mem seems to be too much for loadmeter :) I asked the author what's wrong here, and he told me next: Someone else running Linux on a Alpha had this error too...he found the fix but I cant remember what it was...but basically you need to include the header file that has the 'statfs' structure in it. The manpage for statfs() should have which one you need. Unfortunately, I don't know C. And i'm beginning to think that I should learn. _quick_ :) My question is, has anyone gotten this nice little loadmeter to compile, and if so, would he mail me the binary? you can find this meter at : http://www.zip.com.au/~bb/linux/ Thanks in advance :) * Heikki Virkkunen | URL: http://www.vaala.fi/~tesno | tesno@pato.vaala.fi * * Vita est nihil. Terra est nihil. Omnis est nihil | Powered by DEC Alpha *