Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cabelo:innovators
zramservice
zramoff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zramoff of Package zramservice
#!/bin/bash # kill swap: while read -r id; do swapoff /dev/zram"$id" echo "$id" > /sys/class/zram-control/hot_remove echo "zram swap id$id removed" | systemd-cat -t zramservice -p info done < /run/zramservice/swap rm /run/zramservice/swap # now kill all other drives: while read -r id; do umount /dev/zram"$id" echo "$id" > /sys/class/zram-control/hot_remove echo "zram drive id$id removed" | systemd-cat -t zramservice -p info done < /run/zramservice/mounts rm /run/zramservice/mounts
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor