PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /lib/python3.6/site-packages/tuned/profiles/functions/ |
| Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 66.29.132.192 |
| Dir : //lib/python3.6/site-packages/tuned/profiles/functions/function_check_net_queue_count.py |
import tuned.logs
from . import base
log = tuned.logs.get()
class check_net_queue_count(base.Function):
"""
Checks whether the user has specified a queue count for net devices. If
not, return the number of housekeeping CPUs.
"""
def __init__(self):
# 1 argument
super(check_net_queue_count, self).__init__("check_net_queue_count", 1, 1)
def execute(self, args):
if not super(check_net_queue_count, self).execute(args):
return None
if args[0].isdigit():
return args[0]
(ret, out) = self._cmd.execute(["nproc"])
log.warn("net-dev queue count is not correctly specified, setting it to HK CPUs %s" % (out))
return out