运行脚本报错,帮忙看一下

来源:12-12 程序主流程设计及代码实现-(4)

慕神7119415

2020-03-05

[root@iZ2zeab8t820b0fmkj8qfyZ ~]# sh app_status.sh mysql

ProcessName---------GroupName—Status----PID—CPU----MEMORY----StartTime—
GNU Awk 4.0.2
Copyright © 1989, 1991-2012 Free Software Foundation.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
GNU Awk 4.0.2
Copyright © 1989, 1991-2012 Free Software Foundation.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.

写回答

1回答

酷田

2020-03-06

您好,这样我不知道您脚本中具体内容,不好帮您排查具体错误,请把整个脚本内容发给我,我帮您调试原因

0
0

掌握Shell脚本编程 360架构师带你进阶Linux高手

30%知识讲解+70%实例操作 掌握Shell脚本编程能力

1646 学习 · 301 问题

查看课程