View Linux Server basic information

Source: Internet
Author: User
Tags memory usage
View Linux Server Configuration

To view the properties of all network interfaces
Ifconfig
View System
Cat/etc/redhat-release

View Kernel version
Uname-a

Linux System Information command to view CPU information
Cat/proc/cpuinfo

To view the Linux System Information command for a computer name
Hostname

View environment variable Resources
Env
View memory usage and swap usage
Free-m
Or
grep memtotal/proc/meminfo
grep memfree/proc/meminfo
View memory Information
Cat/proc/meminfo
View information for all swap partitions
Cat/proc/swaps
View the usage of each partition
Df-h
To view the size of a specified directory
Du-sh
View system uptime, number of users, load
Uptime
View firewall settings
Iptables-l
View the routing table
Route-n
View all listening ports
Netstat-lntp
View all connections that have been established
Netstat-antp
View All Processes
Ps-ef
Real-time display of process status users
Top
View Active Users
W
View specified user information
Id
View User logon Logs
Last
View all users of the system
Cut-d:-f1/etc/passwd
View all system Groups
Cut-d:-f1/etc/group
View the current user's scheduled tasks service
Crontab-l
List all system services
Chkconfig--list
List all started system services programs
Chkconfig--list | grep on
To view all installed packages
Rpm-qa

View Linux Server basic information

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.