Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 1999 15:37:52 +0100
From:      Dom Mitchell <Dom.Mitchell@palmerharvey.co.uk>
To:        adrian@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: nice little kernel task for somebody 
Message-ID:  <E10ah5V-000Da6-00@voodoo.pandhm.co.uk>
In-Reply-To: adrian@freebsd.org's message of "Fri, 23 Apr 1999 21:45:06 %2B0800" <19990423134507.14955.qmail@ewok.creative.net.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 April 1999, adrian@freebsd.org proclaimed:
> Dom Mitchell writes:
> >What we really need are some tools similiar to solaris' /usr/proc/bin
> >stuff.  http://www.sunworld.com/swol-04-1999/swol-04-supersys.html
> >Sadly, the ability to do this lies well outside my meagre coding
> >knowledge.
> 
> A few of those utilities are avaliable right now (hell, I even wrote
> a pstree command to get a process tree listing a few months ago when
> I started messing about with procfs, but its rather crude atm), along
> with pcred, pflags, pgrep, plimit with what I've just written,
> and with a little magic, pmap, ptime, and the rest of them.

I actually find these little tools to be very useful indeed.  They make
investigating rogue daemons and suchlike far easier.  And pmap is
wonderful for working out how much memory something is really taking up,
in detail.

> But we'd need to extend our procfs just a little bit to work real
> magic (like say, proc-ps / proc-top), and I'm not prepared to
> start messing around with it in a big way, but if people are interested
> in a bunch of utilities like the sun /usr/proc/bin/ utilities, 
> I might go ahead and write some.

Well, I'd certainly be very grateful!  Sign me up for testing your
patches...

As for making ps totally proc aware, I'm not totally sure that's the way
to go.  I shall have to have a look through the archives though; I've a
feeling that this has been discussed before...
-- 
Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator

	"Value of 2 may go down as well as up"
		-- FORTRAN programmers manual 
-- 
**********************************************************************
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please notify 
the system manager.

This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
**********************************************************************


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E10ah5V-000Da6-00>