ps

Package: WA2L/WinTools 1.2.08
Section: General Commands (1)
Updated: 02 February 2019
Index Return to Main Contents

 

NAME

ps - list detailed information about processes

 

SYNOPSIS

WA2LWinTools/lib/shell/ps [ -? ]

ps [ -d ][ -m ][ -x ][ -t ][ -s [ n ] [ -r n ] [ \\computer [ -u username ] [ -p password ]] [[ -e ] name | pid ]

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

The default behavior of ps is to show CPU-oriented information for all the processes that are currently running on the local system. The information listed for each process includes the time the process has executed, the amount of time the process has executed in kernel and user modes, and the amount of physical memory that the OS has assigned the process. Command-line switches allow you to view memory-oriented process information, thread statistics, or all three types of data.

Memory abbreviation Key:

All memory values are displayed in KB.

Pri
Priority

Thd
Number of Threads

Hnd
Number of Handles

VM
Virtual Memory

WS
Working Set

Priv
Private Virtual Memory

Priv Pk
Private Virtual Memory Peak

Faults
Page Faults

NonP
Non-Paged Pool

Page
Paged Pool

Cswtch
Context Switches

 

OPTIONS

-?
print usage information.

ps exp
would show statistics for all the processes that start with "exp", which would include Explorer.

-d
Show thread detail.

-m
Show memory detail.

-x
Show processes, memory information and threads.

-t
Show process tree.

-s [ n ]
Run in task-manager mode, for optional seconds specified. Press Escape to abort.

-r n
Task-manager mode refresh rate in seconds (default is 1).

\\computer
Instead of showing process information for the local system, ps will show information for the NT/Win2K system specified. Include the -u switch with a username and password to login to the remote system if your security credentials do not permit you to obtain performance counter information from the remote system.

-u username
If you want to kill a process on a remote system and the account you are executing in does not have administrative privileges on the remote system then you must login as an administrator using this command-line option. If you do not include the password with the -p option then ps will prompt you for the password without echoing your input to the display.

-p password
This option lets you specify the login password on the command line so that you can use ps from batch files. If you specify an account name and omit the -p option ps prompts you interactively for a password.

name
Show information about processes that begin with the name specified.

-e
Exact match the process name.

pid
Instead of listing all the running processes in the system, this parameter narrows ps's scan to the process that has the specified PID. Thus:
  ps 53

would dump statistics for the process with the PID 53.

 

ENVIRONMENT

-

 

EXIT STATUS

0
operation succeeded.

1
operation failed.

 

FILES

-

 

EXAMPLES

-

 

SEE ALSO

wintoolsintro(1), config(1m), wtshell(1m), https://www.sysinternals.com/downloads/pslist

 

NOTES

Parts of this manpage were extracted from the documentation of pslist written by Mark Russinovich and modified to fit to the WA2L/WinTools package. See: https://www.sysinternals.com/downloads/pslist for more information.

 

BUGS

-

 

AUTHOR

pslist was developed by Mark Russinovich and integrated as ps into WA2L/WinTools by Christian Walther. Send suggestions and bug reports related to the integration to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:32:45 GMT, September 14, 2024