全球主机交流论坛

标题: 快速查看Linux系统软硬件配置bash [打印本页]

作者: cnx    时间: 2011-7-10 13:11
标题: 快速查看Linux系统软硬件配置bash
  1. wget http://aspersa.googlecode.com/svn/trunk/summary
  2. chmod a+x summary
  3. ./summary
复制代码
很方便.
作者: qiqibian    时间: 2011-7-10 13:12
Mark啦
作者: cnx    时间: 2011-7-10 13:13
  1. # Aspersa System Summary Report ##############################
  2.         Date | 2011-07-10 06:11:29 UTC (local TZ: EDT -0400)
  3.     Hostname | fr.dotww.com
  4.       Uptime | 4:03, 3 users, load average: 0.00, 0.00, 0.00
  5.     Platform | Linux
  6.      Release | CentOS release 5.6 (Final)
  7.       Kernel | 2.6.18-194.el5
  8. Architecture | CPU = 64-bit, OS = 32-bit
  9.    Threading | NPTL 2.5
  10.     Compiler | GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50).
  11.      SELinux | Enforcing
  12. Virtualized | QEmu
  13. # Processor ##################################################
  14.   Processors | physical = 2, cores = 0, virtual = 2, hyperthreading = no
  15.       Speeds | 2x2000.048
  16.       Models | 2xQEMU Virtual CPU version 0.9.1
  17.       Caches | 2x32 KB
  18. # Memory #####################################################
  19.        Total | 249.39M
  20.         Free | 37.09M
  21.         Used | physical = 212.30M, swap = 14.35M, virtual = 226.65M
  22.      Buffers | 48.66M
  23.       Caches | 100.34M
  24.        Dirty | 56 kB
  25.      UsedRSS | 94.3M
  26.   Swappiness | vm.swappiness = 60
  27. DirtyPolicy | vm.dirty_ratio = 40, vm.dirty_background_ratio = 10
  28. # Mounted Filesystems ########################################
  29.   Filesystem  Size Used Type  Opts Mountpoint
  30.   /dev/hda1   9.3G  14% ext3  rw   /
  31.   tmpfs       125M   0% tmpfs rw   /dev/shm
  32. # Disk Schedulers And Queue Size #############################
  33.          hda | [cfq] 128
  34.          hdc | [cfq] 128
  35. # Disk Partioning ############################################
  36. Device       Type      Start        End               Size
  37. ============ ==== ========== ========== ==================
  38. /dev/hda     Disk                              10737418240
  39. /dev/hda1    Part          1       1241        10199347200
  40. /dev/hda2    Part       1241       1305          526417920
  41. # Kernel Inode State #########################################
  42. dentry-state | 14208 12102 45 0 0 0
  43.      file-nr | 576 0 24766
  44.     inode-nr | 15378 3179
  45. # LVM Volumes ################################################
  46. Cannot execute 'lvs'
  47. # RAID Controller ############################################
  48.   Controller | No RAID controller detected
  49. # Network Config #############################################
  50. FIN Timeout | net.ipv4.tcp_fin_timeout = 60
  51.   Port Range | net.ipv4.ip_local_port_range = 32768 61000
  52. # Network Connections ########################################
  53.   Connections from remote IP addresses
  54.   Connections to local IP addresses
  55.   Connections to top 10 local ports
  56.   States of connections
  57.     ESTABLISHED         2
  58.     LISTEN              3
  59. # Top Processes ##############################################
  60. # The End ####################################################
复制代码
我的fr.dotww.com输出结果.
作者: 小夜    时间: 2011-7-10 13:14
收藏
作者: map    时间: 2011-7-10 13:16
不错
作者: lovehk    时间: 2011-7-10 13:21
技术贴顶上去
作者: Poison    时间: 2011-7-10 13:22
方便呀
作者: lemss    时间: 2011-7-10 14:26
Mark
作者: nbclare    时间: 2011-7-10 14:28
收藏之。
作者: 誓誓    时间: 2011-7-10 15:16
不知道什么用处
作者: neverno    时间: 2011-7-10 20:11
mark
作者: qiqi13245    时间: 2011-7-10 20:12
mark




欢迎光临 全球主机交流论坛 (https://loc.010206.xyz/) Powered by Discuz! X3.4