1. Query server load(1) Uptime[Email protected] ~]# uptime20:17:18 up 7:41, 2 users, Load average:0.00, 0.00, 0.0020:17:18 the current timeUp 7:41 the higher the number of times it runs, the more stable the machine is.2 connections to users refers
Description of the structure and application of the folders under Linux:/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
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the
Top -interactive command to see performance data for each CPU -interactive commands h--8081 -c -elf|grep java-c --/proc/net/dev --/proc/loadavg-- /proc/meminfo - - /proc/stat-- 27989--27989 | grep running | wc-l- -How
Command name
Describe
/etc/hosts
definition: Resolve hostname to ip address format: 10.0.0.200 www.taobao.com
/etc/fstab
file system table File system list
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the
host Command 1, this command allows you to view the IP information of the host,2, if you also want to view DNS records, you can use the-a parameter3, if you need to view the domain name server or SOA information, you can use the-c parameter, or you
The directory under Linux is described below:In the Linux system, everything is stored in a unique "virtual file system", the "virtual file system" is a tree-like structure to start with a root directory. File to represent all logical and
1. What is procObserving the Linux F8/etc/rc.d/sysinit file, you can see that the following statement appears in line 21 of the script:if [!-e/proc/mounts]; Then mount-n-T Proc/proc/proc mount-n-t Sysfs/sys/sys >/dev/null 2>&1fiThis
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the
System# uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # view OS version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB devices# lsmod # List of loaded
Some time ago, the work of debugging code when the computer is always card, so the suspicion is not the company to match the computer hardware, limited resources caused. So I found some information on the Internet to check the computer hardware
Serial number
Task
Command combination
1
Delete a 0-byte file
Find. -type f-size 0-exec rm-rf {} \;Find. Type F-size 0-delete
2
View processes, sorted by memory from large to small
PS-E-O "%c:
System # uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # view OS version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB devices# lsmod # List of loaded
I. IntroductionTop, uptime, cat/proc/loadavg command Load average:4.90, 5.51, 5.77 overall meaning: number of running tasks + number of queued tasks the first number for example above 4.90 represents 1 minutes of The second number of data for
Linux View System Status commandIostatThe Iostat command shows the storage subsystem in detail. You typically use Iostat to monitor the overall health of the storage subsystem, and to detect slow input/output problems before the user notices that
Watch is a very useful command, basically all Linux distributions with this gadget, like the name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the
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.