In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you what Linux system view commands, I believe most people do not know how, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
system
# uname -a #View kernel/OS/CPU info
# head -n 1 /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
resources
# free -m #View memory usage and swap area usage
# df -h #View partition usage
# du -sh #View the size of the specified directory
# grep MemTotal /proc/meminfo #View Total Memory
# grep MemFree /proc/meminfo #View amount of free memory
# uptime #View system uptime, number of users, load
# cat /proc/loadavg #View system load
disks and partitions
# mount |column -t #View attached partition status
# fdisk -l #View all partitions
# swapon -s #View all swapon partitions
# hdparm -i /dev/hda #View disk parameters (IDE devices only)
# dmesg |grep IDE #View IDE device detection at startup
network
# ifconfig #View 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
process
# ps -ef #View all processes
# top #Display progress status in real time
user
# w #View active users
# id #View specified user information
# last #View user login logs
# cut -d: -f1 /etc/passwd #View all users of the system
# cut -d: -f1 /etc/group #View all groups in the system
# crontab -l #View current user's scheduled tasks
service
# chkconfig --list #List all system services
# chkconfig --list |grep on #List all system services started
program
# rpm -qa #View all installed packages
The above is "Linux system view command what" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.