Equivalent of 'ps' for Windows CE?

2

1

What is the equivalent of 'ps' (that is, a command which shows the running process list) command in Linux, for Windows CE (whose command-line, I'm accessing through telnet)?

Cihan Keser

Posted 2009-11-18T12:12:00.683

Reputation: 145

Answers

1

From Microsoft Power Toys for CE, use RAPI debug.

MSalters

Posted 2009-11-18T12:12:00.683

Reputation: 7 587

0

If you have shell.exe file in /Windows, you can run:

\Windows> shell.exe -c gi proc

It is a very common file which you can find in Windows CE because it is used to debug remotely.

sinkmanu

Posted 2009-11-18T12:12:00.683

Reputation: 158

0

Type in kill - this will list the processes by name and their PID - then type kill *PID* (where PID is the actual PID) and it will then terminate the process.

Hunter A

Posted 2009-11-18T12:12:00.683

Reputation: 9

0

Try PSList.exe from Sysinternals. It can give you a list for the local computer or a remote system. I've no idea if it will work on WinCE systems, but it's not very large and shouldn't take long to try out.

C:\> pslist /?

Usage: pslist.exe [-d][-m][-x][-t][-s [n] [-r n] [\\computer [-u username][-p password][name|pid]
   -d          Show thread detail.
   -m          Show memory detail.
   -x          Show processes, memory information and threads.
   -t          Show process tree.
   -s [n]      Run in task-manager mode, for optional seconds specified.
               Press Escape to abort.
   -r n        Task-manager mode refresh rate in seconds (default is 1).
   \\computer  Specifies remote computer.
   -u          Optional user name for remote login.
   -p          Optional password for remote login. If you don't present
               on the command line pslist will prompt you for it if necessary.
   name        Show information about specified process.
   pid         Show information about specified process.

quack quixote

Posted 2009-11-18T12:12:00.683

Reputation: 37 382

Tried this but; it says 'cannot execute pslist.EXE' when I enter 'pslist' or 'pslist.exe' as command (and yes, I'm in the directory where I copied the files). – Cihan Keser – 2009-11-18T13:30:14.377

you could try using the full path (eg \path\to\pslist.exe) but honestly it sounds like you'd need a version specially compiled for WinCE. sorry! – quack quixote – 2009-11-18T13:51:02.183

-3

From the commandline, type: TASKLIST (Uppercase, lowercase, doesn't matter. It's not Unix...)

Add /? to get an overview of commandline options.

Tested this with Vista, don't know if it's available on XP and lower...


Oops... Windows CE, you say? That's the Windows version for mobile devices. I wonder if it allows the same command but I don't think so.

Wim ten Brink

Posted 2009-11-18T12:12:00.683

Reputation: 1 815

The request is for Windows CE, not the desktop Windows. – Snark – 2009-11-18T13:27:25.100

@Snark, I've already pointed that out. However, commands for Windows XP/Vista might also work for CE... – Wim ten Brink – 2009-11-19T11:45:23.813