Audio (342) Datatype (51) Demo (203) Development (593) Document (22) Driver (99) Emulation (146) Game (992) Graphics (494) Library (113) Network (228) Office (65) Utility (912) Video (69)
Total files: 4329
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
ProcessScan | Description: | List processes | Download: | processscan.lha (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 43kb | Version: | 1.1 | Date: | 19 Aug 2014 | Author: | Joakim Nordström | Submitter: | Joakim Nordström | Category: | utility/shell | License: | Freeware | Distribute: | yes | Min OS Version: | 4.1 | FileID: | 8911 | | | Comments: | 1 | Snapshots: | 0 | Videos: | 0 | Downloads: | 328 (Current version) | | 328 (Accumulated) | Votes: | 0 (0/0) (30 days/7 days) | |
NAME
PROCESSSCAN - List processes.
FORMAT
PROCESSSCAN [PID] [SIGNAL=<SIGNAL>]
TEMPLATE
PID/N,SIGNAL/K/N
FUNCTION
Lists all current processes in the system, with some information.
Currently displays ProcessID, Parent Process ID, CLI number,
task state, name, and optionally argument.
The PID option shows only the process with the specified PID, and
its child processes.
The SIGNAL option is used in combination with the PID option to
send a specified signal to the process with the specified PID, and
then prints the list of processes.
NB: Sending signals to arbitrary processes can be dangerous! Use
with caution!
EXAMPLE
1> PROCESSSCAN
States: 0=Invalid, 1=Added, 2=Run, 3=Ready, 4=Wait, 5=Except, 6=Remove
PID ParID Cli State Name (Argument)
287 286 0 4 KingCON DOS-process
286 285 0 4 KCON/KingCON-handler
285 284 8 2 Shell Process ?
281 20 0 4 texteditor.gadget Clipboard Server
280 275 3 4 Background CLI PUBSCREEN=DEVScreen
230 212 0 4 [OWB] WebCore: LocalStorage
217 212 0 4 [OWB] JavaScriptCore::BlockFree
216 212 0 4 [OWB] IconDatabase
215 212 0 4 [OWB] Timer
213 212 0 4 MUI imagespace screen notify
212 211 2 4 Odyssey
1> PROCESSSCAN 212
States: 0=Invalid, 1=Added, 2=Run, 3=Ready, 4=Wait, 5=Except, 6=Remove
PID ParID Cli State Name (Argument)
230 212 0 4 [OWB] WebCore: LocalStorage
217 212 0 4 [OWB] JavaScriptCore::BlockFree
216 212 0 4 [OWB] IconDatabase
215 212 0 4 [OWB] Timer
213 212 0 4 MUI imagespace screen notify
212 211 2 4 Odyssey
1> PROCESSCAN 480 SIGNAL 12
Signal 480 with 0000 0001 0000 0000
States: 0=Invalid, 1=Added, 2=Run, 3=Ready, 4=Wait, 5=Except, 6=Remove
PID ParID Cli State Name (Argument)
481 480 0 4 CON/con-handler 53.1
480 477 6 4 Background CLI
RELEASE
18.8.2014 : 1.1 - First public release, by Joakim Nordström
COMPILING
Makefile and source is included in the archive.
ADDITIONAL INFORMATION
I created this little tool to use when telnetting to my debugging
Amiga, in order to see what my program is up to, without having
to switch screen and start f.i. Ranger.
Before uploading I noticed "TaskList", which pretty much does the
same thing: http://os4depot.net/share/utility/shell/tasklist.lha
My utility does however use the OS4 ProcessScan() call, and
doesn't call Forbid()/Disable(), thus making it a bit more safe.
|