chore: update documentation

This commit is contained in:
2025-10-05 23:16:57 +03:00
parent 3287c38836
commit fcd27dee97
2 changed files with 73 additions and 3 deletions

View File

@@ -65,6 +65,45 @@ kvs> put users/alice {"name": "Alice", "email": "alice@example.com"}
kvs> get users/alice
```
## KVS Server Management
If you're also running the KVS server locally, you can use the built-in daemon commands:
```bash
# Start KVS server as background daemon
./kvs start config.yaml
# Check server status
./kvs status
# View server logs
tail -f ~/.kvs/logs/kvs_config.yaml.log
# Stop server
./kvs stop config
# Restart server
./kvs restart config
```
**Multiple instances:**
```bash
# Start a 3-node cluster
./kvs start node1.yaml
./kvs start node2.yaml
./kvs start node3.yaml
# Check all running instances
./kvs status
# Stop entire cluster
./kvs stop node1
./kvs stop node2
./kvs stop node3
```
For more details on server management, see the [main KVS documentation](../kvs/README.md#-process-management).
## Commands Reference
### Connection & Authentication