Article View: news.software.nntp
Article #40836Re: HELP:migrated to inn2.2.1->lots of bogus newsgroups...
From: Brad Knowles
Date: Thu, 14 Oct 1999 00:00
Date: Thu, 14 Oct 1999 00:00
67 lines
3465 bytes
3465 bytes
In article <7u47ma$mq8$1@erm1.u-strasbg.fr>, bboett@erm1.u-strasbg.fr wrote:
> ehm what's truss?
$ man truss
TRUSS(1) FreeBSD General Commands Manual TRUSS(1)
NAME
truss - trace system calls
SYNOPSIS
truss [-S] [-o file] -p pid
truss [-S] [-o file] command [args]
DESCRIPTION
Truss traces the system calls called by the specified process or program.
Output is to the specified output file, or standard error by default. It
does this by stopping and restarting the process being monitored via
procfs(5).
$ man strace
STRACE(1) STRACE(1)
NAME
strace - trace system calls and signals
SYNOPSIS
strace [ -dffhiqrtttTvxx ] [ -acolumn ] [ -eexpr ] ... [
-ofile ] [ -ppid ] ... [ -sstrsize ] [ -uusername ] [
command [ arg ... ] ]
strace -c [ -eexpr ] ... [ -Ooverhead ] [ -Ssortby ] [
command [ arg ... ] ]
DESCRIPTION
In the simplest case strace runs the specified command
until it exits. It intercepts and records the system
calls which are called by a process and the signals which
are received by a process. The name of each system call,
its arguments and its return value are printed on standard
error or to the file specified with the -o option.
strace is a useful diagnostic, instructional, and debug-
ging tool. System adminstrators, diagnosticians and trou-
ble-shooters will find it invaluable for solving problems
with programs for which the source is not readily avail-
able since they do not need to be recompiled in order to
trace them. Students, hackers and the overly-curious will
find that a great deal can be learned about a system and
its system calls by tracing even ordinary programs. And
programmers will find that since system calls and signals
are events that happen at the user/kernel interface, a
close examination of this boundary is very useful for bug
isolation, sanity checking and attempting to capture race
conditions.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Technical Details
Message-ID:
<brad-1410991157580001@brad.techos.skynet.be>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<7tvgt2$r4k$1@erm1.u-strasbg.fr> <yl4sfwtqiu.fsf@windlord.stanford.edu> <7u1ku9$nlj$1@erm1.u-strasbg.fr> <ylbta3gj8w.fsf@windlord.stanford.edu> <7u47ma$mq8$1@erm1.u-strasbg.fr>Show Full Headers
Complete Article Headers
Message-ID: <brad-1410991157580001@brad.techos.skynet.be> Subject: Re: HELP:migrated to inn2.2.1->lots of bogus newsgroups... Date: Thu, 14 Oct 1999 00:00:00 +0000 From: brad@shub-internet.org (Brad Knowles) References: <7tvgt2$r4k$1@erm1.u-strasbg.fr> <yl4sfwtqiu.fsf@windlord.stanford.edu> <7u1ku9$nlj$1@erm1.u-strasbg.fr> <ylbta3gj8w.fsf@windlord.stanford.edu> <7u47ma$mq8$1@erm1.u-strasbg.fr> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 536598138 X-Complaints-To: abuse@skynet.be X-Trace: news0.skynet.be 939895077 2174 195.238.1.121 (14 Oct 1999 09:57:57 GMT) Organization: Shub-Internet X-URL: http://www.shub-internet.org/ NNTP-Posting-Date: 14 Oct 1999 09:57:57 GMT Newsgroups: news.software.nntp