View Linux Centos System Information kernel CPU system version disk partition network configuration process command

Source: Internet
Author: User

Linux System Info # uname-A # view kernel/OS/CPU Information # head-N1/etc/issue # View OS version # Cat/proc/Cpuinfo # View CPU Info # hostname # view computer name # LSPCI-TV # List all PCI devices # LSUSB-TV # list all USB devices # lsmod # list loaded kernel modules # env # View Environment Variables # Arch displays the processor architecture of the machine (1) # uname-m displays the processor architecture of the machine (2) # uname-R shows the kernel version being used # Dmidecode-q Display hardware system Part # Hdparm-i/dev/HDA lists the architecture characteristics of a disk # Hdparm-tt/dev/SDA performs a test read operation on disk # cat/proc/interrupts display Interrupt # cat/proc/meminfo Verifying memory usage # cat/proc/swaps shows which swap is used # cat/proc/version shows kernel versions # Cat/proc/net/Dev Display network adapter and statistics # Cat/proc/mounts displaying the loaded file system # LSPCI-TV Listing PCI devices # Lsusb-TV Display USB Device # date display system date # cal -Show 2007 Calendar Table # Date041217002007.00Set Date and time – Day of the month. Seconds # clock-W save time changes to BIOS system shutdown, restart, and logout # shutdown-H now shuts down the system (1) # init0Shut down the system (2) # Telinit0Shut down the system (3) # shutdown-H Hours:minutes &shut down the system at a predetermined time # shutdown-C Cancel closing the system on a predetermined time # shutdown-R Now Restart (1) # Reboot Restart (2# Logout Logout How to view Linux system resources # Free-m # View memory usage and swap usage # DF-H # View the usage of each partition # du-sh < directory name ># View the size of the specified directory # grep memtotal/proc/Meminfo # View Total Memory # grep Memfree/proc/Meminfo # View Idle memory # uptime # View System uptime, number of users, load # cat/proc/loadavg # View system load How to view Linux disks and partitions # mount| Column-t # View attached partition status # fdisk-L # View all partitions # Swapon-S # view all swap partitions # hdparm-i/dev/HDA # View disk parameters (for IDE devices only) # DMESG|grep IDE # view IDE device detection status on Startup View the command for the network configuration # ifconfig # View the properties of all network interfaces # Iptables-L # View firewall settings # route-N # View routing table # Netstat-LNTP # View all listening ports # netstat-ANTP # View all established connections # netstat-S # View network statistics view Linux process # PS-EF # View All processes # top # Real-time display process Status View user's command # w # view active user # ID< user name ># View specified user information # Last # View user log in log # cut-D:-f1/etc/passwd # View system All users # cut-D:-f1/etc/Group # View system All groups # Crontab-L # View the current user's Scheduled Tasks View System Services Command # chkconfig–list # list all system Services # Chkconfig–list|grep on # List all startup system service Installer commands # RPM-QA # View all installed packages get help command #man< commands > #获得命令帮助

View Linux Centos System Information kernel CPU system version disk partition network configuration process command

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.