tasklist / pslist

版本 1.0.0.0 (3.7 KB) 作者: Sebastian Hölz
Get the current tasklist
2.0K 次下载
更新时间 2006/2/14

查看许可证

The files contained in the zip-file can be used to get the current list of tasks running on the computer.

1) tasklist.m

- !!! This file will only work on WindowsXP !!!

- No further files are needed.

- Usage: tasks = tasklist; Reads tasklist with fields as specified in help - or -
tasks = tasklist(1) Reads tasklist with additional fields as specified in help

2) pslist.m

- This file will work on Windows (NT and higher) and LINUX

- The file has not been tested extensively under LINUX, so there might be some work left to do ... just let me know.

- If you use this file on Windows you need to download pslist.exe, which is freeware.
It can be downloaded from: http://www.sysinternals.com/Utilities/PsList.html
pslist.exe needs to be in the same folder as pslist.m

- Usage: tasks = pslist Reads tasklist with fields as specified in help
tasks = pslist(PID) Looks for task with PID (process ID, number, e.g. 1234)
tasks = pslist(pname) Looks for task pname (process name, string, e.g. 'explorer.exe')

Cheers
Sebi

引用格式

Sebastian Hölz (2024). tasklist / pslist (https://www.mathworks.com/matlabcentral/fileexchange/9976-tasklist-pslist), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP2
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 PID Controller Tuning 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0