> For the complete documentation index, see [llms.txt](https://service.block-pro.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://service.block-pro.net/mainnet/celestia/useful-commands/service-operations.md).

# Service Operations

**Mainnet · `celestia`**

The complete reference is now on [Useful Commands](/mainnet/celestia/useful-commands.md#service-operations).

## Service operations

### Select service

Choose celestia-appd for consensus, celestia-bridge for bridge, or celestia-light for light nodes.

```bash
SERVICE=celestia-appd
```

### Status

Check the selected systemd service.

```bash
sudo systemctl status "$SERVICE" --no-pager
```

### Start

Start the node.

```bash
sudo systemctl start "$SERVICE"
```

### Stop

Stop the node.

```bash
sudo systemctl stop "$SERVICE"
```

### Restart

Restart after a configuration change.

```bash
sudo systemctl restart "$SERVICE"
```

### Recent logs

Show the last 100 log lines.

```bash
sudo journalctl -u "$SERVICE" -n 100 --no-pager
```

### Follow logs

Follow logs; Ctrl+C leaves the log view.

```bash
sudo journalctl -u "$SERVICE" -f
```

### Sync status

Check consensus height, block time and catching\_up.

```bash
curl -fsS http://127.0.0.1:26657/status | jq '.result.sync_info'
```

### Peer count

Count consensus peers.

```bash
curl -fsS http://127.0.0.1:26657/net_info | jq -r '.result.n_peers'
```

### Free disk space

Check available space.

```bash
df -h "$HOME/.celestia-app"
```

### Data size

Measure consensus data usage.

```bash
du -sh "$HOME/.celestia-app/data"
```
