SystemProcessData
gives a dataset of information about processes that you are running on your computer system.
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:
-
"PID" process ID "PPID" parent process ID "Memory" memory the process is using "StartTime" date the process was started "RealTime" time since the process started "SystemTime" CPU time spent in kernel space "UserTime" CPU time spent in user space "Threads" number of threads "User" the user the process belongs to "Program" name of the program "Path" full file path of the program "Dataset" dataset of all properties and values - In the dataset returned by SystemProcessData, processes are sorted by PID.
- SystemProcessData[All] gives different process on different computer systems:
-
Windows all unelevated processes Mac processes only for the current user Linux all non-kernel processes for all users - In SystemProcessData[prop->val], prop can be any of the keys associated with each process.
Examples
open allclose allBasic Examples (1)
List processes for the current user:
Return the process that matches the current $ProcessID:
Return the processes that match the current $Username:
Scope (1)
Text
Wolfram Research (2018), SystemProcessData, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemProcessData.html.
CMS
Wolfram Language. 2018. "SystemProcessData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SystemProcessData.html.
APA
Wolfram Language. (2018). SystemProcessData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemProcessData.html