On this page
Get Involved
steampipe service
Steampipe service management.
steampipe service allows you to run Steampipe as a local service, exposing it as a database endpoint for connection from any Postgres-compatible database client.
Usage
Sub-Commands
Command | Description |
---|---|
restart | Restart Steampipe service |
start | Start Steampipe in service mode |
status | Status of the Steampipe service |
stop | Stop Steampipe service |
Flags
Flag | Applies to | Description |
---|---|---|
--database-listen string | start | Accept database connections from: local (localhost only) or network (open) |
--database-password string | start | Set the steampipe database password for this session. See STEAMPIPE_DATABASE_PASSWORD for additional information |
--database-port int | start | Database service port (default 9193) |
--force | stop, restart | Forces the service to shutdown, releasing all open connections and ports |
--foreground | start | Run the service in the foreground |
--show-password | start, status | View database password for connecting from another machine (default false) |
--all | status | Bypass the --install-dir and print status of all running services |
Examples
Start Steampipe in the background (service mode):
Start Steampipe on port 9194
Start the Steampipe service with a custom password:
Start Steampipe on localhost only
Stop the Steampipe service:
Forcefully kill all Steampipe services:
View Steampipe service status:
View Steampipe service status and display the database password:
View status of all running Steampipe services:
Restart the Steampipe service: