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