Alfred M. Szmidt wrote:
Cpu(s): 5.7% us, 1.1% sy, 4.9% ni, 87.8% id, 0.4% wa, 0.0% hi,
0.1% si
Ah, why didn't you say so in the first place? :) You could check what
our top does, it is in the hurdextras repository on Savannah in a
module called pptop. But it is still buggy, hasn't b
Cpu(s): 5.7% us, 1.1% sy, 4.9% ni, 87.8% id, 0.4% wa, 0.0% hi,
0.1% si
Ah, why didn't you say so in the first place? :) You could check what
our top does, it is in the hurdextras repository on Savannah in a
module called pptop. But it is still buggy, hasn't been touched in
three yea
Alfred M. Szmidt wrote:
It shows CPU load; which I confused with CPU usage. Do you want the
information that w on GNU/Linux calls for JCPU and PCPU for a single
process? Maybe w and GNU time could be looked at in that case.
I "want" the information that top on GNU/Linux shows in its third line :
I've read its code (along with pptop, vmstat, and w, from which I
took most of the code, or the ideas, anyway). GNU uptime does not
show statistics about CPU usage, as far as I know. Or is it new? (I
can't see it in coreutils CVS)
It shows CPU load; which I confused with CPU usage. Do
Manuel Menal <[EMAIL PROTECTED]> writes:
>> Can't you get it with ifconfig or netstat on GNU/Hurd?
>
> With ifconfig you can't (it only shows what you can get with
> the basic ioctls, that is MTU, address, netmask, broadcast,
> flags, ...). I didn't know of any port of netstat for GNU/Hurd.
I ass
Marco Gerards wrote:
Manuel Menal <[EMAIL PROTECTED]> writes:
Well, it's what you get with ifconfig (or /proc/net/dev) in Linux.
Like, the number of received/sent packets/bytes, errors,
collissions, things like that. Drivers keep count of them already
(rx_errors, rx_bytes, tx_packets, etc.). The c
Manuel Menal <[EMAIL PROTECTED]> writes:
>> I don't know what IP accounting is.
>
> Well, it's what you get with ifconfig (or /proc/net/dev) in Linux.
> Like, the number of received/sent packets/bytes, errors,
> collissions, things like that. Drivers keep count of them already
> (rx_errors, rx_byt
, I've been using libps all through the port. I know it can give a
"CPU usage" info, but libgtop2 wants exactly the user, nice, system,
idle times, but libps does not provide that, AFAICS.
Right, I don't think Mach gives this info. But if you had a task id,
there is a function t
pace, stime spent in
kernel space (_S_yscalls). init_task is the task structure for init.
So that's the total time init is used (so, the idle time). Of course,
this way of computing idle time doesn't seem to be appropriate for
GNU/Hurd, so I've left it unimplemented (which is not very i
- I can't find a way to get statistics about CPU usage
(user/sys/kernel times, etc.), i.e. what you get in /proc/stat
with Linux.
Don't recall of hand, but you could look at see what GNU uptime does
to get that info.
- I did not find a clean way to get the last running PID
driver level, so
> you'd need to add an interface to Mach for that - that should be
> simple since the
> code that fills the /proc entry under Linux is already there.
I don't know what IP accounting is.
> - We can't get the "idle time" along with the
Hi,
I've been working on porting libgtop2 to GNU/Hurd today. I've got it
about half done,
perhaps more (I've got the feeling there's not much we can support in
the remaining
files ;-). The port is not as complete as the Linux version, though:
- I can't find a way to g
12 matches
Mail list logo