Zack Saadioui
8/26/2024
1
ollama run llama21ctrl + C
1 2pgrep ollama kill [PID]
1
[PID]1
pgrep1sudo systemctl stop ollama.service
1
pgrep1
2
bash
systemctl restart ollama.service1curl http://localhost:11434/api/generate -d '{"model": "MODEL_NAME", "keep_alive": 0}'
1
keep_aliveCopyright © Arsturn 2025