Thread Closed
[Ask] command detail spec. PC
#2
Sudah saya post di sini mengenai sysadmin tools

http://forum.indonesianbacktrack.or.id/s...hp?tid=320

Untuk memperjelas biar gk banyak keterangan

ethernet cek

Code:
zee@eichel{~/Desktop}:lspci | grep Ethernet
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)

vga ( visual graphic adapter )

Code:
zee@eichel{~/Desktop}:lspci | grep VGA
02:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)

Code:
zee@eichel{~/Desktop}:lspci | grep USB
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)

ram ( random acess memory )

Code:
zee@eichel{~/Desktop}:lspci | grep RAM
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller

Pemeriksaan motherboard sistem

Code:
zee@eichel{~/Desktop}:dmidecode -t baseboard
# dmidecode 2.9
SMBIOS 2.6 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ECS
        Product Name: GeForce6100PM-M2
        Version: 3.0                  
        Serial Number:                      
        Asset Tag:                      
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis:                      
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Untuk memeriksa bios system

Code:
zee@eichel{~/Desktop}:dmidecode | head -15
# dmidecode 2.9
SMBIOS 2.6 present.
50 structures occupying 2049 bytes.
Table at 0x0009F400.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 080015
        Release Date: 09/08/2009
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 1024 kB
        Characteristics:
                ISA is supported

saya tambahkan sedikit tools sederhana yang coba saya tulis sendiri ..save saja dengan nama hti.sh

Code:
#!/bin/bash

#var1
bios="`dmidecode | head -15`"
mb="`dmidecode -t baseboard`"
ram="`lspci | grep RAM`"
usb="`lspci | grep USB`"
vga="`lspci | grep VGA`"
ether="`lspci | grep Ethernet`"
merah="[\033[1;31m\]"
color="[\033[1;0m\]"

function hit() {
echo "|===============================|"
echo "|      Hardware info tools      |"
echo "|       writen by zee eichel    |"
echo "|===============================|"
echo " Bios information "              
echo " --------------------"
echo "$bios "
echo ""
echo "Motherboard type"
echo " -------------------"
echo " $mb "
echo ""
echo "RAM Information "
echo " -------------------"
echo " $ram "
echo ""
echo " USB Information "
echo " ---------------------"
echo " $usb "
echo ""
echo "VGA Information "
echo ""
echo " $vga "
echo ""
echo "Ethernet Information"
echo " ------------------------"
echo " $ether"
echo ""
echo "|------------------------------------|"
echo "|www.indonesianbacktrack.or.id  |"
echo "|------------------------------------|"
}

hit;

biar bisa di esekusi dengan alias ..

chmod +x hti.sh

tambahkan alias di .bashrc
./[dir]hti.sh
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only


Thread Closed
Messages In This Thread
[Ask] command detail spec. PC - by biecyber - 11-25-2011, 11:55 AM
RE: [Ask] command detail spec. PC - by zee eichel - 11-25-2011, 12:36 PM
RE: [Ask] command detail spec. PC - by biecyber - 11-25-2011, 01:43 PM
RE: [Ask] command detail spec. PC - by THJC - 11-25-2011, 07:17 PM




Users browsing this thread: 1 Guest(s)