I've listed some command-line utilities that help you to understand the system and hardware where you run your Linux operating system. Some of these utilities are specialized, whiledmidecodeis generic. You can see all information that it can provide by usingdmidecode -t: $sudodmidecode-tdmidecod...
To gather information about file system partitions, you can use thefdisk command. Although the main functionality of thefdiskcommand is tomodify file system partitions, it can also be used to view information about the different partitions on your file system. You can print partition information as...
1. Get CPU Info Using cat Command You can simply view the information of your system CPU by viewing the contents of the/proc/cpuinfofile with the help ofcat commandas follows: $ cat /proc/cpuinfo Linux CPU Information processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 69 m...
echo"WARNING: lsb_release command not found. " # 检查当前操作系统是否基于yum包管理器 ifwhichyum > /dev/null 2>&1;then check_yum_based_distroj return # 检查当前操作系统是否基于apt包管理器 elifwhichapt > /dev/null 2>&1;then check_apt_based_distro return else echo"ERROR: Unsupported oper...
一次性打印下面所有section的内容 info section:某一块的系统状态统计信息...CPUCPU消耗信息Commandstats命令统计信息Cluster集群信息Keyspace数据库键统计信息 下面对各个section做详细介绍 一、info Server 下图是info Server...二、info Clients 下图是info Clients模块的统计信息,包含了连接数、阻塞命令连接数、输入输出...
alias - Creates an alias for a command. If options aren't specified it will show all aliases. allneeded - Forces the calculation of all fonts that are needed to preview a set of dvi files. alloc - Shows how much memory is used and free. anacron - Runs commands periodically. answ...
kern.info;kern.!err /var/adm/kernel‑info#Store all mail messages except info priority in /var/log/mail.mail.*;mail.!=info /var/log/mail 显示更多 syslogd命令可启动 syslogd 守护程序。此命令有很多选项,包括:-f用于指定一个不同的配置文件,-a则表示要侦听的其他套接字。守护程序会响应几个信号...
$ModLoad imuxsock #provides support for local system logging (e.g. via logger command) $ModLoad imjournal #provides access to the systemd journal #$ModLoad imklog #reads kernel messages (the same are read from journald) #$ModLoad immark #provides ‑‑MARK‑‑ message capability ...
Traditionally, the command to show network interfaces wasifconfig: ifconfig -a But many people now use: ip link show or netstat -i In reading the output, it helps to know common network abbreviations: The asterisks in this table are wildcard characters, serving as a placeholder for whatever...
dmidecode (info:-M ifnosys machine data;-m memory).../usr/sbin/dmidecode file (info:-o unmounted filesystem).../usr/bin/file hddtemp (info:-Dxshowhdd temp).../usr/sbin/hddtemp ifconfig (info:-i ip lan-deprecated).../sbin/ifconfig ip (info:-i ip lan)......