Python 3.9 is now generally available.

Module: google.appengine.api.runtime

Runtime Utilities API.

.. deprecated:: 1.8.1

Modules

runtime module: Runtime Utilities API.

Functions

cpu_usage(...): Returns a SystemStat describing cpu usage, expressed in mcycles.

is_shutting_down(...): Returns true if the server is shutting down.

memory_usage(...): Returns a SystemStat describing memory usage, expressed in MB.

set_shutdown_hook(...): Registers a function to be called when the server is shutting down.