HostFn

hostfn status

Show the status of your deployed application.

Usage

hostfn status [environment] [options]

Arguments

ArgumentDescriptionDefault
environmentEnvironment to checkproduction

Options

OptionDescription
--service <name>Show status for specific service in monorepo

Description

Connects to the server and displays the PM2 service status, including:

  • Status - online, stopped, errored
  • PID - Process ID
  • Restarts - Number of automatic restarts
  • Memory - Current memory usage
  • CPU - Current CPU usage
  • Uptime - Time since last restart
  • Created - When the service was first started

For monorepo deployments without --service, shows status for all services.

Examples

# Check production status
hostfn status production

# Check specific monorepo service
hostfn status production --service api

# Check staging
hostfn status staging

Example Output

  Status - production

  ✔ Connected

  ── Service Information ──
  Name      my-api-production
  Status    online
  PID       12345
  Restarts  0

  ── Resources ──
  Memory    85MB
  CPU       2%

  ── Timing ──
  Uptime    3d 12h 45m
  Created   3/8/2026, 2:30:00 PM