Date: Mon, 19 Oct 1998 12:06:30 +0200 From: Philippe Regnauld <regnauld@deepo.prosa.dk> To: current@FreeBSD.ORG Subject: truss && init Message-ID: <19981019120630.61686@deepo.prosa.dk>
next in thread | raw e-mail | index | archive | help
1) On 3.0-R (and -current from a week ago), the ktrace(1) man page
mentions:
-p pid Enable (disable) tracing on the indicated process id (only one -p
flag is permitted).
For fun, I decided to try:
ktrace -p 1
... and it works: every time I kill some random getty, the getty
is respawned and the relevant stuff is logged in ./ktrace.out.
However, subsequent invokations of "ktrace -p 1" do NOT turn
off the tracing (it only resets the ktrace.out file, and
logging continues).
Only way out -> reboot or symlink to /dev/null (haven't tried) otherwise
you risk filling the disk.
2) Still on 3.0-R, truss(1) mentions:
# Follow an already-running process
$ truss -p 1
... and that works, though on a recent -current (~1 week ago),
it hung my machine. Will try to reproduce.
--
-[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]-
The Internet is busy. Please try again later.
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?19981019120630.61686>
