Framework

os

Initiate activity tracing and unified logging operations that make problem diagnosis easier when debugging.

Topics

Essentials

Reading UNIX Manual Pages

Use the Terminal app to read the documentation for low-level UNIX tools and APIs.

Logs

Logging

Efficiently capture log messages to memory and disk. Manage logging behavior and persistence.

Activity Tracing

Log trace messages to an auto-generated ring buffer while associating them with the originating user action.

Threads

Synchronization

Access low-level synchronization mechanisms to control access to state across different threads.

Memory

os_proc_available_memory

Determines the amount of memory available to the current app.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software