systemctl --type swap
Jump to navigation
Jump to search
systemctl --type swap UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
systemctl --type swap UNIT LOAD ACTIVE SUB DESCRIPTION swap.img.swap loaded active active /swap.img LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
Related commands[edit]
See also[edit]
- Systemd services:
systemctl[status | is-active | start | daemon-reload | stop | mask|reload|restart|reboot|enable|disable|cat],systemctl list-units,systemctl list-timers,systemctl --failed,systemctl get-default,systemctl --help,.service, .timer, .socket,systemctl restart elasticsearch.service,systemctl status apt-daily,systemctl status oscapd, set-property - Swap,
swapon,swapoff,mkswap,swaplabel,free,sar -r,sar -S,sar -W,vmstat,vm.swappiness,/proc/swaps,/etc/fstab, Add a swap disk,systemd.swap, K8s Linux node swap support
Advertising: