Tuesday, May 29, 2012

Using Inxi to show system data

Ever know "inxi" ? This cool and console based tool is pretty handy but helps a lot.
Issuing the command with -h could help you what sort of info it could retrieve.

We can check our repositories in /etc/apt/* for example:

najmi@vostro:~$ inxi -Sr
System:    Host: vostro Kernel: 3.2.0-23-generic x86_64 (64 bit) Desktop: N/A Distro: Linux Mint 13 Maya
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://mirror.upm.edu.my/ubuntu/ precise main restricted
           deb-src http://mirror.upm.edu.my/ubuntu/ precise main restricted
           deb http://mirror.upm.edu.my/ubuntu/ precise-updates main restricted
           deb-src http://mirror.upm.edu.my/ubuntu/ precise-updates main restricted
           deb http://mirror.upm.edu.my/ubuntu/ precise universe
           deb-src http://mirror.upm.edu.my/ubuntu/ precise universe
           deb http://mirror.upm.edu.my/ubuntu/ precise-updates universe
           deb-src http://mirror.upm.edu.my/ubuntu/ precise-updates universe
           deb http://mirror.upm.edu.my/ubuntu/ precise multiverse
           deb-src http://mirror.upm.edu.my/ubuntu/ precise multiverse
           deb http://mirror.upm.edu.my/ubuntu/ precise-updates multiverse
           deb-src http://mirror.upm.edu.my/ubuntu/ precise-updates multiverse
           deb http://mirror.upm.edu.my/ubuntu/ precise-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
           deb-src http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
           deb http://extras.ubuntu.com/ubuntu precise main
           deb-src http://extras.ubuntu.com/ubuntu precise main
           deb-src http://mirror.upm.edu.my/ubuntu/ precise-backports main restricted universe multiverse
           deb http://packages.linuxmint.com/ maya main upstream import
           deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ precise partner
           deb http://packages.medibuntu.org/ precise free non-free


And.. some other info


$inxi -b
System:    Host: vostro Kernel: 3.2.0-23-generic x86_64 (64 bit) Desktop: N/A Distro: Linux Mint 13 Maya
Machine:   System: Dell (portable) product: Vostro 3400 version: A10
           Mobo: Dell model: 0RXV7H version: A10 Bios: Dell version: A10 date: 10/25/2010
CPU:       Dual core Intel Core i5 CPU M 480 (-HT-MCP-) clocked at 1197.00 MHz
Graphics:  Card-1: Intel Core Processor Integrated Graphics Controller
           Card-2: NVIDIA GT218 [GeForce 310M]
           X.Org: 1.11.3 drivers: intel (unloaded: vesa,fbdev) Resolution: 1366x768@60.1hz
           GLX Renderer: Mesa DRI Intel Ironlake Mobile GLX Version: 2.1 Mesa 8.0.2
Network:   Card-1: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169
           Card-2: Broadcom BCM4313 802.11b/g/n Wireless LAN Controller driver: brcmsmac
Drives:    HDD Total Size: 820.2GB (47.6% used)
Info:      Processes: 193 Uptime: 21:11 Memory: 1961.8/3755.8MB Client: Shell inxi: 1.7.33

Have fun!

No comments:

Post a Comment