os.uptime

Collect information about the system's uptime

This content is associated with a legacy version of the Replicated product. For the current Replicated product docs, click here.

os.uptime

type object

Collect information about the system’s uptime

collect:
  v1:
    - os.uptime:
        output_dir: /system/uptime

Optional Parameters

  • template - Template for the human-readable output

Outputs

  • contents - The contents of the uptime file