lista de comandos para evaluar el estado de un server RHEL.
Disk usage.
# df -al
Memory information.
# free
Network information.
# ifconfig -a
Installed Modules information.
#lsmod
Currently mounted filesystems/shares.
# mount
Process tree
# pstree
System uptime information.
# uptime
Services running in different runlevels.
# chkconfig --list
Generates hardware configuration report. (Not sure whether it is present in RH9)
# /usr/share/rhn/up2date_client/hardware.py
Installed RPMS.
# rpm -q --all
List of currently open files.
# lsof -b +M -n -l
Attached USB devices.
# lsusb
Routing table information.
# route -n
Partition table
# fdisk -l
System hostname
# hostname
IP Tables information
# iptables -t filter -nvL
Listing PCI Devices
# lspci
# lspci -n
# lspci -nv
# lspci -nvv
fuente:
http://h30499.www3.hp.com/t5/System-Administration/prtdiag-type-command-in-linux/td-p/3865609
No hay comentarios:
Publicar un comentario