Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 590 Bytes

File metadata and controls

31 lines (22 loc) · 590 Bytes

ollama_ps

List running model processes in a human-readable format.

Alias

op

Usage

Usage: ollama_ps [-h] [-v]

Description

List running model processes in a human-readable format.

  -h          Show this help and exit.
  -v          Show version information and exit.

This function uses 'ollama ps' to display a table of all models currently running in memory.
It is a quick way to check which models are active and consuming resources.

Output

A table of running models is sent to stdout.

Return

  • 0: Success.
  • 1: Error.
  • 2: Usage error.