pull/445/head
midoks 2 years ago
parent d35a680fec
commit 050bd158c1
  1. 10
      plugins/dynamic-tracking/vesions/macos.sh
  2. 2
      plugins/mysql-apt/index.py

@ -8,4 +8,12 @@ rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath")
install_tmp=${rootPath}/tmp/mw_install.pl
SYS_ARCH=`arch`
SYS_ARCH=`arch`
# 关于macosx使用dtrace
# https://groups.google.com/g/openresty/c/MswlH_8DDHA
# http://dtrace.org/blogs/brendan/2012/11/14/dtracing-in-anger/
# sudo dtrace -x ustackframes=100 -n 'pid$target::mach_msg_trap:entry { @[ustack()] = count(); } tick-30s { exit(0); }' -p 2915 -o out.SystemUIServer_stacks

@ -2751,7 +2751,7 @@ def installPreInspection(version):
if not sysName in ('debian', 'ubuntu'):
return '仅支持debian,ubuntu'
if (sysName == 'debian' and not sysId in('11', '10')):
if (sysName == 'debian' and not sysId in('12', '11', '10')):
return 'debian支持10,11'
if (sysName == 'ubuntu' and version == '5.7' and not sysId in ('18.04')):

Loading…
Cancel
Save