Home XP Commands
XP Syntax

PsList (part of PsTools - download PsList)

List detailed information about processes

Syntax
      pslist [-?] [-t] [-m] [-x] [\\computer [-u user] [-p passwd]] [name | pid] 

Options:

   computer   The computer on which the process is running. Default=local system 

   -p passwd  Specify a password for user (optional). Passed as clear text.
              If omitted, you will be prompted to enter a hidden password.

   -u user    Specify a user name for login to remote computer(optional).

   -t         Show statistics for all active threads on the system,
              each thread is grouped with its owning process.

   -m         Show memory-oriented information for each process, 
              rather than the default of CPU-oriented information.

   -x         Show CPU, memory and thread information for each process specified.

   name       Scan only those processes that begin with the name process.
              Thus:
                pslist exp
              will display processes that start with exp... Explorer, Export etc

   -?         Display options and units of measurement.

The default information listed 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.

Examples:

List all processes running on \\workstation64:

pslist \\workstation64

Related Commands:

PsKill - Kill processes by name or process ID
TASKLIST - List running applications and services
Windows Task Manager - List of running process IDs (PID)
PerfMon - Monitoring tool

Equivalent Linux BASH commands:

ps - Process status, information about processes running in memory.
top - Process viewer, find the CPU-intensive programs currently running.



Back to the Top

Simon Sheppard
SS64.com