MCPcopy Create free account

hub / github.com/DingGuodong/LinuxBashShellScriptForOps / functions

Functions1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps

↓ 2 callersMethodgetCmdlineChain
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:196
↓ 2 callersMethodgetContainerLongIdUsingDockerInspectAllContainerID
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:30
↓ 2 callersMethodgetContainerShortID
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:304
↓ 2 callersMethodgetContainerShortID
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:305
↓ 2 callersMethodgetContainerShortIDWithPort
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:260
↓ 2 callersMethodgetContainerShortIDWithPort
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:261
↓ 2 callersMethodgetCurrentAllPids
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:109
↓ 2 callersMethodgetCurrentAllPids
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:110
↓ 2 callersMethodgetPidChain
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:181
↓ 2 callersMethodgetSHA1
用SHA1算法生成安全签名 @param token: 票据 @param timestamp: 时间戳 @param encrypt: 密文 @param nonce: 随机字符串 @return: 安全签名
projects/WeChatOps/WXBizMsgCrypt/WXBizMsgCrypt.py:87
↓ 2 callersFunctionget_account_info
(name)
projects/WindowsSystemOps/Account/python-enable-disable-account-using-wmi.py:50
↓ 2 callersMethodget_addr
(self, offset)
functions/net/ip/GeoIP/chunzhen.net/parse-qqwry.dat.py:63
↓ 2 callersFunctionget_all_tcp_conn_count_by_status
(status='ESTABLISHED')
functions/net/tcp/port/monitor_tcp_status.py:60
↓ 2 callersFunctionget_bin_path
find system executable in PATH. Optional arguments: - required: if executable is not found and required is true - opt_dirs: o
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:199
↓ 2 callersFunctionget_cert_expiry_datetime
(hostname)
projects/LinuxSystemOps/SoftwareManagement/zabbix/get-domain-ssl-info.py:72
↓ 2 callersFunctionget_cert_expiry_datetime
(hostname)
functions/net/tcp/ssl/get-domain-ssl-info.py:97
↓ 2 callersFunctionget_cert_info
(hostname)
projects/LinuxSystemOps/SoftwareManagement/zabbix/get-domain-ssl-info.py:37
↓ 2 callersFunctionget_cert_info
(hostname)
functions/net/tcp/ssl/get-domain-ssl-info.py:41
↓ 2 callersFunctionget_child
(node, tag, ns="{http://schemas.microsoft.com/win/2004/08/events/event}")
projects/WindowsSystemOps/System/WinEvtLog/read-win32evtlog.py:57
↓ 2 callersFunctionget_connection_detail
()
projects/WindowsSystemOps/Software/Microsoft/SQLServer/CountIPWhoConnectToSQLServerFromAliyunRDS.py:40
↓ 2 callersFunctionget_disk_usage_avail
get disk usage by disk label, such as 'C', 'D', "C:", "C:\\" :param disk: disk device label :type disk: str :return: disk usage :
projects/WindowsSystemOps/Filesystem/remove-backup-files-to-keep-disk-usable.py:91
↓ 2 callersFunctionget_domain_name_from_url
(url)
functions/net/icmp/ping-url-etc.py:33
↓ 2 callersFunctionget_encoding
(path)
functions/file/python-read-or-open-file.py:33
↓ 2 callersFunctionget_hash_sum
(FILE, method="md5", block_size=65536)
projects/WindowsSystemOps/Filesystem/backup-addc.py:65
↓ 2 callersFunctionget_hash_sum
(FILE, method="md5", block_size=65536)
projects/backupOps/FileSystem/backupLargeFilesToLocal.py:72
↓ 2 callersFunctionget_hash_sum
(filename, method="md5", block_size=65536)
functions/security/monitor_files_vars_daemon.py:43
↓ 2 callersFunctionget_hash_sum
(filename, method="sha256", block_size=65536)
functions/security/checkDataIntegrity.py:47
↓ 2 callersFunctionget_hosts_list
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:71
↓ 2 callersFunctionget_minutes_from_time
计算时间包含的分钟数 :param time_str: :param date_format: :return:
functions/date/datetime-related-calculate.py:80
↓ 2 callersFunctionget_page_content
get web page content :param link: :type link: :param content: :type content: str (requests.text or requests.content) :return:
functions/string/html/python-get-resource-from-weixin-mp.py:90
↓ 2 callersMethodget_registered_hosts
(self)
functions/net/tcp/ssh/pySettingSSHTrust.py:210
↓ 2 callersFunctionget_sorted_dict
(files_dict)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files.py:188
↓ 2 callersFunctionget_sorted_dict_l2
(files_dict)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.1.py:182
↓ 2 callersFunctionget_sorted_dict_l2
(files_dict)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:201
↓ 2 callersFunctionget_sorted_dict_l2
(files_dict)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:198
↓ 2 callersFunctionget_system_encoding
()
projects/WindowsSystemOps/Software/Others/pyStartWinApps.py:16
↓ 2 callersFunctionget_tcp_all_conns_count_top
(top=10)
functions/net/tcp/port/pyGetTCPPortStatisticsOnLocal.py:37
↓ 2 callersFunctionget_title_from_html
also can use 'lxml' or 'BeautifulSoup' :param text: :type text: str :return: :rtype: str
functions/net/others/inspect-alive-nodes.py:117
↓ 2 callersFunctionget_title_from_html
also can use 'lxml' or 'BeautifulSoup' :param text: :type text: str :return: :rtype: str
functions/net/tcp/http/request-web-server-and-get-title.py:35
↓ 2 callersFunctionget_version_from_url
(url)
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:192
↓ 2 callersFunctionget_version_id
(centos=True, get_major=False)
projects/LinuxSystemOps/Services/SysV/sysv-initscript-render/pyInitScriptRender.py:87
↓ 2 callersMethodheader2dict
unpack the raw received IP and ICMP header informations to a dict
functions/net/icmp/another-ping.py:300
↓ 2 callersFunctionhmac_md5
(key, msg)
functions/string/hash/pyHashAlgorithm.py:33
↓ 2 callersFunctionis_apt
:return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:91
↓ 2 callersFunctionis_centos6
()
projects/LinuxSystemOps/Services/SysV/sysv-initscript-render/pyInitScriptRender.py:76
↓ 2 callersFunctionis_exe
(path)
functions/check_if_exists/check_if_executable_exists.py:40
↓ 2 callersMethodis_not_spam
(self, ip)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/pyLookupSpamBlockListWithDig.py:38
↓ 2 callersMethodis_spam
(self, ip)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/pyLookupSpamBlockListWithDig.py:34
↓ 2 callersFunctionis_ubuntu14
()
projects/LinuxSystemOps/Services/SysV/sysv-initscript-render/pyInitScriptRender.py:58
↓ 2 callersFunctionis_valid_fqdn_domain
(domain)
functions/performance/multiprocessing/using-thread-pool-to-handle-io-intensive-task.py:64
↓ 2 callersFunctionis_valid_ipv4
(ip, version=4)
functions/net/ip/validate_ip_address.py:33
↓ 2 callersFunctionis_windows
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:57
↓ 2 callersFunctionis_yum
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:102
↓ 2 callersFunctionkill_process
(name)
functions/net/tcp/http/spider/pySpiderSeleniumPhantomjs-demo2-douban.py:111
↓ 2 callersFunctionkill_process
(name)
functions/net/tcp/http/spider/pySpiderSeleniumPhantomjs.py:178
↓ 2 callersFunctionmakeDataIntegrity
(path)
functions/security/checkDataIntegrity.py:77
↓ 2 callersFunctionmysql_connect
(host, user, password, port, charset, database)
functions/nosql/database/mysql/pyTestMysqlConnection.py:59
↓ 2 callersFunctionmysql_query
mysql query sql on mysql server :param sql: SQL :type sql: str :return result: return all result with fetchall() :type: tuple
functions/nosql/database/mysql/pyMysqlLoginMonitor.py:64
↓ 2 callersFunctionnumToDottedQuad
convert long int to dotted quad string
functions/net/ip/ipAddressConversionFunctions.py:15
↓ 2 callersFunctionping
(host)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:169
↓ 2 callersFunctionpprint_ntuple
(nt)
functions/system/meminfo.py:53
↓ 2 callersMethodprint_exit
(self)
functions/net/icmp/another-ping.py:238
↓ 2 callersMethodpull
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:106
↓ 2 callersMethodput_file_to_ftp
(self, src, dst)
functions/net/tcp/sftp/py-ftps-client-oop.py:104
↓ 2 callersFunctionquery_status
(service_name='TermService')
projects/WindowsSystemOps/Services/pyBringExchangeServicesUp.py:100
↓ 2 callersMethodreal_is_spam
(self, ip)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/pyLookupSpamBlockListWithDig.py:42
↓ 2 callersFunctionremove_file
(path, save_dirs=True)
projects/WindowsSystemOps/Filesystem/rmDirectory.py:86
↓ 2 callersFunctionrename_files_batch
(path, new_extension, exclude_pattern="init")
functions/file/pyRenameFileByBatch.py:33
↓ 2 callersFunctionreset_printer
Note: administrator privilege is required this function do three things: 1. stop Print Spooler service 2. delete all job files 3
projects/WindowsSystemOps/Services/pyAutoResetPrinterWin32.py:40
↓ 2 callersMethodrespond
(self, code)
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeployWithLog.py:153
↓ 2 callersMethodrespond
(self, code)
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeploy.py:116
↓ 2 callersMethodrespond
(self, code)
projects/GitWebHooksAutoDeployScript/GitLabAutoDeploy.py:155
↓ 2 callersFunctionrestart
Restarts your application
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:157
↓ 2 callersMethodretrieve_data
(self)
projects/WeChatOps/pySendMessageByWeChatWithoutSQL/sendMessageByWeChatApi.py:76
↓ 2 callersMethodretrieve_data
(self)
functions/monitor/send_message/send-zabbix-alert-msg-to-weixin-work.py:79
↓ 2 callersFunctionrun
(server_class=HTTPServer, handler_class=S, port=80)
projects/PythonHTTPServer/sampleHttpServer.py:167
↓ 2 callersFunctionrun
(server_class=HTTPServer, handler_class=GitAutoDeploy.WebServer, port=80)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:147
↓ 2 callersFunctionrun
(command)
functions/locale_i18n/decodingString.py:57
↓ 2 callersFunctionrun
(server_class=HTTPServer, handler_class=MyHTTPServer, port=80)
functions/net/tcp/http/httpServer.py:27
↓ 2 callersFunctionrun
(server_class=HTTPServer, handler_class=simpleHTTPServer, port=80)
functions/string/genSerializedUniqueNumber.py:115
↓ 2 callersMethodrun
(self, edit)
projects/WindowsSystemOps/Software/sublime_text_plugins/sublimeText3_plugin_add_info.py:22
↓ 2 callersMethodrun
send and receive pings in a loop. Stop if count or until deadline.
functions/net/icmp/another-ping.py:307
↓ 2 callersFunctionrun_command
run system command by subprocess.Popen in silent :param executable: executable command :return: return_code, stdout, stderr
projects/WindowsSystemOps/Software/Microsoft/IIS/replace-multilines.py:62
↓ 2 callersFunctionrun_command_u1
run system command by subprocess. u1: Combine stdout and stderr into stdout, such as 'exec >file 2>&1' :param executable: executable comm
functions/git/update_git_repos_by_pull.py:44
↓ 2 callersFunctionrun_ping
(destination, option="")
functions/net/icmp/ping-url-etc.py:52
↓ 2 callersMethodsaveImage
(imageUrl, fileName)
functions/net/tcp/http/spider/pySpiderSeleniumPhantomjs.py:147
↓ 2 callersFunctionshuffle
(obj_list)
functions/string/pyRandomSort.py:55
↓ 2 callersFunctionsqlite3_create_table_limits
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:126
↓ 2 callersFunctionstage_set
(stage_name='test')
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricWithStages.py:36
↓ 2 callersFunctionstart_service
(service_name)
projects/WindowsSystemOps/Services/ServiceControl.py:125
↓ 2 callersMethodstatus
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:117
↓ 2 callersMethodstop
Stop the daemon
projects/PythonDaemon/pydaemon.py:128
↓ 2 callersMethodstr2ip
(s)
functions/net/ip/GeoIP/chunzhen.net/parse-qqwry.dat.py:156
↓ 2 callersFunctionstr_to_date_py2_DannyCork
https://github.com/DannyCork/python-whois https://github.com/DannyCork/python-whois/blob/master/whois/_3_adjust.py :param s: :return
functions/date/pyStrToDatetime.py:144
↓ 2 callersFunctionstr_to_date_py2_gen1us2k
https://github.com/gen1us2k/python-whois https://github.com/gen1us2k/python-whois/blob/master/whois/_3_adjust.py :param s: :return:
functions/date/pyStrToDatetime.py:119
↓ 2 callersFunctionstr_to_date_py2_my
(s)
functions/date/pyStrToDatetime.py:68
↓ 2 callersFunctionstr_to_date_py2_my_u1
(s)
functions/date/pyStrToDatetime.py:97
↓ 2 callersFunctionsubprocess_call_background
(*args, **kwargs)
functions/system/command/pyPythonicRunSystemCommand.py:88
↓ 2 callersFunctionterminal_debug
(defName)
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:187
↓ 2 callersFunctionterminal_debug
(defName)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricBatchManager.py:96
← previousnext →201–300 of 1,705, ranked by callers