参看文档:
rsyslogd、systemd-journald内存占用高解决方案 | I Can I Up
linux学习-systemd-journald.service 简介 - 走看看
1、top查看
使用top命令查看系统的状态,M--按内存占用率排序
2、ps查看按内存排序的前2个进程
ps auxw|head -1;ps auxw|sort -rn -k4|head -2
[root@VM_42_193_tlinux /var/log]# ps auxw|head -1;ps auxw|sort -rn -k4|head -2
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 21049 0.1 59.5 9664240 9625952 ? Ss 2021 645:18 /usr/lib/systemd/systemd-journald
root 4426 0.0 31.4 5453296 5079852 ? Ssl 2020 718:59 /usr/sbin/