mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
347 B
23 lines
347 B
# coding: utf-8
|
|
|
|
import time
|
|
import psutil
|
|
import random
|
|
import os
|
|
import urllib
|
|
import binascii
|
|
import json
|
|
import re
|
|
import sys
|
|
|
|
sys.path.append(os.getcwd() + "/class/core")
|
|
import public
|
|
|
|
|
|
def status():
|
|
return 'start'
|
|
|
|
if __name__ == "__main__":
|
|
func = sys.argv[1]
|
|
if func == 'status':
|
|
print status()
|
|
|