View system information on Ubuntu Platform using command mode
1. List all PCI devices: LSPCI
Displays all PCI devices in the system, Parameter V: View hardware details, n, view vendor and device codes, x, display binary data for hardware setup information.
00:00.0 Host Bridge:intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem:lenovo Device 3975
control:i/o-mem+ busmaster+ speccycle-memwinv-vgasnoop-parerr-stepping-serr-fastb2b-disintx-
status:cap+ 66mhz-udf-fastb2b+ parerr-devsel=fast >tabort-<tabort-<mabort+ >SERR-<perr-intx-
latency:0
Capabilities: <access denied>
...........
2. View kernel information: uname
$uname-A
Linux Zhangcheng 3.13.0-37-generic #64-ubuntu SMP Mon Sep 21:28:38 UTC x86_64 x86_64 x86_64 gnu/linux
3. Show Ubuntu version information: lsb_release-a
Distributor Id:ubuntu
Description:ubuntu 14.04.1 LTS
release:14.04
Codename:trusty
4. View kernel-loaded modules: Lsmod
Module Size used by
BNEP 19624 2
Rfcomm 69160 0
Bluetooth 391136 Ten Bnep,rfcomm
Binfmt_misc 17468 1
4. View USB Device: LSUSB
Bus 002 Device 005:id 5986:0292 Acer, Inc.
Bus 002 Device 004:id 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 002 Device 003:id 24ae:2000
Bus 002 Device 002:id 8087:0024 Intel Corp Integrated rate Matching Hub
Bus 002 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
Bus 001 Device 003:id 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 001 Device 002:id 8087:0024 Intel Corp Integrated rate Matching Hub
Bus 001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
5. View CPU Information: Cat/proc/cpuinfo
processor:0
Vendor_id:genuineintel
CPU Family:6
Model:42
Model Name:intel (R) Core (TM) i3-2350m CPU @ 2.30GHz
Stepping:7
microcode:0x17
CPU mhz:800.000
Cache size:3072 KB
Physical id:0
Siblings:4
Core id:0
CPU Cores:2
apicid:0
6. Check memory usage: FREE-MT
Total used free shared buffers Cached
mem:5912 1740 4171 246 80 1008
7. List current Process: PS
PID TTY Time CMD
2461 PTS/1 00:00:00 Bash
2840 PTS/1 00:00:00 PS
linux-Hardware Information View