SystemProcessData

SystemProcessData[]

gives a dataset of information about processes that you are running on your computer system.

SystemProcessData[All]

gives information about all processes running on your computer system.

SystemProcessData[patt]

gives information about processes whose names or paths contain the string pattern patt.

SystemProcessData[propval]

gives information about processes for which property prop has value val.

SystemProcessData[{prop1val1,}]

gives information about processes for which property propi has value vali.

Details

  • SystemProcessData gives a dataset with the following keys for each process:
  • In the dataset returned by SystemProcessData, processes are sorted by PID.
  • SystemProcessData[All] gives different process on different computer systems:
  • Windowsall unelevated processes
    Macprocesses only for the current user
    Linuxall non-kernel processes for all users
  • In SystemProcessData[prop->val], prop can be any of the keys associated with each process.

Examples

open allclose all

Basic Examples  (1)

List processes for the current user:

In[1]:=
Click for copyable input
Out[1]=

List all available processes:

In[2]:=
Click for copyable input
Out[2]=

Return the process that matches the current $ProcessID:

In[3]:=
Click for copyable input
Out[3]=

Return the processes that match the current $UserName:

In[4]:=
Click for copyable input
Out[4]=

Scope  (1)

Neat Examples  (1)

See Also

SystemProcesses  StartProcess  KillProcess  $ProcessID  ProcessInformation  Processes  ProcessObject

Introduced in 2018
(11.3)