Diomidis Spinellis
ee3b0f6e2e
Add -c option to summarize number of calls, errors, and system time.
...
Reviewed by: alfred
2009-05-12 20:42:12 +00:00
Tom Rhodes
a88e970c56
Attaching to the init process returns EINVAL,
...
so give an example that is more likely to work.
Stolen from the ktrace(1) manual page.
PR: 128222
Submitted by: Mateusz Guzik <mjguzik@gmail.com>
2009-01-23 00:58:14 +00:00
Giorgos Keramidas
42aff2e46d
Remove duplicate ' 2' manpage section number.
...
Submitted by: Rui Paulo
MFC after: 3 days
2007-05-21 20:33:51 +00:00
Xin LI
5d2d083c92
Make use of ptrace(2) instead of procfs in truss(1), eliminating
...
yet another need of an available /proc/ mount.
Tested with: make universe
Submitted by: howardsu
Reviewed by: alfred
2007-04-10 04:03:34 +00:00
Ruslan Ermilov
353067fc31
Add missing markup bits.
2006-12-11 11:34:44 +00:00
Ruslan Ermilov
cb29445a92
Markup fixes.
2006-09-29 15:20:48 +00:00
Brian Somers
0cf21b4f58
Add a -s flag for the same functionality as strace. Introduce a Name
...
type which is a String type that has no -s limitations applied to it.
Change most Strings in the code to Names and add a few extra syscalls,
namely munmap, read, rename and symlink. This was enough to facilitate
following file descriptor allocations in the code more easily and
getting a hint at what's being read/written from/to files. More
syscalls should really be added.
While here, fix an off-by-one bug in the buffer truncation code and
add a fflush so that truss's output reflects the syscall that the
program is stuck in.
Sponsored by: Sophos/Activestate
MFC after: 2 weeks
2006-01-02 08:36:25 +00:00
Giorgos Keramidas
6fb9b618f5
Fix all the spelling mistakes I could find in the man pages for words
...
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
2005-07-31 03:30:48 +00:00
Dima Dorfman
399f52f868
Improve markup and language.
2004-09-07 13:22:28 +00:00
Alfred Perlstein
18858a0704
Update doc dates.
...
Pointed out by: ru
2004-09-03 18:56:59 +00:00
Alfred Perlstein
4bcd2254f3
xref and give a hint as to what procctl can be used for.
2004-09-03 17:52:55 +00:00
Ruslan Ermilov
06e482e60a
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 17:33:37 +00:00
Matthew N. Dodd
9897b20356
Add options to print the argument and environment string parameters to
...
execve().
This could be done in a more general manner but it still wouldn't
be very pretty.
MFC after: 3 weeks
2002-08-04 02:24:21 +00:00
Matthew N. Dodd
0d0bd00edd
Add options to print absolute and relative timestamps.
...
PR: bin/25587 (in part)
MFC after: 3 weeks
2002-08-04 01:27:31 +00:00
Matthew N. Dodd
c03bfcc871
Allow tracking fork()ed children.
...
PR: bin/25587 (in part)
MFC after: 3 weeks
2002-08-04 01:02:52 +00:00
Philippe Charnier
e8937ba009
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
625003720a
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
Ruslan Ermilov
9b88faecd3
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
Ruslan Ermilov
d7b336c076
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:47:53 +00:00
Ruslan Ermilov
8fe908ef0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
Mike Pritchard
f3c2973db7
Fxi various man pages to stop abusing the .Bx macro to generate
...
the string "FreeBSD". Use the .Fx macro instead. Also did some
minor re-wording/formatting to work around a deficiency with
the .Fx macro when it comes to puncuation characters other than
periods and commas.
2000-01-23 01:48:16 +00:00
Mike Pritchard
49364d3cb3
Add $FreeBSD$ lines to man pages that are missing them to make it
...
easier for translation teams.
PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>
1999-08-28 23:23:38 +00:00
Philippe Charnier
3cf51049e0
Sort Xrefs. Use err(3). Remove uneeded #include.
...
Correct usage: one of {-p pid, command} is required.
Open output file when command line is fully analyzed: incorrect `truss -o f'
command does not create an empty file anymore.
1998-01-05 07:30:26 +00:00
Peter Wemm
f8d795fb89
s/ps/truss/
1997-12-07 08:19:13 +00:00
Sean Eric Fagan
bbeaf6c0c9
Truss program. Requires procfs.
1997-12-06 05:23:12 +00:00