pmonitor 1.1.4__tar.gz → 1.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pmonitor-1.1.4 → pmonitor-1.1.6}/PKG-INFO +1 -1
- {pmonitor-1.1.4 → pmonitor-1.1.6}/monitor/run_monitor.py +1 -1
- {pmonitor-1.1.4 → pmonitor-1.1.6}/pmonitor.egg-info/PKG-INFO +1 -1
- {pmonitor-1.1.4 → pmonitor-1.1.6}/setup.py +1 -1
- {pmonitor-1.1.4 → pmonitor-1.1.6}/README.md +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/monitor/WinPidUtil.py +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/monitor/__init__.py +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/monitor/get_process_name.py +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/monitor/monitor_mac.py +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/monitor/monitor_pids.py +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/monitor/monitor_win.py +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/monitor/sys_info.py +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/pmonitor.egg-info/SOURCES.txt +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/pmonitor.egg-info/dependency_links.txt +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/pmonitor.egg-info/entry_points.txt +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/pmonitor.egg-info/top_level.txt +0 -0
- {pmonitor-1.1.4 → pmonitor-1.1.6}/setup.cfg +0 -0
|
@@ -10,7 +10,7 @@ import asyncio
|
|
|
10
10
|
def main():
|
|
11
11
|
parser = argparse.ArgumentParser(description='指定进程名或进程Pid即可获取性能数据~')
|
|
12
12
|
parser.add_argument('-n', '--name', required=True, help='进程名称')
|
|
13
|
-
parser.add_argument('-t', '--time', help='采集间隔时间/s', type=
|
|
13
|
+
parser.add_argument('-t', '--time', help='采集间隔时间/s', type=float, default=1)
|
|
14
14
|
parser.add_argument('-i', '--info', help='输出当前系统使用情况', action='store_true')
|
|
15
15
|
args = parser.parse_args()
|
|
16
16
|
print(args)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|