Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: tesno@ksylitol.vaala.fi (Heikki Virkkunen)
Subject: loadmeter
Date: 1997/07/20	[thread overview]
Message-ID: <slrn5t49fg.402.tesno@ksylitol.vaala.fi> (raw)


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 *




                 reply	other threads:[~1997-07-20  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox