Transferred from: http://cheneyph.iteye.com/blog/824746System# uname-a # View kernel/Os/cpu info # head-n 1/etc/issue # view OS version # Cat/proc/cpuinfo # View CPU Info # hostname # View Meter Computer name #
The original address:Ubuntu folder Introduction SuperzhyAbout Ubuntu folders/bin binary Executable command/dev Device files (HDD/CD-ROM, etc.)/etc system administration and configuration files/ETC/RC.D startup configuration files and scripts/home
IostatThe 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 the server is running slowly.
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
# 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 kernel
# 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 kernel
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
Linux system needs regular inspection to check server hardware and software usage, the equivalent of physical examination, to ensure timely detection of problems, solve problems, reduce losses, commonly used patrol command as follows:# uname-a #
Linux file structure to see what each folder is used for/bin binary Executable command/dev Device Special files/etc system administration and configuration files/ETC/RC.D startup configuration files and scriptsThe base point of the home user
Overview:
Use ' top-i ' to see how many processes are in Running state, there may be memory or I/O bottlenecks in the system, use free to see the system memory usage, swap is occupied a lot, use Iostat to look at the I/O load situation ...
[Guide] 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-TVSystem# uname-a #查看内核/operating system/CPU information#
Linux File system detailedNon-original works, allow reprint, please be sure to use hyperlinks in the form of the original source of the article, author information and this statement. Otherwise, the legal liability will be investigated.
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:%p:%z:%a" |sort-k5-
Special files in Linux[[email protected] ~]# CAT/ETC/PASSWD user database, the following is the interpretation of the meaning of each unit correspondingRoot:x: 0:0: Root:/root:/bin/bashUser name: X:uid:gid: Comment: User home directory: Shell used
Detecting new hardware with hardware detection program Kuduz: Service kudzu start (or restart)View CPU Information: Cat/proc/cpuinfoView card information: CAT/PROC/PCIView PCI information: LSPCI (more intuitive than CAT/PROC/PCI)View memory
How to view logs in a Linux system (common commands)Blog Category:
Linux-related
Linuxideredhat Firewall Activity CatTail-fLog file description/var/log/message system startup information and error log, which is one of the most commonly
Watch is a very useful command, basically all Linux distributions with this gadget, like a 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
1. System Commands# uname-a # View kernel/Os/cpu info # head-n 1/etc/issue # view OS version # Cat/proc/cpuinfo # View CPU Info # hostname # View Meter Computer name # LSPCI-TV # List all PCI devices #
I./etc configuration file/ETC/PASSWD user database, where the domain gives the user name, real name, home directory, encrypted password, and other information of the user/etc/group is similar to/etc/passwd, but not the user but 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.