Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? AmigaOne
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

STATUS AmigaDOS
Purpose: To list information about Shell/CLI processes.
Format: STATUS [<process>] [FULL] [TCB] [CLI | ALL] [COMMAND <command>]
Template: PROCESS/N, FULL/S, TCB/S, CLI=ALL/S, COM=COMMAND/K
Path: C:STATUS
STATUS without any arguments lists the numbers of the current Shell/CLI processes and the program or command, if any, running in each. The <process> argument specifies the process number, and STATUS will only give information about that process.

For information on the stacksize, global vector size, priority, and current command for each process, use the FULL keyword. The TCB keyword is similar, but omits the command information.

With the COMMAND option, you can tell STATUS to search for a command. STATUS then scans the Shell list, looking for the specified <command>. If the command is found, the Shell number is output, and the condition flag is set to 0. Otherwise the flag is set to 5 (WARN). This is useful in script files.

Example 1:

3.OS4:> STATUS
Process  2: Loaded as command: Workbench
Process  3: Loaded as command: STATUS
Process  4: Loaded as command: TCP/IP Superserver

Example 2:

3.OS4:> STATUS 3 FULL
Process  3: stack 48896, priority    0 Loaded as command: STATUS

Example 3:

3.OS4:> STATUS >RAM:Xyz COMMAND=COPY
3.OS4:> BREAK <RAM:Xyz >NIL: ?
sends a break to the process executing COPY.

See Also: BREAK


Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.