[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket s
From: |
Jan-Henrik Haukeland |
Subject: |
Re: NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket support added] |
Date: |
07 Aug 2002 23:03:06 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) |
Christian Hopp <address@hidden> writes:
> The source of the procps tools is more interesting. And for Solaris
> there is nothing better then proc's man page. By the way, Solaris
> has a really good and developer friendly procfs.
>
> I have already solaris code working to find out its status
> (cpu+mem+zombie?). For Linux I just got "zombie?" working. Linux's
> proc is a real pain in the ****. Maybe it's user friendly. But if
> you wanna read it reliable with C that its awful. Linux also does not
> provide any possibility to measure the "cpu percentage" of a task
> directly. So I gonna measure each cycle and calculate the difference
> between the cylces. Linux uses it's obscure "jiffies". As far as I
> know right now a jiffie is something between nothing and forever
> (precise "usually 1/100 s except for alpha systems there it is 1/1024
> seconds). But it's going on. I gonna try to keep the information to
> a little key values (mem, cpu incl. children, status ->[ zombie,
> stopped, halted, running]).
This is just excellent, great stuff! This may be a big patch so let us
know if you need any help! It would also be great if we could support
FreeBSD, it looks like BSD also use /proc. But we can take that later
when you get the proc status sub-system ready. Can't wait to look at
the code :)
--
Jan-Henrik Haukeland
- Re: [CVS] unix socket support added, (continued)
- Re: [CVS] unix socket support added, Christian Hopp, 2002/08/05
- Re: [CVS] unix socket support added, Jan-Henrik Haukeland, 2002/08/05
- Re: [CVS] unix socket support added, Christian Hopp, 2002/08/05
- Re: [CVS] unix socket support added, Jan-Henrik Haukeland, 2002/08/05
- NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket support added], Christian Hopp, 2002/08/05
- Re: NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket support added], Jan-Henrik Haukeland, 2002/08/05
- Re: NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket support added], Christian Hopp, 2002/08/06
- Re: NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket support added], rory, 2002/08/06
- Re: NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket support added], Jan-Henrik Haukeland, 2002/08/06
- Re: NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket support added], Christian Hopp, 2002/08/07
- Re: NFS is going down, et al [was: pidfiles aka. Re: [CVS] unix socket support added],
Jan-Henrik Haukeland <=