Sanity Commands #RHEL #sanity

Sanity Commands #RHEL #sanity

Here are the some commands of RHEL server regarding Sanity which is done after reboot of server that provides linux beginner to enhance his knowledge and give with its usage and with example:

  1. dmesg: This command displays messages from the kernel buffer. Example: dmesg | grep -i error
  2. uptime: This command displays system uptime information. Example: uptime -s
  3. netstat: This command displays network statistics. Example: netstat -s
  4. ifconfig: This command displays network interface configuration information. Example: ifconfig eth0
  5. ps: This command displays process information. Example: ps -ef | grep [process name]
  6. lsmod: This command displays loaded kernel modules. Example: lsmod | grep usb_storage
  7. lsblk: This command displays information about block and their attributes. Example: lsblk
  8. df: This command displays disk space usage information. Example: df -h
  9. service: This command manages system services. Example: service sshd start
  10. chkconfig: This command manages the runlevel services. Example: chkconfig --list
  11. uname: This command displays system information. Example: uname -a
  12. date: This command displays system date and time information. Example: date
  13. hostname: This command displays system hostname information. Example: hostname
  14. df -h : This command will show the mount points in your system.Example : # df -h
  15. cat /etc/resolv.conf: This important command will show DNS entries
  16. cat /etc/fstab : This will show the mount point entries in your system
  17. ?ps -ef|grep -i pmon : This will show status and if any database is running on the system it will show that.
  18. systemctl status chronyd : This command will show time sync status if disable so make it active
  19. systemctl status ntpd : Either chronyd or ntpd will running on the system
  20. netstat -r :netstat?command is used to show detailed network status information
  21. route :- The route command is the interface used to access the Linux kernel's routing tables.

Before doing reboot of the machine Need to check and note these status and after patch and reboot cross -verify all the things which you have noted if any

discrepancy arises connect to technical team of related department

#RHEL #sanity

要查看或添加评论,请登录

社区洞察

其他会员也浏览了