From 8571c51b156d174f4b0d7b2a672647f30f8ec053 Mon Sep 17 00:00:00 2001 From: dongjiao Date: Sun, 12 Jan 2025 12:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E7=A0=94=E4=BB=A3=E7=A0=81=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=85=AC=E5=8F=B8=E7=89=88=E6=9D=83=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- category/get_cpu_info.py | 9 ++++++++- category/get_disk_info.py | 7 +++++++ category/get_jvm_info.py | 9 ++++++++- category/get_memory_info.py | 7 +++++++ category/get_net_info.py | 7 +++++++ category/get_perf_info.py | 7 +++++++ category/get_sysparam_info.py | 7 +++++++ category/get_system_message.py | 7 +++++++ common/command.py | 7 +++++++ common/conf_check.py | 7 +++++++ common/config.py | 7 +++++++ common/customizefunctionthread.py | 7 +++++++ common/decorator_wrap.py | 7 +++++++ common/file.py | 7 +++++++ common/global_call.py | 7 +++++++ common/global_parameter.py | 7 +++++++ common/log.py | 9 ++++++++- common/threadpool.py | 9 ++++++++- common/tool_cmd.py | 7 +++++++ extuner.py | 7 +++++++ kyreport/extuner_report.html | 7 +++++++ kyreport/ky_data_collection.py | 7 +++++++ kyreport/ky_report.py | 7 +++++++ main.py | 7 +++++++ summary_info.py | 7 +++++++ 25 files changed, 179 insertions(+), 4 deletions(-) diff --git a/category/get_cpu_info.py b/category/get_cpu_info.py index 037e4d8..1d63e1e 100644 --- a/category/get_cpu_info.py +++ b/category/get_cpu_info.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Mon Nov 20 15:50:39 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 @@ -244,4 +251,4 @@ class CPUInfo: self.__get_pid_cpustat_info() self.__get_mpstat_info(self.__interval, self.__times) self.__get_sar_info(self.__interval, self.__times) - self.__get_numastat_info() \ No newline at end of file + self.__get_numastat_info() diff --git a/category/get_disk_info.py b/category/get_disk_info.py index c28340a..30ad190 100644 --- a/category/get_disk_info.py +++ b/category/get_disk_info.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: wuzhaomin + Date: Tue Feb 27 14:04:12 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/category/get_jvm_info.py b/category/get_jvm_info.py index 7badea6..c96d374 100644 --- a/category/get_jvm_info.py +++ b/category/get_jvm_info.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: 李璐 + Date: Tue Jun 25 18:05:43 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 @@ -80,4 +87,4 @@ class JVMInfo: if Command.cmd_exists('jstat'): self.__get_jstat_class() - self.__get_jstat_gc() \ No newline at end of file + self.__get_jstat_gc() diff --git a/category/get_memory_info.py b/category/get_memory_info.py index a88568e..c62bece 100644 --- a/category/get_memory_info.py +++ b/category/get_memory_info.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: lixiaoyong1 + Date: Tue Feb 27 13:54:14 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/category/get_net_info.py b/category/get_net_info.py index c17d53b..4e76daf 100644 --- a/category/get_net_info.py +++ b/category/get_net_info.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: 李璐 + Date: Tue Feb 27 11:40:58 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/category/get_perf_info.py b/category/get_perf_info.py index fb4e8e0..8d22731 100644 --- a/category/get_perf_info.py +++ b/category/get_perf_info.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: xiejing + Date: Wed Jun 12 10:38:05 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/category/get_sysparam_info.py b/category/get_sysparam_info.py index cff6799..e77562f 100644 --- a/category/get_sysparam_info.py +++ b/category/get_sysparam_info.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: lixiaoyong1 + Date: Fri Mar 22 14:21:39 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/category/get_system_message.py b/category/get_system_message.py index 3457c36..3190e0c 100644 --- a/category/get_system_message.py +++ b/category/get_system_message.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: wangxiaomeng + Date: Wed Jun 12 10:48:40 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/common/command.py b/common/command.py index 43f0e5b..da9e304 100644 --- a/common/command.py +++ b/common/command.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Thu Nov 23 14:47:50 2023 +0800 +''' # -*- coding:utf-8 -*- #!/usr/bin/env python # cython:language_level=3 diff --git a/common/conf_check.py b/common/conf_check.py index 785c8a6..5174590 100644 --- a/common/conf_check.py +++ b/common/conf_check.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: wuzhaomin + Date: Wed Jun 26 14:37:51 2024 +0800 +''' # -*- coding:utf-8 -*- #!/usr/bin/env python # cython:language_level=3 diff --git a/common/config.py b/common/config.py index 49e7344..c19c645 100644 --- a/common/config.py +++ b/common/config.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Fri Nov 17 09:30:22 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/common/customizefunctionthread.py b/common/customizefunctionthread.py index b4edd74..2dd0d1b 100644 --- a/common/customizefunctionthread.py +++ b/common/customizefunctionthread.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Tue Nov 28 09:34:21 2023 +0800 +''' import threading # 线程类 diff --git a/common/decorator_wrap.py b/common/decorator_wrap.py index 5ca01c4..1648f76 100644 --- a/common/decorator_wrap.py +++ b/common/decorator_wrap.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Tue Nov 28 09:35:26 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/common/file.py b/common/file.py index fb871f7..b8e4f00 100644 --- a/common/file.py +++ b/common/file.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Tue Nov 28 09:39:45 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/common/global_call.py b/common/global_call.py index 06e8d96..ac65bdb 100644 --- a/common/global_call.py +++ b/common/global_call.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Tue Nov 28 09:52:53 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/common/global_parameter.py b/common/global_parameter.py index 05c12c9..30e9325 100644 --- a/common/global_parameter.py +++ b/common/global_parameter.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Tue Nov 28 10:01:23 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/common/log.py b/common/log.py index efda35f..7f92e8a 100644 --- a/common/log.py +++ b/common/log.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Mon Nov 20 11:31:33 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 @@ -87,4 +94,4 @@ class Logger: @findcaller def error(self, msg, caller=''): self.__print('error', "{} - {}".format(caller, msg)) - \ No newline at end of file + diff --git a/common/threadpool.py b/common/threadpool.py index a4d9fd7..2a45440 100644 --- a/common/threadpool.py +++ b/common/threadpool.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Tue Nov 28 10:05:54 2023 +0800 +''' # -*- coding:utf-8 -*- #!/usr/bin/env python # cython:language_level=3 @@ -45,4 +52,4 @@ class ThreadPool(): data = future.result() Logger().debug("Thread task execution ends {} ".format(data)) - \ No newline at end of file + diff --git a/common/tool_cmd.py b/common/tool_cmd.py index 94bbbe8..dccf468 100644 --- a/common/tool_cmd.py +++ b/common/tool_cmd.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Tue Nov 28 10:03:01 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/extuner.py b/extuner.py index 53a59f0..8e2814b 100644 --- a/extuner.py +++ b/extuner.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Thu Nov 16 17:11:10 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/kyreport/extuner_report.html b/kyreport/extuner_report.html index 448739e..b6f0834 100644 --- a/kyreport/extuner_report.html +++ b/kyreport/extuner_report.html @@ -1,3 +1,10 @@ + diff --git a/kyreport/ky_data_collection.py b/kyreport/ky_data_collection.py index 37ee0f3..627bcde 100644 --- a/kyreport/ky_data_collection.py +++ b/kyreport/ky_data_collection.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Fri Aug 2 15:11:35 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/kyreport/ky_report.py b/kyreport/ky_report.py index 24ec04a..970c1b3 100644 --- a/kyreport/ky_report.py +++ b/kyreport/ky_report.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Wed Aug 14 00:05:21 2024 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/main.py b/main.py index 5a39a4c..3fe6edc 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Thu Nov 16 17:11:10 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 diff --git a/summary_info.py b/summary_info.py index 30cc21c..f821be8 100644 --- a/summary_info.py +++ b/summary_info.py @@ -1,3 +1,10 @@ +''' + Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. + extuner licensed under the Mulan Permissive Software License, Version 2. + See LICENSE file for more details. + Author: dongjiao + Date: Fri Nov 17 09:30:22 2023 +0800 +''' #!/usr/bin/env python # -*- coding: UTF-8 -*- # cython:language_level=3 -- Gitee