This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# @lint-avoid-python-3-compatibility-imports | |
# | |
# qos implement a dynamic qos for using cgroups | |
# For Linux, uses BCC, eBPF. | |
# | |
# USAGE: qos.py [-h] [-qc] [--max] [interval] | |
# requires a file name qos_setup which can changed with qosfile | |
# file has format maj:min IOPS | |
# i.e. 8:0 40000 |