SYNTAX

    ps [options] [<process_id>]


OPTIONS

-h (--help) bool

Display help.

-v (--verbose) bool

Verbose output. Prints warnings if threads couldn't be opened, and displays full thread names instead of short ones.

-m (--match) string

A pattern used to match processes by name (defaults to *).

-H (--human) bool

Print human readable sizes.

-p (--priority) bool

Print process and thread priority information.

-x (--exclude-dead) bool

Does not list threads/processes that have exited or died (by default they will appear if anything still has a handle open to them).

-o (--only-dead) bool

Only list threads/processes that have exited or died.

-n (--handle-count) bool

Print the number of handles held by a given thread or process.

-A (--addresses) bool

Print kernel object addresses.

-t (--threads) bool

Print thread information. This option uses the TFindThread API, and therefore cannot show local (anonymous) threads.

-s (--stacks) bool

Print thread stack information (only valid with the --thread option). Note, the term 'High water mark' is used to indicate the largest amount of stack a given thread has used in its lifetime.

-a (--heaps) bool

Print thread heap usage (only valid with the --thread option).

-c (--cpu-time) bool

Print thread CPU time (only valid with the --thread option).

-k (--chunks) bool

Print details about the chunks belonging to each process. This option uses the TFindChunk API, and therefore can only list Global chunks. It will not show local chunks.

-f (--filename) bool

Print the executable's file name.

-r (--memory) bool

Print memory usage information.

-d (--command_line) bool

Print the command line arguments. Only available on non-emulated builds of EKA1.

-l (--flags) bool

Print System, Protected and LoadedFromRam flag values. Only available on EKA1.

-C (--codesegs) bool

Print the code segments loaded into the process.


ARGUMENTS

[<process_id>]

The identifier of the process to examine. If not specified, displays information on all processes. [uint]


DESCRIPTION

List information relating to the currently running processes and threads.


SEE ALSO

kerninfo, objinfo, chunkinfo, top


COPYRIGHT

Copyright (c) 2005-2010 Accenture. All rights reserved.