[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: TimeMon 4.0 ported to GNUstep
From: |
Chris Vetter |
Subject: |
Re: ANN: TimeMon 4.0 ported to GNUstep |
Date: |
Tue, 25 Jan 2005 16:18:27 +0100 (MET) |
> > The problem is most likely that it can't read the /proc/stat file. Are
> > you
> Yup, I dont have such a thing. There is a /proc on FreeBSD 4.X but that
As I said before: Using /proc to read system stati is evil_TM.
There are standard library calls that will give the same functionality,
after all.
Almost every UNIX I know of has /proc, but each implementation differs, eg.
Solaris, AIX and HP/UX (bless you) use binary, not textual, files.
So, I say again: using /proc is evil_TM.
> will be going away in FreeBSD 5.X
Correct, it's gone.
> > If you let me know what OS you are using, I will try to implement an
> > appropriate way to get the CPU stats.
> Thanks, that wold be great - i could probably help if I knew
> what stats you were after. There has to be an API for them
> somewhere. The OS is FreeBSD, and it shoul.d really be done in
> a /proc-less way if possible.
man systat and/or
man libkvm or
man kvm
depending on the system you're using. At least BSD'ish systems
support kvm, Solaris included.
> BTW why the #import warnings though ?
Because #import support was supposed to "go away" in GCC 3.somthing.
--
Chris
--
GMX im TV ... Die Gedanken sind frei ... Schon gesehen?
Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot
- ANN: TimeMon 4.0 ported to GNUstep, Gregory John Casamento, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Pete French, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Gregory John Casamento, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Pete French, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep,
Chris Vetter <=
- Re: ANN: TimeMon 4.0 ported to GNUstep, Gregory John Casamento, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Pete French, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Alexander Malmberg, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Chris Vetter, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Pete French, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Frederik Harwath, 2005/01/25
- Re: ANN: TimeMon 4.0 ported to GNUstep, Rogelio M . Serrano Jr ., 2005/01/25