Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* loadmeter
@ 1997-07-20  4:00 Heikki Virkkunen
  0 siblings, 0 replies; only message in thread
From: Heikki Virkkunen @ 1997-07-20  4:00 UTC (permalink / 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 *




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-07-20  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-20  4:00 loadmeter Heikki Virkkunen

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