Skip to content

Commit

Permalink
update README to use mkzram.service
Browse files Browse the repository at this point in the history
  • Loading branch information
yachi committed Nov 30, 2015
1 parent d41883a commit 7017348
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ are:
* __zramstart__
* __zramstat__
* __zramstop__
* __zram.service__
* __mkzram.service__

All these files can be found in the project directory.

Place __"zramstart"__, __zramstat__ and __"zramstop"__ in the following directory.

/usr/sbin/

Place __"zram.service"__ in the following directory.
Place __"mkzram.service"__ in the following directory.

/lib/systemd/system

Expand All @@ -51,20 +51,20 @@ As root, run the following command to enable __zram__ for __Fedora__.

### Starting

sudo systemctl enable zram.service
sudo systemctl start zram.service
sudo systemctl enable mkzram.service
sudo systemctl start mkzram.service

Run the following command to make sure the service started properly.

sudo systemctl status zram.service
sudo systemctl status mkzram.service

The output should look like this:

zram.service - Enable compressed swap in memory using zram
Loaded: loaded (/lib/systemd/system/zram.service; enabled)
Active: active (exited) since Sun, 02 Oct 2011 22:46:31 -0400; 44min ago
Process: 942 ExecStart=/usr/sbin/zramstart (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/zram.service
mkzram.service - Enable compressed swap in memory using zram
Loaded: loaded (/usr/lib/systemd/system/mkzram.service; enabled)
Active: active (exited) since Mon 2015-11-30 12:26:21 UTC; 2min 45s ago
Process: 2437 ExecStart=/usr/sbin/zramstart (code=exited, status=0/SUCCESS)
Main PID: 2437 (code=exited, status=0/SUCCESS)

To see how well your compressed swap performs run

Expand Down

0 comments on commit 7017348

Please sign in to comment.