wget http://aspersa.googlecode.com/svn/trunk/summary
chmod a+x summary
./summary
用root用户运行在系统信息,内存,磁盘等方面显示会更详细点
# Aspersa System Summary Report ##############################
Date | 2011-05-03 05:39:30 UTC (local TZ: PDT -0700)
Hostname | ubuntu
Uptime | 3:58, 2 users, load average: 0.30, 0.12, 0.08
Platform | Linux
Release | Ubuntu 11.04 (natty)
Kernel | 2.6.38-8-generic
Architecture | CPU = 32-bit, OS = 32-bit
Threading | NPTL 2.13
SELinux | No SELinux detected
Virtualized | VMWare
# Processor ##################################################
Processors | physical = 1, cores = 0, virtual = 1, hyperthreading = no
Speeds | 1x2000.012
Models | 1xPentium(R) Dual-Core CPU T4200 @ 2.00GHz
Caches | 1x1024 KB
# Memory #####################################################
Total | 496.09M
Free | 8.14M
Used | physical = 487.96M, swap = 3.83M, virtual = 491.79M
Buffers | 136.18M
Caches | 164.82M
Dirty | 284 kB
UsedRSS | 438.6M
Swappiness | vm.swappiness = 60
DirtyPolicy | vm.dirty_ratio = 10, vm.dirty_background_ratio = 5
DirtyStatus | vm.dirty_bytes = 0, vm.dirty_background_bytes = 0
# Mounted Filesystems ########################################
Filesystem Size Used Type Opts Mountpoint
/dev/sda1 9.4G 43% ext4 rw,errors=remount-ro,commit=0 /
.host:/ 61G 79% vmhgfs rw,ttl=1 /mnt/hgfs
none 242M 1% devpts rw,noexec,nosuid,gid=5,mode=0620 /dev
none 242M 1% tmpfs rw,nosuid,nodev /dev
none 242M 1% devtmpfs rw,mode=0755 /dev
none 242M 1% vmblock rw /dev
none 242M 1% debugfs rw /dev
none 242M 1% securityfs rw /dev
none 242M 1% sysfs rw,noexec,nosuid,nodev /dev
none 242M 1% tmpfs rw,noexec,nosuid,nodev /dev
none 242M 1% tmpfs rw,nosuid,mode=0755 /dev
none 249M 0% devpts rw,noexec,nosuid,gid=5,mode=0620 /var/lock
none 249M 0% tmpfs rw,nosuid,nodev /var/lock
none 249M 0% devtmpfs rw,mode=0755 /var/lock
none 249M 0% vmblock rw /var/lock
none 249M 0% debugfs rw /var/lock
none 249M 0% securityfs rw /var/lock
none 249M 0% sysfs rw,noexec,nosuid,nodev /var/lock
none 249M 0% tmpfs rw,noexec,nosuid,nodev /var/lock
none 249M 0% tmpfs rw,nosuid,mode=0755 /var/lock
none 249M 1% devpts rw,noexec,nosuid,gid=5,mode=0620 /var/run
none 249M 1% tmpfs rw,nosuid,nodev /var/run
none 249M 1% devtmpfs rw,mode=0755 /var/run
none 249M 1% vmblock rw /var/run
none 249M 1% debugfs rw /var/run
none 249M 1% securityfs rw /var/run
none 249M 1% sysfs rw,noexec,nosuid,nodev /var/run
none 249M 1% tmpfs rw,noexec,nosuid,nodev /var/run
none 249M 1% tmpfs rw,nosuid,mode=0755 /var/run
none 249M 1% devpts rw,noexec,nosuid,gid=5,mode=0620 /dev/shm
none 249M 1% tmpfs rw,nosuid,nodev /dev/shm
none 249M 1% devtmpfs rw,mode=0755 /dev/shm
none 249M 1% vmblock rw /dev/shm
none 249M 1% debugfs rw /dev/shm
none 249M 1% securityfs rw /dev/shm
none 249M 1% sysfs rw,noexec,nosuid,nodev /dev/shm
none 249M 1% tmpfs rw,noexec,nosuid,nodev /dev/shm
none 249M 1% tmpfs rw,nosuid,mode=0755 /dev/shm
# Disk Schedulers And Queue Size #############################
sda | [cfq] 128
sr0 | [cfq] 128
sr1 | [cfq] 128
# Disk Partioning ############################################
Device Type Start End Size
============ ==== ========== ========== ==================
# Kernel Inode State #########################################
dentry-state | 19387 11885 45 0 0 0
file-nr | 5536 0 49446
inode-nr | 33696 15182
# LVM Volumes ################################################
Cannot execute 'lvs'
# RAID Controller ############################################
Controller | No RAID controller detected
# Network Config #############################################
Controller | Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)
FIN Timeout | net.ipv4.tcp_fin_timeout = 60
Port Range | net.ipv4.ip_local_port_range = 32768 61000
# Interface Statistics #######################################
interface rx_bytes rx_packets rx_errors tx_bytes tx_packets tx_errors
========= ========= ========== ========== ========== ========== ==========
l 1000 15 0 1000 15 0
eth 400000 600 0 80000 450 0
# Network Connections ########################################
Connections from remote IP addresses
74.125.153.8 1
Connections to local IP addresses
192.168.21.16 1
Connections to top 10 local ports
60154 1
States of connections
LISTEN 4
TIME_WAIT 1
# Top Processes ##############################################
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3748 lengmian 20 0 2628 1112 836 R 1.9 0.2 0:00.02 top
1 root 20 0 3032 1600 1168 S 0.0 0.3 0:02.34 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.53 ksoftirqd/0
5 root 20 0 0 0 0 S 0.0 0.0 0:01.17 kworker/u:0
6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset
8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
# Simplified and fuzzy rounded vmstat (wait please) ##########
procs ---swap-- -----io---- ---system---- --------cpu--------
r b si so bi bo ir cs us sy il wa st
0 0 0 0 30 10 50 80 1 1 98 0
0 0 0 0 0 0 60 80 0 0 100 0
0 0 0 0 0 150 125 100 0 1 99 0
0 0 0 0 0 0 60 70 0 1 99 0
0 0 0 0 0 70 90 90 0 0 100 0
# The End ####################################################