MCPcopy Create free account

hub / github.com/DingGuodong/LinuxBashShellScriptForOps / functions

Functions1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps

Functionexample14
()
functions/file/python_handle_file/progressbar_example.py:178
Functionexample15
()
functions/file/python_handle_file/progressbar_example.py:190
Functionexample16
()
functions/file/python_handle_file/progressbar_example.py:202
Functionexample17
()
functions/file/python_handle_file/progressbar_example.py:210
Functionexample18
()
functions/file/python_handle_file/progressbar_example.py:220
Functionexample2
()
functions/file/python_handle_file/progressbar_example.py:58
Functionexample3
()
functions/file/python_handle_file/progressbar_example.py:80
Functionexample4
()
functions/file/python_handle_file/progressbar_example.py:90
Functionexample5
()
functions/file/python_handle_file/progressbar_example.py:103
Functionexample6
()
functions/file/python_handle_file/progressbar_example.py:112
Functionexample7
()
functions/file/python_handle_file/progressbar_example.py:121
Functionexample8
()
functions/file/python_handle_file/progressbar_example.py:128
Functionexample9
()
functions/file/python_handle_file/progressbar_example.py:135
Functionexample_another
()
functions/performance/other-performance-improvement/pyUseMapImprovePerformance.py:58
Functionexec_config_docker_engine
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:247
Functionexec_config_ssh_connection
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:240
Functionf
(url)
functions/performance/concurrence/gevent/concurrence.py:20
Functionf
(x)
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:115
Functionf1
(x)
functions/performance/multiprocessing/multiprocessing-catch-child-exception.py:37
Functionf1
(x)
functions/debug/use-traceback-example-01.py:37
Functionf2
()
functions/performance/multiprocessing/multiprocessing-catch-child-exception.py:50
Functionf2
()
functions/debug/use-traceback-example-01.py:50
Functionfacts_to_json
()
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:128
Functionfake_get_html
(times)
functions/performance/multithreading/threading-example-3-using-thread-pool.py:31
Functionfetch_one
(sql, args=None)
functions/nosql/database/mysql/using-mysql-as-conn-pool.py:36
Functionfetch_one
(sql, args=None)
functions/nosql/database/mysql/using-dbutils-as-conn-pool.py:48
Methodfetch_revision
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:133
Functionfib2_get
(y)
functions/performance/multithreading/threading-example-2-using-thread-pool.py:90
Functionfib2_set
(n)
functions/performance/multithreading/threading-example-2-using-thread-pool.py:79
Functionfib3
(n)
functions/performance/multithreading/threading-example-2-using-thread-pool.py:101
Functionfn_prompt
用于在函数前后打印信息并支持传参的装饰器 :param task_id: :return:
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:59
Functionfn_prompt
用于在函数前后打印信息并支持传参的装饰器 :param task_id: :return:
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:57
Functionfn_save_return
使用装饰器非侵入函数而将函数结果保存 :param func: :return:
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:82
Functionfn_timer
(func)
projects/LinuxSystemOps/SoftwareManagement/yum/pyTryInstallPackagesUntilSuccessfuss.py:63
Functionfn_timer
(func)
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:44
Functionfn_timer
(func)
projects/WindowsSystemOps/Services/pyBringExchangeServicesUp.py:83
Functionfn_timer
(func)
projects/WindowsSystemOps/Services/pyRestartExchangeServices.py:88
Functionfn_timer
(func)
projects/WindowsSystemOps/Services/pyServicesManagerBasedOnWMI.py:64
Functionfn_timer
(func)
functions/performance/multithreading/pyTestNoprocUsingMultiThreading.py:71
Functionfn_timer
测量函数执行所用时间的装饰器 :param func: :return:
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:37
Functionfn_timer
(func)
functions/performance/multithreading/threadingExample.py:15
Functionfn_timer
测量函数执行所用时间的装饰器 :param func: :return:
functions/performance/multithreading/threading-example-2-using-thread-pool.py:31
Functionfn_timer
(func)
functions/performance/multiprocessing/pyMultiprocessingExample.py:34
Functionfn_timer
(func)
functions/performance/multiprocessing/using-thread-pool-to-handle-io-intensive-task.py:47
Functionfn_timer
(func)
functions/performance/multiprocessing/pyMultithread.py:35
Functionfn_timer
测量函数执行所用时间的装饰器 :param func: :return:
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:35
Functionfn_timer
(func)
functions/performance/timeMeasure/timeMeasure.py:29
Functionfn_timer
(func)
functions/process/pyGetProcessProperty.py:31
Functionfn_timer_py2py3
测量函数执行所用时间的装饰器(调试和性能评估时使用) https://stackoverflow.com/questions/8885663/how-to-format-a-floating-number-to-fixed-width-in-python :param fu
projects/backupOps/backup-files-to-aliyun-oss.py:173
Functionfn_timer_py2py3
测量函数执行所用时间的装饰器 https://stackoverflow.com/questions/8885663/how-to-format-a-floating-number-to-fixed-width-in-python :param func: :ret
functions/performance/timeMeasure/timeMeasure.py:46
Functionfunc_as_task_to_do
()
functions/others/scheduler/pyApschedulerOps.py:38
Functionfunc_timer
(*args, **kwargs)
projects/LinuxSystemOps/SoftwareManagement/zabbix/clean-zabbix-histroy-and-trend-data.py:47
Functionfunc_timer
(*args, **kwargs)
projects/WindowsSystemOps/Filesystem/file-encoding-converter-and-compress-to-zip.py:92
Functionfunc_timer
(*args, **kwargs)
projects/backupOps/backup-files-to-aliyun-oss.py:183
Functionfunc_timer
(*args, **kwargs)
functions/performance/timeMeasure/timeMeasure.py:56
Functionfunction_timer
(*args, **kwargs)
projects/LinuxSystemOps/SoftwareManagement/yum/pyTryInstallPackagesUntilSuccessfuss.py:67
Functionfunction_timer
(*args, **kwargs)
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:48
Functionfunction_timer
(*args, **kwargs)
projects/WindowsSystemOps/Services/pyBringExchangeServicesUp.py:87
Functionfunction_timer
(*args, **kwargs)
projects/WindowsSystemOps/Services/pyRestartExchangeServices.py:92
Functionfunction_timer
(*args, **kwargs)
projects/WindowsSystemOps/Services/pyServicesManagerBasedOnWMI.py:68
Functionfunction_timer
(*args, **kwargs)
functions/performance/multithreading/pyTestNoprocUsingMultiThreading.py:75
Functionfunction_timer
(*args, **kwargs)
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:46
Functionfunction_timer
(*args, **kwargs)
functions/performance/multithreading/threadingExample.py:19
Functionfunction_timer
(*args, **kwargs)
functions/performance/multithreading/threading-example-2-using-thread-pool.py:40
Functionfunction_timer
(*args, **kwargs)
functions/performance/multiprocessing/pyMultiprocessingExample.py:38
Functionfunction_timer
(*args, **kwargs)
functions/performance/multiprocessing/using-thread-pool-to-handle-io-intensive-task.py:51
Functionfunction_timer
(*args, **kwargs)
functions/performance/multiprocessing/pyMultithread.py:39
Functionfunction_timer
(*args, **kwargs)
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:44
Functionfunction_timer
(*args, **kwargs)
functions/performance/timeMeasure/timeMeasure.py:33
Functionfunction_timer
(*args, **kwargs)
functions/process/pyGetProcessProperty.py:35
Functiongenerate_base32_secret_key
()
functions/string/encrypt/python-rfc4226-rfc6238.py:57
Functiongenerate_time
生成一个格式为“%H%M”时间字符串 :return: str
functions/date/datetime-related-calculate.py:36
Functiongenerate_time_list
生成多个“重复”对象 :param num: :return:
functions/date/datetime-related-calculate.py:47
Functiongenerate_word_cloud
Generate a Word cloud :param path: the path to text file :return: WordCloud
functions/others/graph/genterate-a-word-cloud.py:38
FunctiongetConfParserVersion
()
functions/file/ConfParser/confparser-confToDict.py:271
FunctiongetConfValue
(pathFile, confName)
functions/file/ConfParser/confparser-confToDict.py:129
MethodgetContainerInfo
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:318
MethodgetContainerInfo
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:319
MethodgetContainerNameById
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:333
FunctiongetNumberOfElementsInDict
(var)
functions/file/ConfParser/confparser-confToDict.py:265
MethodgetPPPid
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:173
MethodgetPPidCmdline
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:165
MethodgetPidInput
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:80
MethodgetServiceStatus
(self, name)
projects/WindowsSystemOps/Services/pyManageServicesOnOtherWindowsSystem.py:106
Functionget_accept_info_unique
()
projects/WindowsSystemOps/Software/Microsoft/Exchange/FindPassedEmailProviderFromAgentLog.py:37
Functionget_all_nginx_clients_ip
(data_source)
projects/LinuxSystemOps/Security/nginx/get-all-nginx-clients-ip.py:39
Functionget_all_tasks
()
projects/WindowsSystemOps/Software/Microsoft/TaskScheduler/check-task-scheduler-status.py:41
Functionget_and_set_time_related
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:372
Functionget_block_info_unique
()
projects/WindowsSystemOps/Software/Microsoft/Exchange/FindBlockedEmailProviderFromAgentLog.py:37
Functionget_cpu_percent
()
functions/system/getSystemStatus.py:122
Functionget_disk_usage
(path)
projects/LinuxSystemOps/Filesystem/remove_old_error_log.py:136
Functionget_file_from_ftp
(ftp, src, dst)
functions/net/tcp/sftp/py-ftps-client-ops.py:105
Functionget_hostname
()
functions/system/getSystemStatus.py:118
Functionget_html_charset
(p_html)
functions/net/tcp/http/pythonHttpOps_urllib2.py:30
Functionget_ip_address_external
()
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:371
Functionget_ip_from_accept_info_unique
()
projects/WindowsSystemOps/Software/Microsoft/Exchange/FindPassedEmailProviderFromAgentLog.py:50
Functionget_ip_from_block_info_unique
()
projects/WindowsSystemOps/Software/Microsoft/Exchange/FindBlockedEmailProviderFromAgentLog.py:50
Functionget_ip_with_ends
get full ip address with ip from config.json, ip num can be fourth part or full ip, such as '3' in '192.168.1.3' :param num: ip :type num
projects/WindowsSystemOps/Account/windows-user-accounts-manager.py:68
Methodget_isp
(self)
functions/net/ip/GeoIP/pyTaobaoGeoIPOps.py:102
Functionget_keyword_from_name
name type1: master2018-03-28 01.00.00.bak --> master name type2: master_backup_2020_05_15_145050_0886796.bak --> master name type3: Repor
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.1.py:136
← previousnext →1,301–1,400 of 1,705, ranked by callers