ps man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

PS(1)				    CYGWIN				 PS(1)

NAME
	- Report process status

SYNOPSIS
       ps [-aefls] [-u UID]

OPTIONS
       -a, --all
	      show processes of all users

       -e, --everyone
	      show processes of all users

       -f, --full
	      show process uids, ppids

       -h, --help
	      output usage information and exit

       -l, --long
	      show process uids, ppids, pgids, winpids

       -p, --process
	      show information for specified PID

       -s, --summary
	      show process summary

       -u, --user
	      list processes owned by UID

       -v, --version
	      output version information and exit

       -W, --windows
	      show windows as well as cygwin processes

       With no options, ps outputs the long format by default

DESCRIPTION
       The  ps program gives the status of all the Cygwin processes running on
       the system (ps = "process status").  Due to the limitations of simulat‐
       ing  a  POSIX environment under Windows, there is little information to
       give.

	The PID column is the process ID you need to give to  the   kill  com‐
       mand.  The PPID is the parent process ID, and PGID is the process group
       ID.  The WINPID column is the process  ID displayed by NT's  Task  Man‐
       ager  program. The TTY column gives which  pseudo-terminal a process is
       running on, or a	 '?' for services. The UID  column  shows  which  user
       owns each process.  STIME is the time the process was started, and COM‐
       MAND gives the name of the program running. Listings may	 also  have  a
       status  flag  in	 column	 zero;	S means stopped or suspended (in other
       words, in the background),  I means waiting for	input  or  interactive
       (foreground), and  O means waiting to output.

	By  default,   ps  will only show processes owned by the current user.
       With either the	-a or  -e option, all  user's  processes  (and	system
       processes)  are	listed. There are historical UNIX reasons for the syn‐
       onomous options, which are functionally identical. The  -f option  out‐
       puts  a	"full"	listing with usernames for UIDs. The  -l option is the
       default display mode, showing a "long" listing with all the above  col‐
       umns.  The other display option is  -s, which outputs a shorter listing
       of just PID, TTY, STIME, and COMMAND. The  -u option allows you to show
       only  processes	owned by a specific user. The  -p option allows you to
       show information for only the process with the specified PID.  The   -W
       option  causes  ps show non-Cygwin Windows processes as	well as Cygwin
       processes. The WINPID is also the PID, and they can be killed with  the
       Cygwin  kill command's  -f option.

COPYRIGHT
       Cygwin is Copyright (C) 1995-2010 Red Hat, Inc.

       Cygwin is Free software; for complete licensing information, refer to:

       http://cygwin.com/licensing.html

SEE ALSO
       The full documentation to the Cygwin API is maintained on the web at:

       http://cygwin.com/cygwin-api/cygwin-api.html

       The website is updated more frequently than the man pages and should be
       considered the authoritative source of information.

				  April 2010				 PS(1)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net