How cmames/zramit works
Zramit manages Linux zram swap, including configuration, status and enable/restart controls, while coordinating with systemd and hibernation. The README documents these capabilities but no source excerpts were provided, so links between the scripts and their internal runtime behavior cannot be verified; the graph keeps those components distinct and marks the documented service-to-runtime association as unverified.
Main entry points: zramit.service Systemd service · zramit-hibernate.sh Hibernate hook · zramit.sh Zramit CLI · zramit.config Configuration
Components 8
User controls
- Zramit CLI
zramit.sh - Configuration
service/zramit.config
Swap runtime
- Zramit script
zramit-script.sh - Hibernate hook
zramit-hibernate.sh
System integration
- Systemd service
service/zramit.service
Other components
- Administrator
- systemd
- Linux zram swap
Connections 5
- Administrator → Zramit CLI: runs commands
README.md - Administrator → Configuration: edits settings
README.md - systemd → Systemd service: starts at boot
README.md - Systemd service → Zramit script: runs
- Hibernate hook → Linux zram swap: stops and starts swap