Skip to content

journalctl

Terminal window
{"command":["journalctl","-u","vpm","-n","200"]}

Standard journalctl arguments, each a separate array element. -u vpm is the one you want most often: vpm is the agent that registers the node and manages everything else on it, so its journal is where registration failures appear with timestamps and across restarts.

Useful variants:

ArgumentsAnswers
-u vpm -n 200What has vpm been doing recently
-u vpm --since "10 min ago"What happened while I reproduced it
-p err -n 100Errors from every unit
-u kubelet -n 200Why the Kubernetes stack is unhealthy

Prefer this over docker-logs vpm when you need timestamps, want to span a restart, or want to correlate vpm against another unit.