added
This commit is contained in:
23
notizen
Normal file
23
notizen
Normal file
@@ -0,0 +1,23 @@
|
||||
#create Unit
|
||||
systemctl edit --full --force vmstatd.service
|
||||
|
||||
#systemd-nspawn
|
||||
systemd-nspawn -D /var/lib/machine/rocky7 -b
|
||||
|
||||
machinectl str+altGr+9
|
||||
|
||||
/var/lib/machines/rocky7
|
||||
|
||||
[Unit]
|
||||
Description=vmstat as daemon
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/vmstat $VMSTAT_OPTS 3
|
||||
EnvironmentFile=-/etc/default/vmstatd
|
||||
StandardOutput=append:/var/log/vmstat.log
|
||||
|
||||
/etc/default/vmstatd
|
||||
VMSTAT_OPTS=-ntw
|
||||
VMSTAT_DELAY=3
|
||||
VMSTAT_LOG=/var/log/vmstat.log
|
||||
Reference in New Issue
Block a user