Limit process resources (cgroup)
Run a command in a transient systemd scope with resource limits
systemd-run --scope -p MemoryMax=512M -p CPUQuota=50% -- ./heavy.sh
- tool
- linux133 commands
More linux commands
-
journalctl --since '2024-01-15 10:00' --until '2024-01-15 10:30' -u nginxLogs for nginx between two timestamps
-
journalctl -u <service> -o json | jq '{ts: .REALTIME_TIMESTAMP, msg: .MESSAGE}'Structured log export for ingestion into log aggregators
-
timedatectl status && chronyc trackingClock sync state, offset, and NTP source details
-
systemctl list-timers --all --no-pagerAll timers with last/next trigger times
-
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@hostAppend public key to remote authorized_keys