Server IP : 103.174.50.168  /  Your IP : 216.73.216.99
Web Server : LiteSpeed
System : Linux secure.balancedserver.com 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64
User : tanvirul ( 1137)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0555) :  /bin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //bin/sim_lsmplugin
#!/usr/bin/python3
#
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright (C) 2011-2023 Red Hat, Inc.
#
# Author: Tony Asleson <tasleson@redhat.com>

import sys
import syslog
import traceback

try:
    from lsm import PluginRunner
    from sim_plugin import SimPlugin

    if __name__ == '__main__':
        PluginRunner(SimPlugin, sys.argv).run()
except Exception:
    # This should be quite rare, but when it does happen this is pretty
    # key in understanding what happened, especially when it happens when
    # running from the daemon.
    msg = str(traceback.format_exc())
    syslog.syslog(syslog.LOG_ERR, msg)
    sys.stderr.write(msg)
    sys.exit(1)