Update task_manager_index.py

pull/586/head
Mr Chen 11 months ago
parent 6a584ccf7b
commit 1ffe197d69
  1. 5
      plugins/task_manager/task_manager_index.py

@ -321,7 +321,10 @@ class mainClass(object):
if p_exe:
if name == 'php-fpm':
try:
php_version = p_exe.split('/')[-3][3:]
if self.is_mac:
php_version = p_exe.split('/')[-3][3:]
else:
php_version = p_exe.split('/')[-3]
return 'PHP' + php_version + '进程'
except:
pass

Loading…
Cancel
Save