Professional Documents
Culture Documents
Linux Reboot Due To Patch
Linux Reboot Due To Patch
# uptime
# yum install yum-utils
# needs-restarting -r
# needs-restarting -s
# uname -r
# rpm -qa kernel
•SKIP IF NO PSUSER.
# su - psuser
$ pm2 list
$ pm2 stop 6
$ exit
(ping the IP)
# reboot now
# uptime
# uname -r
# rpm -qa kernel
# cat /etc/redhat-release
--------------------------
For RHEL 7
# package-cleanup --oldkernels --count=1
For RHEL 8
# yum remove --oldinstallonly
For RHEL 7
# timedatectl set-ntp true ; systemctl restart ntpd ; systemctl enable
--now ntpd
# timedatectl ; ntpq -p ; ntpstat
For RHEL 8
# timedatectl set-ntp true ; systemctl restart chronyd ; systemctl
enable --now chronyd
# timedatectl ; chronyc sources ; chronyc tracking
Check Ivanti Status:
# systemctl status ISecAgent.service ; lsof -i:4155
--------------------------
# hostnamectl
# cat /etc/redhat-release
# needs-restarting -r
# needs-restarting -s