Process Manager

A valuable tool in almost every developer's toolkit is a system monitor. A system monitor shows a list of running processes, how much memory and CPU resources are consumed by each process, and has the ability to force processes to end. Task Manager on Windows and Activity Monitor on macOS are two examples of a system monitor.

OpenFin Process Manager is the system monitor for OpenFin processes, and can be launched from this address:

https://start.openfin.co/pm

Process Manager main display

Screenshot of main display for Process Manager

The initial Process Manager display shows the following:

  1. A list of all OpenFin platforms and OpenFin legacy applications.

  2. An expandable list of all OpenFin windows associated with that platform or application.

  3. An expandable list of all OpenFin views and associated with that window.

List of OpenFin platforms and OpenFin legacy applications

Process Manager displays a constantly updated list of platform and legacy application processes. Each platform application or legacy application in the list shows the OpenFin Runtime version, CPU and memory used, and the program ID.

When the mouse passes over a row in the list, additional information and controls are displayed.

If the row displays an OpenFin Platform or Platform application, the word "Platform" appears to the right of the process name. If the row displays an OpenFin legacy application, the word "Application" appears to the right of the process name.

Additional control buttons appear while the mouse is over the row.

The actions of these buttons are different for platform processes and application processes.

Controls for platform rows

For platforms and platform applications, the buttons perform the following tasks:

  • Show Details: This button shows the platform UUID, the location of the platform manifest, the URL to the platform, and names of the Inter Application Bus channels. It also shows a CPU performance graph of the last 60 seconds of CPU activity.

  • Launch Developer Tools: Launches OpenFin DevTools for this platform.

  • Show Manifest: Opens the platform manifest in a reader window.

  • Quit Application: Force quits the platform application or platform.

Controls for application rows

For legacy applications, the buttons perform the following tasks:

  • Show Details: This button shows the application UUID, the location of the application manifest, and the URL to the platform. It also shows a CPU performance graph of the last 60 seconds of CPU activity.

  • Launch Developer Tools: Launches OpenFin DevTools for this legacy application.

  • Show Manifest: Opens the application manifest in a reader window.

  • Quit Application: Force quits the legacy application.

List of platform windows

If the platform or platform application has one or more windows, the row can be expanded to display the list of windows associated with the platform.

When the mouse passes over a row in the platform window list, additional control buttons are displayed.

The buttons perform the following tasks:

  • Show Details: This button shows the name of the window, the bounds of the window in pixels, and the layout of views in that window. If the views in the window change, the display updates with the new layout.

  • Launch Developer Tools: Launches OpenFin DevTools for this window.

  • Hide Window / Show Window: Hides or shows the window.

  • Rescue Off-Screen Window: If a window moved far enough off-screen that it can't be accessed by the mouse, this moves the window back onto the display.

  • Close window: Closes this window.

List of application windows

If the legacy application has one or more windows, the row can be expanded to display the list of windows associated with the application.

When the mouse passes over a row in the application window list, additional control buttons are displayed.

The buttons perform the following tasks:

  • Show Details: This button shows the name of the window, the URL of that window, and the bounds of the window in pixels.

  • Launch Developer Tools: Launches OpenFin DevTools for this window.

  • Hide Window / Show Window: Hides or shows the window.

  • Rescue Off-Screen Window: If a window moved far enough off-screen that it can't be accessed by the mouse, this moves the window back onto the display.

  • Close window: Closes this window.

List of views

If the platform window has one or more views, the window row can be expanded to display the list of views associated with that window.

When the mouse passes over a row in the view list, additional control buttons are displayed.

The buttons perform the following tasks:

  • Show Details: This button shows the name of the view and the bounds of the view in pixels.

  • Launch Developer Tools: Launches OpenFin DevTools for this window.

  • Destroy View: Destroys this view.

Title bar controls

In the upper-right corner of the Process Monitor window, there are a few additional controls.

The first control displays the RVM version number being used by this instance of the OpenFin platform.

The second control opens up a menu.

This menu allows you to launch OpenFin platforms, platform applications, and legacy applications, to close all OpenFin platforms and applications, or to view a log file in a reader window.

The last control, shaped like a lightbulb, toggles the Process Manager display between light mode and dark mode.