Current Path: > > opt > > > cloudlinux > venv > bin
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Activate.ps1 | File | 9033 bytes | April 17 2025 13:10:59. | |
activate | File | 1691 bytes | April 17 2025 13:10:59. | |
activate.csh | File | 915 bytes | April 17 2025 13:10:59. | |
activate.fish | File | 2191 bytes | April 17 2025 13:10:59. | |
alembic | File | 229 bytes | April 17 2025 13:10:59. | |
chardetect | File | 237 bytes | April 17 2025 13:10:59. | |
cl_sysctl | File | 4620 bytes | June 23 2025 12:47:48. | |
clcpapi | File | 3730 bytes | June 23 2025 12:47:48. | |
coverage | File | 231 bytes | April 17 2025 13:10:59. | |
coverage-3.11 | File | 231 bytes | April 17 2025 13:10:59. | |
coverage3 | File | 231 bytes | April 17 2025 13:10:59. | |
cpanel-dbmapping | File | 3925 bytes | June 23 2025 12:47:48. | |
da_suid_caller.py | File | 686 bytes | June 23 2025 12:47:48. | |
detect-requirements | File | 238 bytes | April 17 2025 13:10:59. | |
dodgy | File | 224 bytes | April 17 2025 13:10:59. | |
epylint | File | 235 bytes | April 17 2025 13:10:59. | |
f2py | File | 232 bytes | April 17 2025 13:10:59. | |
f2py3 | File | 232 bytes | April 17 2025 13:10:59. | |
f2py3.11 | File | 232 bytes | April 17 2025 13:10:59. | |
flake8 | File | 230 bytes | April 17 2025 13:10:59. | |
futurize | File | 231 bytes | April 17 2025 13:10:59. | |
get_gprof | File | 1885 bytes | April 17 2025 13:10:59. | |
get_objgraph | File | 1667 bytes | April 17 2025 13:10:59. | |
isort | File | 225 bytes | April 17 2025 13:10:59. | |
isort-identify-imports | File | 259 bytes | April 17 2025 13:10:59. | |
jsonschema | File | 229 bytes | April 17 2025 13:10:59. | |
lvestats_config_reader.py | File | 1145 bytes | May 30 2025 10:30:47. | |
mako-render | File | 229 bytes | April 17 2025 13:10:59. | |
normalizer | File | 260 bytes | April 17 2025 13:10:59. | |
pasteurize | File | 233 bytes | April 17 2025 13:10:59. | |
pip | File | 237 bytes | April 17 2025 13:10:59. | |
pip3 | File | 237 bytes | April 17 2025 13:10:59. | |
pip3.11 | File | 237 bytes | April 17 2025 13:10:59. | |
plesk_suid_caller.py | File | 905 bytes | June 23 2025 12:47:48. | |
prospector | File | 229 bytes | April 17 2025 13:10:59. | |
py.test | File | 237 bytes | April 17 2025 13:10:59. | |
pycodestyle | File | 228 bytes | April 17 2025 13:10:59. | |
pydocstyle | File | 229 bytes | April 17 2025 13:10:59. | |
pyflakes | File | 227 bytes | April 17 2025 13:10:59. | |
pylint | File | 233 bytes | April 17 2025 13:10:59. | |
pylint-config | File | 249 bytes | April 17 2025 13:10:59. | |
pyreverse | File | 239 bytes | April 17 2025 13:10:59. | |
pysemver | File | 225 bytes | April 17 2025 13:10:59. | |
pytest | File | 237 bytes | April 17 2025 13:10:59. | |
python | File | 15960 bytes | June 23 2025 15:48:27. | |
python3 | File | 15960 bytes | June 23 2025 15:48:27. | |
python3.11 | File | 15960 bytes | June 23 2025 15:48:27. | |
raven | File | 235 bytes | April 17 2025 13:10:59. | |
symilar | File | 235 bytes | April 17 2025 13:10:59. | |
tap | File | 223 bytes | April 17 2025 13:10:59. | |
tappy | File | 223 bytes | April 17 2025 13:10:59. | |
undill | File | 603 bytes | April 17 2025 13:10:59. | |
virtualenv | File | 254 bytes | April 17 2025 13:10:59. |
#!/opt/cloudlinux/venv/bin/python3 # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 2008-2016 California Institute of Technology. # Copyright (c) 2016-2023 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - https://github.com/uqfoundation/dill/blob/master/LICENSE ''' build profile graph for the given instance running: $ get_gprof <args> <instance> executes: gprof2dot -f pstats <args> <type>.prof | dot -Tpng -o <type>.call.png where: <args> are arguments for gprof2dot, such as "-n 5 -e 5" <instance> is code to create the instance to profile <type> is the class of the instance (i.e. type(instance)) For example: $ get_gprof -n 5 -e 1 "import numpy; numpy.array([1,2])" will create 'ndarray.call.png' with the profile graph for numpy.array([1,2]), where '-n 5' eliminates nodes below 5% threshold, similarly '-e 1' eliminates edges below 1% threshold ''' import sys # grab args for gprof2dot args = sys.argv[1:-1] args = ' '.join(args) # last arg builds the object obj = sys.argv[-1] obj = obj.split(';') # multi-line prep for generating an instance for line in obj[:-1]: exec(line) # one-line generation of an instance obj = eval(obj[-1]) # get object 'name' objtype = type(obj) name = getattr(objtype, '__name__', getattr(objtype, '__class__', objtype)) # profile dumping an object import dill import os import cProfile #name = os.path.splitext(os.path.basename(__file__))[0] cProfile.run("dill.dumps(obj)", filename="%s.prof" % name) msg = "gprof2dot -f pstats %s %s.prof | dot -Tpng -o %s.call.png" % (args, name, name) os.system(msg) # get stats f_prof = "%s.prof" % name import pstats stats = pstats.Stats(f_prof, stream=sys.stdout) stats.strip_dirs().sort_stats('cumtime') stats.print_stats(20) #XXX: save to file instead of print top 20? os.remove(f_prof)
SILENT KILLER Tool