Linux View system Configuration common commands
System
# uname-a # view kernel/Os/cpu information # head-n 1/etc/issue # View the operating system version # cat/proc/cpuinfo # View CPU Information # hostname # View computer name # LSPCI-TV #
Top======================================Main parametersD: Specifies the interval of the update, measured in seconds.Q: No delayed updates. If the consumer has superuser, the top command executes with the highest precedence.C: Displays the full path
Linux IDE RedHat firewall activity.CatTail-f
Log file description/var/log/message information and error logs after system startup is one of the most common logs in red Hat Linux/var/log/secure Security-related log information/var/log/maillog
Because before the music valley gathered to find the nest, the official website is hung, Online said to run, although someone had contacted me before I said there are their companies take over, but when there are problems in contact, but can not
2015-09-24
Simple implementation of uptime instruction
Report the current time, how long the system has been running, the number of users currently logged in, the average load for the last 1 minutes, 5 minutes, and 15 minutes.
1. Current
system
# uname-a # View kernel/operating system/CPU information# head-n 1/etc/issue # View operating system version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB
system
# uname-a # View kernel/operating system/CPU information
# head-n 1/etc/issue # View operating system version
# cat/proc/cpuinfo # View CPU Information
# hostname # View computer name
# LSPCI-TV # list all PCI devices
# LSUSB-TV # list
"Kernel symbol table, kernel symbol table"
Linux's kernel is a single kernel monolithic, and any function can access public data structures and function calls. In the design of the program, you need to name some function names, variable names, and
System
# uname-a # View kernel/operating system/CPU information
# head-n 1/etc/issue # View operating system version
# cat/proc/cpuinfo # View CPU Information
# hostname # View computer name
# LSPCI-TV # list all PCI devices
# LSUSB-TV # list
(i) Nmon tools overviewNmon is a tool for Linux server monitoring, through the Nmon, can be implemented to monitor the following parameters:--CPU usage Rate--memory, swap space utilization--Usage of network--Disk I/O, read/write speed--Network I/O
To view some basic information about the server:Linux Basic command: http://cnblogs.com/mmzs/p/8406208.htmlLinux some commands not found/unusable: http://www.cnblogs.com/mmzs/p/9043190.htmlDisplays the installed system version[Email
1th. How to solve and troubleshoot Linux display Chinese garbled characters1.1 Garbled reasonThe character set of the Linux system is different from the character set of the remote Connection tool1.2 Troubleshooting(1) Viewing the system's character
/etc/sysconfig/network-scripts/ifcfg-eth0 NIC/etc/resolv.conf DNS/etc/hosts/etc/sysconfig/network Host Name/etc/fstab mount disk File on boot/etc/rc.local boot automatically (command to start the software, or command to execute the file)/etc/inittab
About the Cyclictest tool, there are instructions on the wiki: https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/cyclictest
Cyclictest is a high resolution test program, written by USER:TGLX, maintained by Clark Williams and
/bin: Binary executable command./dev: Device special files./etc: System administration and configuration files./ETC/RC.D: Startup configuration files and scripts./home: The base point of the household directory, such as the user's main directory
Reference: http://blog.csdn.net/lhf_tiger/article/details/7102753SystemHead-n 1/etc/issue Viewing the operating system versionHostname View computer NameLsmod List of loaded kernel modulesSwapon-s View all swap partitionsCrontab-l View the current
Log File Description/var/log/message system startup information and error log, which is one of the most commonly used logs in red Hat Linux/var/log/secure Security-related log information/var/log/maillog Message-related log information/var/log/cron
View memory Size: Cat/proc/meminfo |grep memtotalUNAME-A # Linux System Information command to view kernel/Os/cpu informationHead-n 1/etc/issue # View OS version, is the number 1 not the letter LCat/proc/cpuinfo # Linux System Information command to
/bin:Binary executable command./ Dev:Device special files./ etc:System administration and configuration files./ETC/RC.D:Start the configuration files and scripts. /Home:The base point of the user's home directory, such as the user's home directory
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.