*BSD News Article 51462


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!news.mindlink.net!van-bc!io.org!news.interlog.com!news
From: Michel Joly de Lotbiniere <mjdl@interlog.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /proc usage problems
Date: 19 Sep 1995 17:33:20 GMT
Organization: None
Lines: 17
Message-ID: <43mut0$pam@steel.interlog.com>
References: <43kt94$lgd@nnrp.cs.ubc.ca>
NNTP-Posting-Host: lotbiniere.interlog.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
To: psmith@cs.ubc.ca
X-URL: news:43kt94$lgd@nnrp.cs.ubc.ca

psmith@cs.ubc.ca (Peter Smith) wrote:
>
> [snip-snip]
>What I'm trying to do is stop and restart a process by writing
>commands to /proc/<pid>/ctl.  I think I've found a bug in the procfs
>code (I've examined the source code), but on the other hand, I might
>just be using it incorrectly. I tried looking at 'gdb', without much 
>success, and 'trace' doesn't appear to exist.
>
ktrace(1) and kdump(1) are supposed to do what (s)trace does on other
Unices.
-- 
=========================
Michel Joly de Lotbiniere
mjdl@interlog.com
=========================