diff options
author | Christopher Faylor <me@cgf.cx> | 2000-11-19 04:55:49 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-11-19 04:55:49 +0000 |
commit | 04979a0fc382146a2a7f64e57aa6521155773e12 (patch) | |
tree | 2f82dad94804465cfb6544b6dd1a9e3b1369c3e4 /winsup/utils/utils.sgml | |
parent | 9f7bdd2b5833a1c5b7fdece79c4366f68f3c8657 (diff) | |
download | newlib-04979a0fc382146a2a7f64e57aa6521155773e12.zip newlib-04979a0fc382146a2a7f64e57aa6521155773e12.tar.gz newlib-04979a0fc382146a2a7f64e57aa6521155773e12.tar.bz2 |
* utils.sgml: Document new options for ps and strace.
Diffstat (limited to 'winsup/utils/utils.sgml')
-rw-r--r-- | winsup/utils/utils.sgml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml index 6eadafe..e59c125 100644 --- a/winsup/utils/utils.sgml +++ b/winsup/utils/utils.sgml @@ -521,10 +521,12 @@ find <filename>mtpt</filename>. <screen> Usage ps [-aefl] [-u uid] + -a, -e show processes of all users -f show process uids, ppids -l show process uids, ppids, pgids, winpids - -u uid list processes owned by uid - -a, -e show processes of all users + -s short process listing + -u uid show processes owned by uid + -W show all windows processes, not just cygwin processes </screen> <para>The <command>ps</command> program gives the status of all the @@ -571,11 +573,14 @@ table.</para> <screen> 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) +-n convert Win32 error messages to text -o output-file output file to hold strace events (default stderr) -f follow forked subprocesses --t convert Win32 error messages to text --s remove mount point from system-wide registry location +-u include time in usecs since start for each line (default) </screen> <para>The <command>strace</command> program executes a program, and @@ -590,7 +595,7 @@ reported. The valid bits to set are as follows: <screen> Bit Explanation 0x00000001 All strace output is collected -0x00000002 Unusual or weird phenomenon +0x00000008 Unusual or weird phenomenon 0x00000010 System calls 0x00000020 argv/envp printout at startup 0x00000040 Information useful for DLL debugging |