From 04979a0fc382146a2a7f64e57aa6521155773e12 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 19 Nov 2000 04:55:49 +0000 Subject: * utils.sgml: Document new options for ps and strace. --- winsup/utils/ChangeLog | 4 ++++ winsup/utils/utils.sgml | 15 ++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'winsup') diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index f573710..1c74fa0 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +Sat Nov 18 23:53:59 2000 Christopher Faylor + + * utils.sgml: Document new options for ps and strace. + Wed Nov 8 08:49:27 2000 Jason Tishler * mount.cc (main): Call show_cygdrive_info instead of 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 mtpt. 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 The ps program gives the status of all the @@ -571,11 +573,14 @@ table. 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) The strace program executes a program, and @@ -590,7 +595,7 @@ reported. The valid bits to set are as follows: 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 -- cgit v1.1