* utils.sgml: Document new options for ps and strace.

This commit is contained in:
Christopher Faylor 2000-11-19 04:55:49 +00:00
parent 9f7bdd2b58
commit 04979a0fc3
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,7 @@
Sat Nov 18 23:53:59 2000 Christopher Faylor <cgf@cygnus.com>
* utils.sgml: Document new options for ps and strace.
Wed Nov 8 08:49:27 2000 Jason Tishler <jt@dothill.com> Wed Nov 8 08:49:27 2000 Jason Tishler <jt@dothill.com>
* mount.cc (main): Call show_cygdrive_info instead of * mount.cc (main): Call show_cygdrive_info instead of

View File

@ -521,10 +521,12 @@ find <filename>mtpt</filename>.
<screen> <screen>
Usage ps [-aefl] [-u uid] Usage ps [-aefl] [-u uid]
-a, -e show processes of all users
-f show process uids, ppids -f show process uids, ppids
-l show process uids, ppids, pgids, winpids -l show process uids, ppids, pgids, winpids
-u uid list processes owned by uid -s short process listing
-a, -e show processes of all users -u uid show processes owned by uid
-W show all windows processes, not just cygwin processes
</screen> </screen>
<para>The <command>ps</command> program gives the status of all the <para>The <command>ps</command> program gives the status of all the
@ -571,11 +573,14 @@ table.</para>
<screen> <screen>
Usage strace [-m mask] [-o output-file] [ft] program [args...] Usage strace [-m mask] [-o output-file] [ft] program [args...]
-b n use buffer of size 'n' when writing output file
-d include delta time in usecs for each line (default)
-f follow all forks and execs
-m mask mask for reporting cygwin events (default 1) -m mask mask for reporting cygwin events (default 1)
-n convert Win32 error messages to text
-o output-file output file to hold strace events (default stderr) -o output-file output file to hold strace events (default stderr)
-f follow forked subprocesses -f follow forked subprocesses
-t convert Win32 error messages to text -u include time in usecs since start for each line (default)
-s remove mount point from system-wide registry location
</screen> </screen>
<para>The <command>strace</command> program executes a program, and <para>The <command>strace</command> program executes a program, and
@ -590,7 +595,7 @@ reported. The valid bits to set are as follows:
<screen> <screen>
Bit Explanation Bit Explanation
0x00000001 All strace output is collected 0x00000001 All strace output is collected
0x00000002 Unusual or weird phenomenon 0x00000008 Unusual or weird phenomenon
0x00000010 System calls 0x00000010 System calls
0x00000020 argv/envp printout at startup 0x00000020 argv/envp printout at startup
0x00000040 Information useful for DLL debugging 0x00000040 Information useful for DLL debugging