Logo by Browallia (anonymous IP: 3.145.34.237,0) | ||||||||||||
| ||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
 Amigans.net  OpenAmiga  Aminet  UtilityBase  IntuitionBase  AmigaBounty
Support the site
|
[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 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. |
Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved Amiga OS and its logos are registered trademarks of Hyperion Entertainment |