git clone github.com/smxi/inxi.git
inxi ist direkt ausführbar!
http://www.binarytides.com/inxi-system-information-linux/
Code
[22:19 root@dm820 comp] > inxi --recommends
inxi will now begin checking for the programs it needs to operate. First a check of the main languages and tools
inxi uses. Python is only for debugging data collection.
---------------------------------------------------------------------------
Bash version: 4.3.39(1)-release
Gawk version: 4.1.3,
Sed version:
Sudo version: 1.8.15
Python version: 2.7.11
---------------------------------------------------------------------------
Test One: Required System Directories (Linux Only).
If one of these system directories is missing, inxi cannot operate:
/proc....................................................................... Present
/sys........................................................................ Present
All the directories are present.
---------------------------------------------------------------------------
Test Two: Required Core Applications.
If one of these applications is missing, inxi cannot operate:
df (info: partition data)................................................... /bin/df
gawk (info: core tool)...................................................... /usr/bin/gawk
grep (info: string search).................................................. /bin/grep
lspci (info: hardware data)................................................. /usr/bin/lspci
ps (info: process data)..................................................... /bin/ps
readlink.................................................................... /usr/bin/readlink
sed (info: string replace).................................................. /usr/bin/sed
tr (info: character replace)................................................ /usr/bin/tr
uname (info: kernel data)................................................... /bin/uname
wc (info: word character count)............................................. /usr/bin/wc
All the applications are present.
---------------------------------------------------------------------------
Test Three: Script Recommends for Graphics Features.
NOTE: If you do not use X these do not matter (like a headless server). Otherwise, if one of these applications
is missing, inxi will have incomplete output:
glxinfo (info: -G glx info)................................................. Missing
xdpyinfo (info: -G multi screen resolution)................................. /usr/bin/xdpyinfo
xprop (info: -S desktop data)............................................... /usr/bin/xprop
xrandr (info: -G single screen resolution).................................. /usr/bin/xrandr
The following applications are missing from your system:
Application: glxinfo
To add to your system, install the proper distribution package for your system:
Debian/Ubuntu: mesa-utils :: Arch Linux: mesa-demos ::
Redhat/Fedora/Suse: glx-utils_(openSUSE_12.3_and_later_Mesa-demo-x)
---------------------------------------------------------------------------
Test Four: Script Recommends for Remaining Features.
If one of these applications is missing, inxi will have incomplete output:
dig (info: -i first wlan ip default test)................................... /usr/bin/dig
dmidecode (info: -M if no sys machine data; -m memory)...................... /usr/local/sbin/dmidecode
file (info: -o unmounted file system)....................................... /usr/bin/file
hciconfig (info: -n -i bluetooth data)...................................... /usr/bin/hciconfig
hddtemp (info: -Dx show hdd temp)........................................... /usr/sbin/hddtemp
ifconfig (info: -i ip lan-deprecated)....................................... /sbin/ifconfig
ip (info: -i ip lan)........................................................ /sbin/ip
sensors (info: -s sensors output)........................................... /usr/bin/sensors
strings (info: -I sysvinit version)......................................... /usr/bin/strings
lsusb (info: -A usb audio;-N usb networking)................................ /usr/bin/lsusb
modinfo (info: -Ax,-Nx module version)...................................... /sbin/modinfo
runlevel (info: -I runlevel)................................................ /sbin/runlevel
sudo (info: -Dx hddtemp-user;-o file-user).................................. /usr/bin/sudo
uptime (info: -I uptime (check which package owns Debian)).................. /usr/bin/uptime
All the applications are present.
---------------------------------------------------------------------------
Test Five: Script Recommends for Remaining Features.
One of these downloaders needed for options -i/-w/-W (-U/-! [11-15], if supported):
wget (info: -i wan ip;-w/-W;-U/-! [11-15] (if supported))................... /usr/bin/wget
curl (info: -i wan ip;-w/-W;-U/-! [11-15] (if supported))................... /usr/bin/curl
All the applications are present.
---------------------------------------------------------------------------
Test Six: System Directories for Various Information.
(Unless otherwise noted, these are for GNU/Linux systems)
If one of these directories is missing, inxi may have incomplete output:
/sys/class/dmi/id (info: -M system, motherboard, bios)...................... Missing
/dev (info: -l,-u,-o,-p,-P,-D disk partition data).......................... Present
/dev/disk/by-label (info: -l,-o,-p,-P partition labels)..................... Present
/dev/disk/by-uuid (info: -u,-o,-p,-P partition uuid)........................ Present
The following directories are missing from your system:
Directory: /sys/class/dmi/id
---------------------------------------------------------------------------
Test Seven: System Files for Various Information.
(Unless otherwise noted, these are for GNU/Linux systems)
If one of these files is missing, inxi may have incomplete output:
/proc/asound/cards (info: -A sound card data)............................... Present
/proc/asound/version (info: -A ALSA data)................................... Present
/proc/cpuinfo (info: -C cpu data)........................................... Present
/etc/lsb-release (info: -S distro version data [deprecated])................ Missing
/proc/mdstat (info: -R mdraid data)......................................... Missing
/proc/meminfo (info: -I memory data)........................................ Present
/etc/os-release (info: -S distro version data).............................. Present
/proc/partitions (info: -p,-P partitions data).............................. Present
/proc/modules (info: -G module data)........................................ Present
/proc/mounts (info: -P,-p partition advanced data).......................... Present
/var/run/dmesg.boot (info: -D,-d disk data [BSD only])...................... Missing
/proc/scsi/scsi (info: -D Advanced hard disk data [used rarely])............ Present
/var/log/Xorg.0.log (info: -G graphics driver load status).................. Present
The following files are missing from your system:
File: /etc/lsb-release
File: /proc/mdstat
File: /var/run/dmesg.boot
---------------------------------------------------------------------------
All tests completed.
Alles anzeigen
Beispiele
Code
[22:41 root@dm820 comp] > inxi -F
System: Host: dm820 Kernel: 3.4-4.0-dm820 mips (32 bit) Console: tty 0 Distro: opendreambox 2.5.0
Machine: No /sys/class/dmi; using dmidecode: no smbios data available. Old system?
Battery Using dmidecode: no smbios data available. Old system?
CPU: Quad core (-MCP-) cache: N/A
clock speeds: max: 1407 MHz 1: 1407 MHz 2: 1407 MHz 3: 1407 MHz 4: 1407 MHz
Graphics: Card: Failed to Detect Video Card!
Display Server: X.org 1.19.0 driver: fbdev tty size: 238x60 Advanced Data: N/A for root out of X
Audio: Card BCM PCM driver: BCM ALSA driver Sound: ALSA v: 1.0.25
Network: Card: Failed to Detect Network Card!
Drives: HDD Total Size: 1314.4GB (88.9% used)
ID-1: /dev/sda model: SAMSUNG_HM250JI size: 250.1GB
ID-2: /dev/mmcblk0 model: N/A size: 4.0GB
ID-3: USB /dev/sdb model: Flash_Drive_FIT size: 64.2GB
ID-4: USB /dev/sdc model: DS_maxi_g.u size: 1000.2GB
Sensors: System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A
Info: Processes: 129 Uptime: 1 day Memory: 212.7/1257.4MB Init: systemd runlevel: 5
Client: Shell (bash) inxi: 2.3.8
[22:41 root@dm820 comp] > inxi -d
Drives: HDD Total Size: 1314.4GB (88.9% used)
ID-1: /dev/sda model: SAMSUNG_HM250JI size: 250.1GB
ID-2: /dev/mmcblk0 model: N/A size: 4.0GB
ID-3: USB /dev/sdb model: Flash_Drive_FIT size: 64.2GB
ID-4: USB /dev/sdc model: DS_maxi_g.u size: 1000.2GB
Optical: /dev/sr0 model: N/A dev-links: cdrom
Features: speed: 48x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram
Alles anzeigen
gruß pclin