4.5

4.5 | 2 ratings Rate this file 11 Downloads (last 30 days) File Size: 3.68 KB File ID: #9976

tasklist / pslist

by

 

14 Feb 2006 (Updated )

Get the current tasklist

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.0.4 (R14SP2)
Other requirements 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
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
22 Aug 2011 Kevin J. Delaney

Just what I needed--thanks!

28 Jul 2010 Thomas Clark

Spot on, Sebastian. I can't speak for pslist, but tasklist worked very well for me on my windows XP machine.

Enough documentation to figure it out very quickly, and a simple and neat implementation.

Cheers!

- Tom

17 May 2006 sven jerzembeck

exactly what i needed

Contact us