Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
/zram-swapPublic archive

A simple script to manage zram swap devices

License

NotificationsYou must be signed in to change notification settings

jcrd/zram-swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zram-swap is a simple script that manageszram devices for use as swap.It can create a single device the size of available RAM, or divide the sizebetween as many devices as there are CPUs, as reported bynproc.

Usage

usage: zram-swap commandcommands:  setup         Setup single device  setup-per-cpu Setup a device per CPU  remove        Remove devices  on            Turn on devices  off           Turn off devices  status        Show status of devices

systemd

zram-swap also provides twosystemd services for automatic setup at boot.

For a single zram swap device:systemctl enable zram-swap

For a zram swap device per CPU:systemctl enable zram-swap-per-cpu

License

This project is licensed under the MIT License (seeLICENSE).

Alternatives

  • systemd-swap supports multipleswap backends and is configurable

About

A simple script to manage zram swap devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp