System # Uname-a # view kernel/operating system/CPU Information# Head-n 1/etc/issue # view the operating system version# Cat/proc/cpuinfo # view CPU Information# Hostname # view the computer name# Lspci-TV # list all PCI devices# Lsusb-TV # list
Everyone knows that everything in linux is a file. There is a/proc directory under the root directory of linux/unix, this/proc is a mechanism used by the kernel and kernel module to send information to the process (so it is called "/proc "), this
This article introduces using Python to write scripts, crawl system metrics, and then call Kafka Client library to metrics spit to Kafka case sharing. For the students with Kafka is very practical.You need to download two Python libraries to local
The more requests a Web server can handle per unit of time, the better it becomes the ability of the Web server, which embodies what we often call "server concurrency processing power."ThroughputThe concurrent processing ability of Web server,
How to view logs in linux (Common commands)
Cat
Tail-f
Japanese text description
/Var/log/message information and error logs after the system is started. It is one of the most common logs in Red Hat Linux.
/Var/log/secure security-related
[Root @ yan-001 ~] # Uname-a # view the kernel/operating system/CPU information of the linux system information Command [root @ yan-001 ~] # Head-n 1/etc/issue # view the operating system version, is the number 1 is not the letter L [root @ yan-001 ~
Number of times the web server cannot be notified of ip addresses
# Cat access_log | awk '{print $1}' | sort | uniq-c | sort-n
Or
# Cat access_log | awk '{print $1}' | sort-n | awk '{S [$ NF] ++} END {for (a in S) {print a "\ t" S [a]} '| sort +
More and more people are getting started with Linux operating systems, from VPS to flash machine systems for wireless routing (such as OpenWRT and Tomato ), at the same time, the words "Average system Load" or "Load Average" will also be seen on a
Query related findFind a file or folder, including subdirectories, by rule
find . -name ‘*.sh‘--Files ending with. sh
find . -name ‘*channel*‘--File containing the channel character
find . -name ‘build*‘--Files that begin with build
Collect Linux System Information to view commands for use! Play VPS Webmaster friends must have, hehe ~Linux-cmd system # uname-A # view kernel/OS/CPU Information # head-N 1/etc/issue # View OS version # Cat/proc/Cpuinfo # View CPU Info # hostname #
Reprinted from: Http://www.cnblogs.com/purediy/p/4288649.html Query related findFind a file or folder, including subdirectories, by rule
find . -name ‘*.sh‘--Files ending with. sh
find . -name ‘*channel*‘--File containing the channel
1./proc directoryThe Linux kernel provides a machine that accesses kernel internal data structures and changes kernel settings through the/proc file system at run time.System. The proc file system is a pseudo-file system that only exists in memory
1./proc DirectoryThe Linux kernel provides a mechanism for accessing kernel internal data structures and changing kernel settings at run time through the/proc file system. The proc file system is a pseudo-file system that only exists in memory and
Transferred from: http://www.cnblogs.com/itech/archive/2011/06/08/2075145.htmlFirst, uptimeThe uptime command is used to see how long the server has been running and how many users are logged in to quickly learn about the load on the server.The
Directory1. Tree-like directory structure diagram2./catalogue3./etc/Catalogue4./usr/Catalogue5./var/Catalogue6./proc/Catalogue7./dev/CatalogueThis article mainly comes from the network to organize.Directory Structure Reference
Java development for several years, the deployment of Javaweb to the server, generally choose Linux,linux as a server is really not two of the choice, high performance, as long as the familiar with Linux, fast operation, high efficiency.Summarize
# uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # viewOperating SystemVersion# 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
1, explain the PV, UV, IP is what meaningPV (traffic) that is, Page view, pageviews, or clicks, which are calculated once each time the user refreshes or clicksUV (Independent visitor) A unique Visitor that accesses a computer client of your website
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.