登录服务器时,提示了这个错误, 'abrt-cli status' timed out 经过查询资料,发现是abrtd.service这个服务引起的。...,管理多用户的,可以通过指令,检索当前状态, [oracle@VM-24-12-centos ~]$ systemctl status abrtd.service ● abrtd.service - ABRT...COMPLETE === 再次检索状态, [oracle@VM-24-12-centos ~]$ systemctl status abrtd.service ● abrtd.service - ABRT
那么怎么办呢,可以通过设置linux的abrt服务来实现。...修改abrt-action-save-package-data.conf文件 将其修改为: vi /etc/abrt/abrt-action-save-package-data.conf # With...See man abrt_selinux(8). # #DumpLocation = /var/spool/abrt # If you want to automatically clean the...abrt-ccpp.service systemctl status abrt-ccpp.service 查了一下systemctl status abrt-ccpp.service发现根本就没有起这个服务...再次百度 usr/libexec/abrt-hook-ccpp为什么这个进程一直在增加 因为无法创建ccpp文件导致的 需要修改/etc/abrt/abrt-action-save-package-data.conf
如果在启动jar包时,发现内存不足无法启动,并伴随着如下的日志 此时使用top命令查看各进程资源占用情况, 发现有一command为abrt-hook-ccpp的进程占用较多CPU和内存资源...,如上图所示,abrt是AUTOMATIC BUG REPORTING TOOL的缩写。...解决方案 为了解决该问题,可以关闭abrt-hook-ccpp,具体操作如下: systemctl stop abrt-ccpp.service 同时kill掉abrt-hook-ccpp进程 或者...修改/etc/abrt/abrt-action-save-package-data.conf中ProcessUnpackaged参数,改为yes 这里顺便附上禁用和查看abrt-ccpp服务的命令 systemctl...disable abrt-ccpp.service systemctl status abrt-ccpp.service 关闭后再次使用top查看进程使用资源情况,如下,发现已经不存在占用CPU和内存过高的进程了
systemctl list-units --type=service UNIT LOAD ACTIVE SUB DESCRIPTION abrt-ccpp.service...loaded active exited Install ABRT coredump hook abrt-oops.service loaded active...running ABRT kernel log watcher abrt-xorg.service loaded active running ABRT Xorg...log watcher abrtd.service loaded active running ABRT Automated Bug Reporting Tool accounts-daemon.service
x86_64 1.4.21-18.0.1.el7.centos @anaconda 1.5 M Removing for dependencies: abrt-addon-vmcore...x86_64 2.1.11-48.el7.centos @anaconda 41 k abrt-cli...x86_64 2.1.11-48.el7.centos @anaconda 0.0 abrt-console-notification x86_64 2.1.11...install 方式将被卸载的安装包再安装回来,当然这时如果不需要 iptables 服务可以不用再安装iptables root@BJ-CentOS7 ~ # yum -y install iptables abrt-addon-vmcore...abrt-cli abrt-console-notification dhclient dracut-network firewalld initscripts iproute kbd kexec-tools
在Linux下支持的信号(具体信号kill -l命令查看): SEGV, ILL, FPE, BUS, SYS, CPU, FSZ, ABRT, INT, TERM, HUP, USR1, USR2,...QUIT, BREAK, TRAP, PIPE 在Windows下支持的信号: SEGV, ILL, FPE, ABRT, INT, TERM, BREAK 备注:通过k8s结合java支持的信号处理eureka
localhost rdc]# systemctl -t service UNIT LOAD ACTIVE SUB DESCRIPTION abrt-ccpp.service...loaded active exited Install ABRT coredump hook abrt-oops.service loaded...active running ABRT kernel log watcher abrt-xorg.service loaded active running...ABRT Xorg log watcher abrtd.service loaded active running ABRT Automated Bug Reporting
termcap -rw-r–r--. 1 root root 43K Sep 23 2011 mime.types drwxr-xr-x. 3 root root 4.0K Dec 7 14:43 abrt...root@howtouselinux tmp# ls -l --block-size=K /etc/ total 1680K drwxr-xr-x. 3 root root 4K Dec 7 14:43 abrt...blkid/ 实例8:不打印所有者信息,使用-g参数 root@howtouselinux etc# ls -g total 1680 drwxr-xr-x. 3 root 4096 Dec 7 14:43 abrt...打印UID和GID代替用户名和组名,使用-n参数 root@howtouselinux etc# ls -n total 1680 drwxr-xr-x. 3 0 0 4096 Dec 7 14:43 abrt...增加/(斜线)标记目录,-p参数 root@howtouselinux etc# ls -lp total 1680 drwxr-xr-x. 3 root root 4096 Dec 7 14:43 abrt
─8*[{sh}] │ │ └─22*[{YDService}] │ └─9*[{YDLive}] ├─abrt-dbus...───3*[{abrt-dbus}] ├─acpid ├─2*[agetty] ├─atd ├─auditd───{auditd}...│ └─{NetworkManager}(749) ├─VGAuthService(681) ├─abrt-watch-log...(671) ├─abrt-watch-log(672) ├─abrtd(632) (4)显示指定进程号树状信息。
grep kernel kernel-headers-2.6.33.6-147.2.4.fc13.i686kernel-PAE-devel-2.6.33.6-147.2.4.fc13.i686abrt-addon-kerneloops...grep kernel kernel-headers-2.6.33.6-147.2.4.fc13.i686kernel-PAE-devel-2.6.33.6-147.2.4.fc13.i686abrt-addon-kerneloops
33.626s 查看具体的使用时间 [root@clsn system]# systemd-analyze blame 10.812s sshd-keygen.service 10.758s abrt-ccpp.service...-r 's#(.*)#systemctl disable g'|bash Removed symlink /etc/systemd/system/multi-user.target.wants/abrt-ccpp.service...Removed symlink /etc/systemd/system/multi-user.target.wants/abrt-oops.service....Removed symlink /etc/systemd/system/multi-user.target.wants/abrt-vmcore.service....Removed symlink /etc/systemd/system/multi-user.target.wants/abrt-xorg.service.
-rw-r--r--. 1 root root 16 8月 24 23:08 adjtime 我们拿 abrt 这个目录和 adjtime这个文件来解释。...//赋予abrt权限rwxr-xr-x chmod u=rwx ,g=rx,o=rx abrt //赋予abrt rwxr-xr-x...的所有者为 bob chgrp root abrt //改变 adjtime 所属的组为 root chgrp -R root abrt...//改变abc这个目录及其目录下所有的文件的所属的组织为 root chown ‐R root abrt //改变abc这个目录及其下面所有的文件和目录的所有者是 root...bob abrt ; -R , 递归的对所有目录内所有的文件和目录进行操作 , setfacl -R -m u:bob:rwx abrt ; -d , 设置默认的ACL规则
ABRT报告发现了一个问题 ABRT是一个自动汇报错误的工具,主要是为用户提供简洁的,全面的错误信息 对于系统用户来说,它主要从系统日志中查询可以的字符串,比如oops、Machine-check、Xorg...故障等,除了在系统日志中查询匹配外,它还检查kdump等记录故障的文件,从中提取系统错误信息,它提供了abrt-cli命令进行报告查看 通过提示命令查看 ?
8abrt-addon-pstoreoops-2.3.0-8.fc21.x86_64 9abrt-addon-python-2.3.0-8.fc21.x86_64 10abrt-addon-python3...-2.3.0-8.fc21.x86_64 11abrt-addon-vmcore-2.3.0-8.fc21.x86_64 12abrt-addon-xorg-2.3.0-8.fc21.x86_64 13abrt-cli...-2.3.0-8.fc21.x86_64 14abrt-dbus-2.3.0-8.fc21.x86_64 15abrt-desktop-2.3.0-8.fc21.x86_64 16abrt-gui-2.3.0...-8.fc21.x86_64 17abrt-gui-libs-2.3.0-8.fc21.x86_64 18abrt-java-connector-1.1.0-2.fc21.x86_64 19abrt-libs...-2.3.0-8.fc21.x86_64 20abrt-plugin-bodhi-2.3.0-8.fc21.x86_64 21abrt-python-2.3.0-8.fc21.x86_64 22abrt-python3
skill -l HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP...1 HUP 2 INT 3 QUIT 4 ILL 5 TRAP 6 ABRT 7 BUS 8 FPE 9 KILL 10 USR1
file or directory [root@bogon-agent ~]# ls /usr/lib/systemd/system/*.service /usr/lib/systemd/system/abrt-ccpp.service.../usr/lib/systemd/system/systemd-binfmt.service /usr/lib/systemd/system/abrt-oops.service.../usr/lib/systemd/system/systemd-bootchart.service /usr/lib/systemd/system/abrt-pstoreoops.service...kmod-static-nodes.service /usr/lib/systemd/system/systemd-firstboot.service /usr/lib/systemd/system/abrt-vmcore.service.../usr/lib/systemd/system/systemd-fsck-root.service /usr/lib/systemd/system/abrt-xorg.service
| 69 | 69 | virtual console memory owner | /dev | /sbin/nologin | | abrt...| x | 173 | 173 | | /etc/abrt | /sbin/...| 69 | 69 | virtual console memory owner | /dev | /sbin/nologin | | abrt...| x | 173 | 173 | | /etc/abrt | /sbin/
附:系统服务解析 服务名称 功能 默认 建议 备注说明 NetworkManager 用于自动连接网络,常用在Laptop上 开启 关闭 对服务器无用 abrt-ccpp 开启 自定 对服务器无用 abrt-oops
---- linux文件(主要是代码的树型查看) ---- tree ( 查看项目的目录结构) sudo apt-get install tree tree -d etc |-- abrt |...|-- abrt-action-save-package-data.conf | |-- abrt.conf | |-- gpg_keys | `-- plugins | |--
查看具体的使用时间 [root@clsn system]# systemd-analyze blame 10.812s sshd-keygen.service 10.758s abrt-ccpp.service...-r 's#(.*)#systemctl disable g'|bash Removed symlink /etc/systemd/system/multi-user.target.wants/abrt-ccpp.service...Removed symlink /etc/systemd/system/multi-user.target.wants/abrt-oops.service....Removed symlink /etc/systemd/system/multi-user.target.wants/abrt-vmcore.service....Removed symlink /etc/systemd/system/multi-user.target.wants/abrt-xorg.service.
领取专属 10元无门槛券
手把手带您无忧上云