🎯 Basic Usage
Getting Started
Once installed, OpenCode Monitor runs seamlessly in the background while you use OpenCode AI. Here’s how to get started:
1. Start Monitoring
# Start monitoring your OpenCode AI sessions
ocmonitor startThis command begins tracking your OpenCode AI usage in real-time.
2. View Current Session
# View your current session details
ocmonitor show3. Check Today’s Usage
# View today's usage summary
ocmonitor todayCommon Commands
Here are the most frequently used commands:
| Command | Description | 
|---|---|
| ocmonitor start | Begin monitoring OpenCode AI sessions | 
| ocmonitor stop | Stop monitoring | 
| ocmonitor show | Display current session information | 
| ocmonitor today | Show today’s usage summary | 
| ocmonitor week | Show this week’s usage | 
| ocmonitor month | Show this month’s usage | 
Live Dashboard
For real-time monitoring, you can launch the live dashboard:
# Launch the live monitoring dashboard
ocmonitor liveThis opens an interactive terminal dashboard showing real-time usage statistics.