MCPcopy Create free account

hub / github.com/DingGuodong/LinuxBashShellScriptForOps / functions

Functions1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps

↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/LinuxSystemOps/Services/service-starter.py:105
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.1.py:57
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:69
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/WindowsSystemOps/Filesystem/remove-backup-files-to-keep-disk-usable.py:41
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/WindowsSystemOps/Filesystem/compress-backup-files.py:55
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:66
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files.py:54
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/WindowsSystemOps/Filesystem/file-encoding-converter-and-compress-to-zip.py:47
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
projects/backupOps/backup-files-to-aliyun-oss.py:77
↓ 1 callersFunctionset_file_logger_date
(filename, name="mylog", saves=10, level=logging.INFO, format_string=None)
functions/log/pyLogging_u3.1.py:34
↓ 1 callersFunctionset_inventory
(inventory_file="/etc/ansible/hosts")
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:75
↓ 1 callersFunctionset_logger
(filename, name="root", saves=10, level=logging.INFO, format_string=None)
functions/log/pyLogging_u5.py:37
↓ 1 callersFunctionset_oss_file_expired
关于prefix: https://help.aliyun.com/knowledge_detail/39527.html OSS中的文件夹其实是一个大小为0KB的空文件。因此,用户创建一个key值为1/的object就会定义文件夹1; 并且如果用户创建文件abc/
projects/backupOps/backup-files-to-aliyun-oss.py:271
↓ 1 callersMethodset_release_path
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:161
↓ 1 callersFunctionset_security_limits
nofile - max number of open files, 1024, 65536 nproc - max number of processes, 16384, 16384 stack - max stack size (KB), 10240, 32768
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:266
↓ 1 callersFunctionset_security_limits
nofile - max number of open files, 1024, 65536 nproc - max number of processes, 16384, 16384 stack - max stack size (KB), 10240, 32768
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:315
↓ 1 callersFunctionset_stream_logger
stream logger for debug purpose
projects/LinuxSystemOps/Services/service-starter.py:132
↓ 1 callersFunctionset_stream_logger
stream logger for debug purpose
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.1.py:84
↓ 1 callersFunctionset_stream_logger
stream logger for debug purpose
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:96
↓ 1 callersFunctionset_stream_logger
stream logger for debug purpose
projects/WindowsSystemOps/Filesystem/compress-backup-files.py:82
↓ 1 callersFunctionset_stream_logger
stream logger for debug purpose
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:93
↓ 1 callersFunctionset_stream_logger
stream logger for debug purpose
projects/WindowsSystemOps/Filesystem/clean-old-backup-files.py:81
↓ 1 callersFunctionset_stream_logger
stream logger for debug purpose
functions/others/scheduler/APScheduler-quick-start.py:52
↓ 1 callersFunctionset_stream_logger
stream logger for debug purpose
functions/log/pyLogging_u4.py:75
↓ 1 callersFunctionset_timezone
set timezone to Asia/Shanghai note: /usr/share/zoneinfo/PRC == /usr/share/zoneinfo/Asia/{Shanghai, Chongqing}
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:108
↓ 1 callersFunctionsetup
Prepares one or more servers for deployment
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:182
↓ 1 callersFunctionsetup
Prepares one or more servers for deployment, like 'cap install' Capistrano uses a strictly defined directory hierarchy on each remote server t
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:196
↓ 1 callersMethodsetup_signal_handler
(self)
functions/net/icmp/another-ping.py:292
↓ 1 callersMethodshared_path
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:167
↓ 1 callersMethodshort_id
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:129
↓ 1 callersFunctionshow_domain_info
(hostname)
projects/LinuxSystemOps/SoftwareManagement/zabbix/get-domain-ssl-info.py:107
↓ 1 callersFunctionshow_domain_info
(hostname)
functions/net/tcp/ssl/get-domain-ssl-info.py:132
↓ 1 callersFunctionshow_header
()
functions/system/getSystemStatus.py:69
↓ 1 callersFunctionshow_login_hosts
show hosts login, return a list, such as :param user: :return :type: list
functions/nosql/database/mysql/pyMysqlLoginMonitor.py:115
↓ 1 callersFunctionshow_login_hosts_statistics
show statistics information about hosts login, return host and login times in dict type :param user: :return:
functions/nosql/database/mysql/pyMysqlLoginMonitor.py:137
↓ 1 callersFunctionshow_network_latency
(hostname, ping_count=4, show_detail=False)
functions/others/performance_measurement/network_latency.py:32
↓ 1 callersFunctionshow_system_dist_and_version
To determine the distribution and version of Linux installed :return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:82
↓ 1 callersFunctionshow_system_dist_and_version
To determine the distribution and version of Linux installed :return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:99
↓ 1 callersFunctionshrink_database
shrink LDF file in MS SQL SERVER :return:
projects/backupOps/backup-files-to-aliyun-oss.py:445
↓ 1 callersMethodshuffle
x, random=random.random -> shuffle list x not in place; return x. Optional arg random is a 0-argument function returning a random flo
functions/string/pyRandomSort.py:33
↓ 1 callersFunctionsignature_message
master peer signature the encrypted data file :param message: :return:
functions/string/encrypt/pyEncryptDecryptExample.py:98
↓ 1 callersFunctionsleep_random_seconds
(start=20, end=30)
functions/net/tcp/http/requests-good-examples.py:34
↓ 1 callersFunctionsome_func
(x)
functions/performance/multiprocessing/multiprocessing-catch-child-exception.py:33
↓ 1 callersFunctionsome_func
(x)
functions/debug/use-traceback-example-01.py:33
↓ 1 callersFunctionsort_app_paths_by_ctime
:param apps_list: 未经过排序的服务列表 :return: list 返回按照文件或目录创建时间顺序的列表,按照时间从旧到新排列
projects/LinuxSystemOps/Services/service-starter.py:193
↓ 1 callersFunctionsort_files_by_ctime
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.1.py:178
↓ 1 callersFunctionsort_files_by_ctime
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:187
↓ 1 callersFunctionsort_files_by_ctime_with_regex_match
(path=None, regex=None, excludes=None)
projects/LinuxSystemOps/Filesystem/remove_old_error_log.py:68
↓ 1 callersFunctionsort_files_by_mtime
path can be basestring type or iterable :param path: :return:
projects/backupOps/backup-files-to-aliyun-oss.py:410
↓ 1 callersFunctionsort_files_by_size
(files_list)
projects/WindowsSystemOps/Filesystem/remove-backup-files-to-keep-disk-usable.py:125
↓ 1 callersFunctionsplit_by_regex_pattern
()
functions/string/regex/get-wanted-content-using-regex-.py:66
↓ 1 callersFunctionsqlite3_create_table_account
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:113
↓ 1 callersFunctionsqlite3_create_table_account
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:110
↓ 1 callersFunctionsqlite3_create_table_token
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:97
↓ 1 callersFunctionsqlite3_create_table_token
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:94
↓ 1 callersFunctionsqlite3_set_credential
(corpid, secret)
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:155
↓ 1 callersFunctionsqlite3_set_credential
(corpid, secret)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:145
↓ 1 callersFunctionsqlite3_set_token
(access_token, expires_in, expires_on, is_expired)
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:173
↓ 1 callersFunctionsqlite3_update_account
(new_corpid, new_secret)
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:243
↓ 1 callersFunctionsqlite3_update_token
(access_token, expires_on)
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:231
↓ 1 callersMethodstartServiceName
(self, name)
projects/WindowsSystemOps/Services/pyManageServicesOnOtherWindowsSystem.py:114
↓ 1 callersMethodstartServiceName
(self, name)
projects/WindowsSystemOps/Services/pyServicesManagerBasedOnWMI.py:134
↓ 1 callersFunctionstart_service
(service_name='TermService')
projects/WindowsSystemOps/Services/pyBringExchangeServicesUp.py:109
↓ 1 callersMethodstopServiceName
(self, name)
projects/WindowsSystemOps/Services/pyManageServicesOnOtherWindowsSystem.py:124
↓ 1 callersMethodstopServiceName
(self, name)
projects/WindowsSystemOps/Services/pyServicesManagerBasedOnWMI.py:145
↓ 1 callersFunctionstop_service
(service_name)
projects/WindowsSystemOps/Services/ServiceControl.py:154
↓ 1 callersFunctionstop_update_process
()
projects/WindowsSystemOps/Software/Microsoft/Windows/disable-windows-update.py:33
↓ 1 callersMethodsuccess
(self, msg)
functions/log/pyLogging_u3.py:50
↓ 1 callersFunctionsymlink
Updates the symlink to the most recently deployed version
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:219
↓ 1 callersFunctionsymlink
Updates the symlink to the most recently deployed version
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:266
↓ 1 callersFunctiontail_forever
(filename)
functions/string/py-tail-following-filename.py:67
↓ 1 callersFunctiontar_compress_file
(save, src)
functions/file/pyDataCompressionAndArchiving.py:33
↓ 1 callersFunctiontask
(number)
functions/performance/multiprocessing/pyMultiprocessingExample.py:51
↓ 1 callersFunctiontask
(number)
functions/performance/multiprocessing/pyMultithread.py:52
↓ 1 callersFunctionterminal_debug
(defName)
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:149
↓ 1 callersFunctionterminal_debug
(fabric_task)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:304
↓ 1 callersFunctionterminal_debug
(defName)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:379
↓ 1 callersFunctionterminal_debug
(fabric_task)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:359
↓ 1 callersFunctionterminal_debug
(defName)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:309
↓ 1 callersFunctionterminal_debug_posix
(func)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:78
↓ 1 callersFunctionterminal_debug_posix
(func)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:217
↓ 1 callersFunctionterminal_debug_win32
(func)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:71
↓ 1 callersFunctionterminal_debug_win32
(func)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:210
↓ 1 callersFunctiontest
()
functions/net/tcp/sftp/py-ftps-client-oop.py:130
↓ 1 callersFunctiontest_no_thread_pool
()
functions/performance/multithreading/threading-example-2-using-thread-pool.py:125
↓ 1 callersFunctiontest_no_thread_pool_1
()
functions/performance/multithreading/threading-example-2-using-thread-pool.py:130
↓ 1 callersFunctiontest_nofile
(count=-1)
projects/LinuxSystemOps/System/test-system-limit-nofile-nproc.py:46
↓ 1 callersFunctiontest_nproc
(count=-1)
projects/LinuxSystemOps/System/test-system-limit-nofile-nproc.py:77
↓ 1 callersFunctiontest_thread_pool
works fine in Python3, not works in Python2 :return:
functions/performance/multithreading/threading-example-2-using-thread-pool.py:109
↓ 1 callersFunctiontest_timeout
(seconds)
functions/performance/timeMeasure/setTimeout.py:16
↓ 1 callersFunctionthrow_exception
my define raise exception function
projects/WeChatOps/WXBizMsgCrypt/WXBizMsgCrypt.py:78
↓ 1 callersFunctiontimestamp_to_datetime
(timestamp)
functions/date/datetime-related-calculate.py:125
↓ 1 callersFunctionto_ip
(addr)
functions/net/icmp/another-ping.py:126
↓ 1 callersFunctionto_lxml
(record_xml)
projects/WindowsSystemOps/System/WinEvtLog/read-win32evtlog.py:52
↓ 1 callersFunctionto_string
:param name: :type name: list|str|set :return: :rtype:
functions/net/dns/python-whois-query.py:33
↓ 1 callersFunctionto_string_lower_and_uniq
:param name: :type name: str|list :return: :rtype: str
functions/net/dns/python-whois-query.py:46
↓ 1 callersFunctionto_unicode_or_bust
convert non-unicode object to unicode object :param obj: str object or unicode :param encoding: :return:
projects/backupOps/MySQL/backup-mysql-to-remote-over-ssh.py:66
↓ 1 callersFunctionto_unicode_or_bust
convert non-unicode object to unicode object :param obj: str object or unicode :param encoding: :return:
projects/backupOps/FileSystem/clean-old-backups-with-given-directory.py:35
↓ 1 callersFunctionto_unicode_or_bust
(obj, encoding='utf-8')
functions/net/dns/pyDnsQueryRR.py:100
↓ 1 callersFunctionto_unicode_or_bust
(obj, encoding='utf-8')
functions/net/tcp/email/sendEmailWithAttachments.py:41
← previousnext →1,001–1,100 of 1,705, ranked by callers