!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.3.29 

uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024
x86_64
 

 

Safe-mode: OFF (not secure)

/lib/python3.6/site-packages/tuned/profiles/functions/   drwxr-xr-x
Free 982.94 GB of 1859.98 GB (52.85%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     function_check_net_queue_count.py (650 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
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

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.041 ]--