/
usr
/
lib
/
python3
/
dist-packages
/
hibagent-1.0.1.egg-info
/
/usr/lib/python3/dist-packages/hibagent-1.0.1.egg-info
mkdir
upload
Name
Size
Mode
Actions
dependency_links.txt
1
0644
edit
dl
rm
PKG-INFO
1182
0644
edit
dl
rm
top_level.txt
1
0644
edit
dl
rm
Edit:
/usr/lib/python3/dist-packages/hibagent-1.0.1.egg-info/PKG-INFO
(1182B)
Metadata-Version: 2.1 Name: hibagent Version: 1.0.1 Summary: Hibernation Trigger for EC2 Spot Instances Home-page: https://github.com/awslabs/hibagent Author: Aleksei Besogonov Author-email: cyberax@amazon.com License: Apache 2.0 Classifier: License :: OSI Approved :: MIT License Classifier: Topic :: Utilities License-File: LICENSE.txt # The EC2 Spot hibernation agent. ## License The code is released under Apache License Vesion 2.0. See LICENSE.txt for details. ## Description This agent does several things: 1. Upon startup it checks for sufficient swap space to allow hibernate and fails if it's present but there's not enough of it. 2. If there's no swap space, it creates it and launches a background thread to touch all of its blocks to make sure that EBS volumes are pre-warmed. 3. It updates the offset of the swap file in the kernel using SNAPSHOT_SET_SWAP_AREA ioctl. 4. It daemonizes and starts a polling thread to listen for instance termination notifications. ## Building The code can be build using the usual Python setuptools: ``` python setup.py install ``` Additionally, you can build an sRPM package for CentOS/RedHat by running "make sources".
Save
cmd:
run