MCPcopy Create free account

hub / github.com/DingGuodong/LinuxBashShellScriptForOps / functions

Functions1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps

↓ 1 callersMethodget_version
(self)
functions/net/ip/GeoIP/chunzhen.net/parse-qqwry.dat.py:44
↓ 1 callersFunctionget_wallpaper_path
()
projects/WindowsSystemOps/Software/Others/pyGetLockScreenWallpaperOnWindows10.py:32
↓ 1 callersFunctionget_wanted_directories
(path)
projects/LinuxSystemOps/Filesystem/du.py:32
↓ 1 callersFunctionget_wanted_resource
(link)
functions/string/html/python-get-resource-from-weixin-mp.py:129
↓ 1 callersFunctionget_weekly_backups
get $count weekly backups, 获取$count个周备份, 即周备份保存$count个 :param files_list: :param count: :return: FIXME:TODO: known bug: just can
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.1.py:236
↓ 1 callersFunctionget_weekly_backups
get $count weekly backups, 获取$count个周备份, 即周备份保存$count个 :param files_list: :param count: :return: FIXME:TODO: known bug: just can
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:242
↓ 1 callersFunctionget_whois_info
(domain_name)
functions/net/dns/python-whois-query.py:84
↓ 1 callersMethodget_zabbix_lld_json
(self)
functions/net/tcp/port/getTCPPortListenedOnLocal.py:103
↓ 1 callersFunctionget_zip_path
(full_path_to_zip_file)
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:96
↓ 1 callersFunctiongetuser
Get the username from the environment or password database. First try various environment variables, then the password database. Thi
projects/WindowsSystemOps/System/pyScheduleTask.py:46
↓ 1 callersFunctiongetuser
Get the username from the environment or password database. First try various environment variables, then the password database. Thi
functions/net/tcp/http/spider/pySpiderSeleniumPhantomjs-demo2-douban.py:117
↓ 1 callersFunctiongetuser
Get the username from the environment or password database. First try various environment variables, then the password database. Thi
functions/net/tcp/http/spider/pySpiderSeleniumPhantomjs.py:184
↓ 1 callersFunctiongetuser
Get the username from the environment or password database. First try various environment variables, then the password database. This works
functions/process/killProcessByName.py:15
↓ 1 callersFunctionghost_decrypt_data_from_file_master_sent
ghost peer decrypt the encrypted data from a file which master peer generated :param path: :return: plain text from master peer sent
functions/string/encrypt/pyEncryptDecryptExample.py:82
↓ 1 callersFunctiongit_clone
(repository, directory=".", branch='master', max_retries=10)
projects/WindowsSystemOps/Software/VcsGit/git-clone-until-success.py:33
↓ 1 callersFunctiongit_pull_u1
u1: combines multiple standard outputs into one standard output with external function "run_command_u1" :param path: :return:
functions/git/update_git_repos_by_pull.py:72
↓ 1 callersFunctiongoogle_authenticator_compatible
()
functions/string/encrypt/python-rfc4226-rfc6238.py:62
↓ 1 callersFunctiongoogle_public_dns_query
(name)
functions/net/dns/queryDnsFromGoogleDnsOverHttps.py:20
↓ 1 callersFunctionhelp
()
functions/options/tiny-script-for-argument-options.py:60
↓ 1 callersMethodhttp_request
(self)
projects/LinuxSystemOps/SoftwareManagement/zabbix/zabbix-monitor-nginx-stub-status.py:54
↓ 1 callersFunctionhttp_server_watcher
(url)
functions/net/tcp/http/watch-http-server-status.py:62
↓ 1 callersMethodincrease_used
(used, date)
projects/WeChatOps/pySendMessageWithWeChat/odbp_sendMessagewithCount.py:69
↓ 1 callersFunctioninitLoggerWithRotate
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:98
↓ 1 callersFunctioninitLoggerWithRotate
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:111
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:52
↓ 1 callersFunctioninitLoggerWithRotate
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:47
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:48
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
projects/WindowsSystemOps/Filesystem/backup-addc.py:31
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:22
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
projects/backupOps/MongoDB/backupMongoDB.py:24
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
projects/backupOps/FileSystem/backupLargeFilesToLocal.py:42
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None)
functions/log/pythonLogging.py:19
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
functions/log/pyLogging_u2.py:21
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
functions/log/pyLogging.py:22
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
functions/log/pyLogging_u1.py:22
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
functions/net/tcp/ssh/pySettingSSHTrust.py:44
↓ 1 callersFunctioninitLoggerWithRotate
(logPath="/var/log", logName=None, singleLogFile=True)
functions/string/genSerializedUniqueNumber.py:21
↓ 1 callersFunctioninit_sqlite_database
初始化sqlite数据库,如创建适当的表结构 NAME 进程名称 PID 进程PID PPID 进程PPID STATUS 进程状态
projects/WindowsSystemOps/System/pyProcessMonitor.py:47
↓ 1 callersFunctioninject_admin_ssh_public_key
Second job to run Inject Admin user's ssh key to each host :return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:178
↓ 1 callersFunctioninject_admin_ssh_public_key
Second job to run Inject Admin user's ssh key to each host :return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:174
↓ 1 callersFunctioninsert_new_process_records
将采集到的进程信息写入数据库,如果进程已存在(pid和name相同)则略过 :return:
projects/WindowsSystemOps/System/pyProcessMonitor.py:88
↓ 1 callersFunctioninstall_ansible
()
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:71
↓ 1 callersFunctioninstall_basic_packages
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:217
↓ 1 callersFunctioninstall_docker_engine
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:222
↓ 1 callersFunctioninstall_packages_base
facter -> collect and display facts about the system :return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:110
↓ 1 callersFunctioninstall_packages_base
facter -> collect and display facts about the system :return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:138
↓ 1 callersFunctioninstall_service
()
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:136
↓ 1 callersFunctionint2hex
(number)
functions/process/getPortFromFileOnLinux.py:15
↓ 1 callersFunctionipToNetAndHost
returns tuple (network, host) dotted-quad addresses given IP and mask size
functions/net/ip/ipAddressConversionFunctions.py:25
↓ 1 callersMethodisDockerContainerId
(containerId)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:71
↓ 1 callersMethodisDockerContainerId
(containerId)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:72
↓ 1 callersMethodisDockerRelatedProcess
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:206
↓ 1 callersMethodisDockerRelatedProcess
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:207
↓ 1 callersMethodisExistedPid
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:95
↓ 1 callersMethodisExistedPid
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:96
↓ 1 callersMethodisLegalPid
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:89
↓ 1 callersMethodisLegalPid
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:90
↓ 1 callersFunctionis_ansible_installed
()
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:60
↓ 1 callersMethodis_authenticated
(self)
functions/net/tcp/ldap/pyAuthenticationByLDAP.py:120
↓ 1 callersFunctionis_can_remove_action
checkout if available disk usage < 5GB :param disk: disk label, such as 'C', 'D', "C:", "C:\\" :type disk: str :return: boolean :
projects/WindowsSystemOps/Filesystem/remove-backup-files-to-keep-disk-usable.py:109
↓ 1 callersFunctionis_common_event_id
(event_id)
projects/WindowsSystemOps/System/WinEvtLog/read-win32evtlog.py:77
↓ 1 callersFunctionis_ctime_same_month
(left, right)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:241
↓ 1 callersFunctionis_ctime_same_week
(left, right)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:247
↓ 1 callersFunctionis_executable
is the given path executable? Limitations: * Does not account for FSACLs. * Most times we really want to know "Can the current user execu
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:236
↓ 1 callersFunctionis_file_encoding_with_utf8_or_utf16
usage: is_file_encoding_with_utf8_or_utf16("test_utf8.csv", 'utf-8') -> True is_file_encoding_with_utf8_or_utf16("test_utf8.csv",
projects/WindowsSystemOps/Filesystem/file-encoding-converter-and-compress-to-zip.py:110
↓ 1 callersFunctionis_inventory_set
(inventory_file="/etc/ansible/hosts")
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:103
↓ 1 callersFunctionis_iterable
(source)
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:234
↓ 1 callersMethodis_key_registered
(self, key)
functions/net/tcp/ssh/pySettingSSHTrust.py:199
↓ 1 callersFunctionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:40
↓ 1 callersFunctionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:43
↓ 1 callersFunctionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:102
↓ 1 callersFunctionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:98
↓ 1 callersFunctionis_linux
()
functions/net/ip/pyPingIcmpNetworkLatencyV2.py:37
↓ 1 callersFunctionis_match_regex
(string, regex_expression)
projects/LinuxSystemOps/Filesystem/remove_old_error_log.py:79
↓ 1 callersFunctionis_node_alive_with_icmp_ping
(ip)
functions/net/others/inspect-alive-nodes.py:89
↓ 1 callersFunctionis_node_alive_with_port_opened
(ip)
functions/net/others/inspect-alive-nodes.py:76
↓ 1 callersFunctionis_port_can_be_connected
(ip, port)
functions/net/others/inspect-alive-nodes.py:57
↓ 1 callersFunctionis_port_open
:param host: str :param port: int :return: boolean
functions/net/tcp/port/pyCheckRemoteHostPortStatus.py:31
↓ 1 callersFunctionis_port_open
:param host: str :param port: int :return: boolean
functions/net/tcp/port/find-host-which-port-opened.py:30
↓ 1 callersFunctionis_private_ipv4
check if the given ip address is valid and private ip :param ip: :param version: :return:
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:346
↓ 1 callersFunctionis_private_ipv4
check if the given ip address is valid and private ip :param ip: :param version: :return:
functions/net/ip/validate_ip_address.py:42
↓ 1 callersFunctionis_private_ipv4
(ip, version=4)
functions/net/ip/pySortingIP.py:52
↓ 1 callersFunctionis_private_ipv4
(ip)
functions/net/tcp/port/monitor_tcp_status.py:53
↓ 1 callersFunctionis_process_exist
判断进程是否在运行中(存在) :param pid: process pid :param name: process name :return:
projects/WindowsSystemOps/System/pyProcessMonitor.py:153
↓ 1 callersFunctionis_remote_file_exist
(path)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:338
↓ 1 callersFunctionis_remote_file_exist
(path)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:409
↓ 1 callersFunctionis_same_domain
Return ``True`` if the host is either an exact match or a match to the wildcard pattern. Any pattern beginning with a period matches a d
functions/net/ip/validate_ip_or_domain_ACL.py:60
↓ 1 callersFunctionis_sudo
()
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:51
↓ 1 callersFunctionis_url_can_get
(url)
functions/net/tcp/http/pyCheckWebsitesStatus.py:57
↓ 1 callersFunctionis_url_valid
(url)
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:245
↓ 1 callersFunctionis_url_valid
(url)
functions/net/ip/getIPAddressFromDomainName.py:55
↓ 1 callersFunctionis_valid_ip4_address
see also IPy.parseAddress() Parse a string and return the corresponding IP address (as integer) and a guess of the IP version.
functions/net/icmp/another-ping.py:104
↓ 1 callersFunctionis_valid_ipv4
(ip, version=4)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:143
↓ 1 callersFunctionis_valid_ipv4
(ip, version=4)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:139
↓ 1 callersFunctionis_valid_ipv4
(ip, version=4)
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:337
↓ 1 callersFunctionis_valid_ipv4
(ip, version=4)
functions/net/ip/pySortingIP.py:43
↓ 1 callersFunctionis_valid_login
(token)
projects/PythonHTTPServer/sampleHTTPServerOverFlask.py:44
↓ 1 callersFunctionis_valid_service_name
(service_name)
projects/WindowsSystemOps/Services/ServiceControl.py:227
↓ 1 callersFunctionis_valid_url
(p_url)
functions/net/tcp/http/pythonHttpOps_urllib2.py:10
↓ 1 callersFunctionis_windows
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:51
← previousnext →701–800 of 1,705, ranked by callers