<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Valcora Blog - Utilities</title>
    <link>http://blog.valcora.com/</link>
    <description>Professional MySQL Consulting</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Wed, 06 May 2009 14:12:39 GMT</pubDate>

    <image>
        <url>http://blog.valcora.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Valcora Blog - Utilities - Professional MySQL Consulting</title>
        <link>http://blog.valcora.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Which App is Using a Port?</title>
    <link>http://blog.valcora.com/index.php?/archives/14-Which-App-is-Using-a-Port.html</link>
            <category>Utilities</category>
    
    <comments>http://blog.valcora.com/index.php?/archives/14-Which-App-is-Using-a-Port.html#comments</comments>
    <wfw:comment>http://blog.valcora.com/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.valcora.com/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>nospam@example.com (Valcora)</author>
    <content:encoded>
    Have you ever tried to start a server like MySQL and been amazed to see an error that the port is already in use?  You rack your brain and try to figure out what it would be to no avail.  Sometimes you do a &quot;ps&quot; in Linux and don&#039;t even see anything that you think would be using the port.  Well, forutantely, there are some tricks to help you find out without doing a reboot.  If it is a production server, a reboot may not be an option anyway!&lt;br /&gt;
&lt;br /&gt;
Below are some methods to help.  We will start by looking at the &quot;fuser&quot; utility provided with many Linux distros:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;fuser -n tcp 80
80/tcp:               1029  1030  1824  1838  1839  1840  1841 13972 14136 14137 14712&lt;/pre&gt;This example shows a simple check of everything using port 80.  What you see above is a list of PIDs that are using that port.  Now we could probably just do a simple &quot;ps&quot; to figure out what it is.  You might also want to get more info by doing something like the following to determine from where it is running:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;cat /proc/1029/cmdline
/usr/local/apache/bin/httpd-kstart&lt;/pre&gt;Now that is useful information!  If you have not used &quot;/proc&quot; information before, you are definitely missing out on some great details!&lt;br /&gt;
&lt;br /&gt;
Another extremely helpful utility is &quot;netstat.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:3306                0.0.0.0:&lt;strong&gt;                   LISTEN      30150/mysqld
tcp        0      0 0.0.0.0:4427                0.0.0.0:&lt;/strong&gt;                   LISTEN      27775/drizzled
tcp        0      0 0.0.0.0:3307                0.0.0.0:&lt;strong&gt;                   LISTEN      30147/mysqld
tcp        0      0 0.0.0.0:3310                0.0.0.0:&lt;/strong&gt;                   LISTEN      30144/mysqld
tcp        0      0 0.0.0.0:1999                0.0.0.0:&lt;strong&gt;                   LISTEN      30126/mysqlmanager
tcp        0      0 0.0.0.0:111                 0.0.0.0:&lt;/strong&gt;                   LISTEN      1794/rpcbind
tcp        0      0 127.0.0.1:631               0.0.0.0:&lt;strong&gt;                   LISTEN      2264/cupsd
tcp        0      0 127.0.0.1:25                0.0.0.0:&lt;/strong&gt;                   LISTEN      2065/sendmail: acce
tcp        0      0 0.0.0.0:47165               0.0.0.0:&lt;strong&gt;                   LISTEN      1814/rpc.statd
tcp        0      0 :::4427                     :::&lt;/strong&gt;                        LISTEN      27775/drizzled
tcp        0      0 :::80                       :::&lt;strong&gt;                        LISTEN      1029/httpd
tcp        0      0 :::22                       :::&lt;/strong&gt;                        LISTEN      2029/sshd
udp        0      0 0.0.0.0:697                 0.0.0.0:&lt;strong&gt;                               1794/rpcbind
udp        0      0 0.0.0.0:718                 0.0.0.0:&lt;/strong&gt;                               1814/rpc.statd
udp        0      0 0.0.0.0:49625               0.0.0.0:&lt;strong&gt;                               1814/rpc.statd
udp        0      0 0.0.0.0:50147               0.0.0.0:&lt;/strong&gt;                               2241/avahi-daemon:
udp        0      0 0.0.0.0:5353                0.0.0.0:&lt;strong&gt;                               2241/avahi-daemon:
udp        0      0 0.0.0.0:111                 0.0.0.0:&lt;/strong&gt;                               1794/rpcbind
udp        0      0 0.0.0.0:631                 0.0.0.0:&lt;strong&gt;                               2264/cupsd
udp        0      0 192.168.1.3:123             0.0.0.0:&lt;/strong&gt;                               2044/ntpd
udp        0      0 127.0.0.1:123               0.0.0.0:&lt;strong&gt;                               2044/ntpd
udp        0      0 0.0.0.0:123                 0.0.0.0:&lt;/strong&gt;                               2044/ntpd
udp        0      0 fe80::21b:fcff:fe40:123     :::&lt;strong&gt;                                    2044/ntpd
udp        0      0 ::1:123                     :::&lt;/strong&gt;                                    2044/ntpd
udp        0      0 :::123                      :::&lt;strong&gt;                                    2044/ntpd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     7341   2241/avahi-daemon:  /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     8211   2366/gam_server     @/tmp/fam-root-
unix  2      [ ACC ]     STREAM     LISTENING     7445   2280/hald           @/var/run/hald/dbus-tenNNgKqAh
unix  2      [ ACC ]     STREAM     LISTENING     6523   1919/pcscd          /var/run/pcscd.comm
unix  2      [ ACC ]     STREAM     LISTENING     1271784 30147/mysqld        /mysql/mysql/tmp/mysqld2/mysql.sock
unix  2      [ ACC ]     STREAM     LISTENING     1271741 30126/mysqlmanager  /mysql/mysql/tmp/mysqlmanager.sock
unix  2      [ ACC ]     STREAM     LISTENING     6591   1949/audispd        /var/run/audispd_events
unix  2      [ ACC ]     STREAM     LISTENING     1271771 30144/mysqld        /mysql/mysql/tmp/mysqld10/mysql.sock
unix  2      [ ACC ]     STREAM     LISTENING     6732   2008/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     6620   1964/dbus-daemon    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     7414   2264/cupsd          /var/run/cups/cups.sock
unix  2      [ ACC ]     STREAM     LISTENING     7049   1976/python         /var/run/setroubleshoot/setroubleshoot_server
unix  2      [ ACC ]     STREAM     LISTENING     6179   1794/rpcbind        /var/run/rpcbind.sock
unix  2      [ ACC ]     STREAM     LISTENING     1271790 30150/mysqld        /mysql/mysql/tmp/mysqld1/mysql.sock
unix  2      [ ACC ]     STREAM     LISTENING     7088   2087/gpm            /dev/gpmctl
unix  2      [ ACC ]     STREAM     LISTENING     7440   2280/hald           @/var/run/hald/dbus-115QUHVqMh&lt;/pre&gt;We use this utility all of the time!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another utility that is great is &quot;lsof.&quot; &lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;lsof -i
COMMAND     PID    USER   FD   TYPE  DEVICE SIZE NODE NAME
httpd      1029  apache    3u  IPv6    6263       TCP &lt;/strong&gt;:http (LISTEN)
httpd      1030  apache    3u  IPv6    6263       TCP &lt;strong&gt;:http (LISTEN)
rpcbind    1794     rpc    6u  IPv4    6181       UDP &lt;/strong&gt;:sunrpc
rpcbind    1794     rpc    7u  IPv4    6184       UDP &lt;strong&gt;:uuidgen
rpcbind    1794     rpc    8u  IPv4    6185       TCP &lt;/strong&gt;:sunrpc (LISTEN)
rpc.statd  1814 rpcuser    5u  IPv4    6231       UDP &lt;strong&gt;:718
rpc.statd  1814 rpcuser    7u  IPv4    6242       UDP &lt;/strong&gt;:49625
rpc.statd  1814 rpcuser    8u  IPv4    6245       TCP &lt;strong&gt;:47165 (LISTEN)
httpd      1824    root    3u  IPv6    6263       TCP &lt;/strong&gt;:http (LISTEN)
httpd      1838  apache    3u  IPv6    6263       TCP &lt;strong&gt;:http (LISTEN)
httpd      1839  apache    3u  IPv6    6263       TCP &lt;/strong&gt;:http (LISTEN)
httpd      1840  apache    3u  IPv6    6263       TCP &lt;strong&gt;:http (LISTEN)
httpd      1841  apache    3u  IPv6    6263       TCP &lt;/strong&gt;:http (LISTEN)
sshd       2029    root    3u  IPv6    6778       TCP &lt;strong&gt;:ssh (LISTEN)
ntpd       2044     ntp   16u  IPv4    6813       UDP &lt;/strong&gt;:ntp
ntpd       2044     ntp   17u  IPv6    6814       UDP &lt;strong&gt;:ntp
ntpd       2044     ntp   18u  IPv6    6818       UDP localhost6.localdomain6:ntp
ntpd       2044     ntp   19u  IPv6    6819       UDP [fe80::21b:fcff:fe40:2fb6]:ntp
ntpd       2044     ntp   20u  IPv4    6820       UDP localhost.localdomain:ntp
ntpd       2044     ntp   21u  IPv4    6821       UDP 192.168.1.3:ntp
sendmail   2065    root    4u  IPv4    6994       TCP localhost.localdomain:smtp (LISTEN)
avahi-dae  2241   avahi   14u  IPv4    7351       UDP &lt;/strong&gt;:mdns
avahi-dae  2241   avahi   15u  IPv4    7352       UDP &lt;strong&gt;:50147
cupsd      2264    root    4u  IPv4    7413       TCP localhost.localdomain:ipp (LISTEN)
cupsd      2264    root    6u  IPv4    7416       UDP &lt;/strong&gt;:ipp
httpd     13972  apache    3u  IPv6    6263       TCP &lt;strong&gt;:http (LISTEN)
httpd     14136  apache    3u  IPv6    6263       TCP &lt;/strong&gt;:http (LISTEN)
httpd     14137  apache    3u  IPv6    6263       TCP &lt;strong&gt;:http (LISTEN)
httpd     14712  apache    3u  IPv6    6263       TCP &lt;/strong&gt;:http (LISTEN)
drizzled  27775   mysql   10u  IPv6 3542261       TCP &lt;strong&gt;:4427 (LISTEN)
drizzled  27775   mysql   12u  IPv4 3542262       TCP &lt;/strong&gt;:4427 (LISTEN)
mysqlmana 30126   mysql    4u  IPv4 1271740       TCP &lt;strong&gt;:tcp-id-port (LISTEN)
mysqld    30144   mysql   13u  IPv4 1271770       TCP &lt;/strong&gt;:dyna-access (LISTEN)
mysqld    30144   mysql   32u  IPv4 5784887       TCP localhost.localdomain:34779-&gt;localhost.localdomain:mysql (ESTABLISHED)
mysqld    30147   mysql   16u  IPv4 1271783       TCP &lt;strong&gt;:opsession-prxy (LISTEN)
mysqld    30150   mysql   14u  IPv4 1271789       TCP &lt;/strong&gt;:mysql (LISTEN)
mysqld    30150   mysql   56u  IPv4 5784888       TCP localhost.localdomain:mysql-&gt;localhost.localdomain:34779 (ESTABLISHED)
sshd      31040    root    3r  IPv6 5787976       TCP 192.168.1.3:ssh-&gt;192.168.1.152:bts-x73 (ESTABLISHED)&lt;/pre&gt;Anyway, we hope these will be of some value for you.  While there are probably several ways to do this, these are a few of our favorites.&lt;br /&gt;
&lt;br /&gt;
Let us know what you think.  You may have some even better tricks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 06 May 2009 08:12:39 -0600</pubDate>
    <guid isPermaLink="false">http://blog.valcora.com/index.php?/archives/14-guid.html</guid>
    
</item>
<item>
    <title>Determining CPU Information</title>
    <link>http://blog.valcora.com/index.php?/archives/12-Determining-CPU-Information.html</link>
            <category>Utilities</category>
    
    <comments>http://blog.valcora.com/index.php?/archives/12-Determining-CPU-Information.html#comments</comments>
    <wfw:comment>http://blog.valcora.com/wfwcomment.php?cid=12</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.valcora.com/rss.php?version=2.0&amp;type=comments&amp;cid=12</wfw:commentRss>
    

    <author>nospam@example.com (Valcora)</author>
    <content:encoded>
    Have you ever needed to determine details about a particular server that maybe you have never seen before?  Well, in Linux, there is a great utility that not that many novice users have ever used.  It is called &quot;dmidecode.&quot;&lt;br /&gt;
&lt;br /&gt;
From the &quot;man&quot; entry for dmidecode:&lt;br /&gt;
&lt;pre&gt;dmidecode  is a tool for dumping a computer’s DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description  of  the  system’s  hardware  components,  as well as other useful pieces of information such as serial numbers and BIOS revision.  Thanks to  this  table,  you can  retrieve this information without having to probe for the actual hardware.  While this is a good point in terms  of report  speed  and  safeness, this also makes the presented information possibly unreliable.

The DMI table doesn’t only describe what the system is  currently  made of,  it  also  can  report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).

SMBIOS stands for System Management BIOS, while DMI stands for  Desktop Management  Interface.  Both standards are tightly related and developed by the DMTF (Desktop Management Task Force).
 ... 
 ...
DMI TYPES
       The SMBIOS specification defines the following DMI types:

       Type   Information
       ----------------------------------------
          0   BIOS
          1   System
          2   Base Board
          3   Chassis
          4   Processor
          5   Memory Controller
          6   Memory Module
          7   Cache
          8   Port Connector
          9   System Slots
         10   On Board Devices
         11   OEM Strings
         12   System Configuration Options
         13   BIOS Language
         14   Group Associations
         15   System Event Log
         16   Physical Memory Array
         17   Memory Device
         18   32-bit Memory Error
         19   Memory Array Mapped Address
         20   Memory Device Mapped Address
         21   Built-in Pointing Device
         22   Portable Battery
         23   System Reset
         24   Hardware Security
         25   System Power Controls
         26   Voltage Probe
         27   Cooling Device
         28   Temperature Probe
         29   Electrical Current Probe
         30   Out-of-band Remote Access
         31   Boot Integrity Services
         32   System Boot
         33   64-bit Memory Error
         34   Management Device
         35   Management Device Component
         36   Management Device Threshold Data
         37   Memory Channel
         38   IPMI Device
         39   Power Supply&lt;/pre&gt;Go ahead and give it a try.  You may be surprised at the plethora of information available to you with such a simple command.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;/usr/sbin/dmidecode&lt;/pre&gt;Below is the output of &quot;dmidecode&quot; on a small desktop server:&lt;br /&gt;
&lt;pre&gt;# dmidecode 2.7
SMBIOS 2.4 present.
24 structures occupying 3009 bytes.
Table at 0x000F0000.

Handle 0x0000, DMI type 0, 24 bytes.
BIOS Information
        Vendor: Phoenix Technologies, LTD
        Version:  5.08
        Release Date: 04/27/2007
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 512 kB
        Characteristics:
                PCI is supported
                PNP is supported
                APM is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                BIOS ROM is socketed
                EDD is supported
                5.25&quot;/360 KB floppy services are supported (int 13h)
                5.25&quot;/1.2 MB floppy services are supported (int 13h)
                3.5&quot;/720 KB floppy services are supported (int 13h)
                3.5&quot;/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                ATAPI Zip drive boot is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
        BIOS Revision: 5.8
Handle 0x0001, DMI type 1, 27 bytes.
System Information
        Manufacturer: Compaq-Presario
        Product Name: GC662AA-ABA SR5113WM
        Version:
        Serial Number: CNH720064C
        UUID: 80DE8209-206F-1210-BE87-8ECDE0505874
        Wake-up Type: Power Switch
        SKU Number: GC662AA#ABA
        Family: 103C_53316J

Handle 0x0002, DMI type 2, 8 bytes.
Base Board Information
        Manufacturer: ASUSTek Computer INC.
        Product Name: IVY
        Version: 1.01
        Serial Number: MS1C74S30100479

Handle 0x0003, DMI type 3, 17 bytes.
Chassis Information
        Manufacturer: Hewlett-Packard
        Type: Desktop
        Lock: Not Present
        Version: Chassis Version
        Serial Number: BB0001
        Asset Tag:
        Boot-up State: Safe
        Power Supply State: Safe
        Thermal State: Safe
        Security Status: None
        OEM Information: 0x00000000

Handle 0x0004, DMI type 4, 35 bytes.
Processor Information
        Socket Designation: Socket AM2
        Type: Central Processor
        Family: Athlon 64
        Manufacturer: AMD
        ID: B1 0F 06 00 FF FB 8B 17
        Signature: Extended Family 0, Model B, Stepping 1
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                MMX (MMX technology supported)
                FXSR (Fast floating-point save and restore)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                HTT (Hyper-threading technology)
        Version: AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
        Voltage: 1.2 V
        External Clock: 200 MHz
        Max Speed: 3700 MHz
        Current Speed: 1900 MHz
        Status: Populated, Enabled
        Upgrade: Socket 940
        L1 Cache Handle: 0x0008
        L2 Cache Handle: 0x0009
        L3 Cache Handle: Not Provided
        Serial Number:
        Asset Tag:
        Part Number:

Handle 0x0005, DMI type 5, 20 bytes.
Memory Controller Information
        Error Detecting Method: 64-bit ECC
        Error Correcting Capabilities:
                None
        Supported Interleave: One-way Interleave
        Current Interleave: One-way Interleave
        Maximum Memory Module Size: 1024 MB
        Maximum Total Memory Size: 2048 MB
        Supported Speeds:
                70 ns
                60 ns
                50 ns
        Supported Memory Types:
                DIMM
        Memory Module Voltage: 2.9 V
        Associated Memory Slots: 2
                0x0006
                0x0007
        Enabled Error Correcting Capabilities:
                None

Handle 0x0006, DMI type 6, 12 bytes.
Memory Module Information
        Socket Designation: A0
        Bank Connections: 0
        Current Speed: 6 ns
        Type: DIMM
        Installed Size: 512 MB (Single-bank Connection)
        Enabled Size: 512 MB (Single-bank Connection)
        Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes.
Memory Module Information
        Socket Designation: A1
        Bank Connections: 2
        Current Speed: 6 ns
        Type: DIMM
        Installed Size: 512 MB (Single-bank Connection)
        Enabled Size: 512 MB (Single-bank Connection)
        Error Status: OK

Handle 0x0008, DMI type 7, 19 bytes.
Cache Information
        Socket Designation: L1 Cache
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 128 KB
        Maximum Size: 128 KB
        Supported SRAM Types:
                Synchronous
        Installed SRAM Type: Synchronous
        Speed: Unknown
        Error Correction Type: Single-bit ECC
        System Type: Data
        Associativity: 4-way Set-associative

Handle 0x0009, DMI type 7, 19 bytes.
Cache Information
        Socket Designation: L2 Cache
        Configuration: Enabled, Not Socketed, Level 2
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 512 KB
        Maximum Size: 512 KB
        Supported SRAM Types:
                Synchronous
        Installed SRAM Type: Synchronous
        Speed: Unknown
        Error Correction Type: Single-bit ECC
        System Type: Unified
        Associativity: 4-way Set-associative
Handle 0x000A, DMI type 9, 13 bytes.
System Slot Information
        Designation: PCI1
        Type: 32-bit PCI
        Current Usage: In Use
        Length: Short
        ID: 1
        Characteristics:
                5.0 V is provided
                PME signal is supported

Handle 0x000B, DMI type 9, 13 bytes.
System Slot Information
        Designation: PCI2
        Type: 32-bit PCI
        Current Usage: Available
        Length: Short
        ID: 2
        Characteristics:
                5.0 V is provided
                PME signal is supported

Handle 0x000C, DMI type 9, 13 bytes.
System Slot Information
        Designation: PCIEX16
        Type: x16 PCI Express
        Current Usage: Available
        Length: Short
        Characteristics:
                5.0 V is provided
                PME signal is supported

Handle 0x000D, DMI type 9, 13 bytes.
System Slot Information
        Designation: PCIEX1_1
        Type: x1 PCI Express
        Current Usage: Available
        Length: Short
        Characteristics:
                5.0 V is provided
                PME signal is supported

Handle 0x000E, DMI type 13, 22 bytes.
BIOS Language Information
        Installable Languages: 3
                n|US|iso8859-1
                n|US|iso8859-1
                r|CA|iso8859-1
        Currently Installed Language: n|US|iso8859-1

Handle 0x000F, DMI type 16, 15 bytes.
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 2 GB
        Error Information Handle: Not Provided
        Number Of Devices: 2

Handle 0x0010, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x000F
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: None
        Locator: A0
        Bank Locator: Bank0/1
        Type: DDR2
        Type Detail: None
        Speed: 667 MHz (1.5 ns)
        Manufacturer: 7F7F7F7F7F510000
        Serial Number: None
        Asset Tag: None
        Part Number: 64T64000HU3SB

Handle 0x0011, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x000F
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: None
        Locator: A1
        Bank Locator: Bank2/3
        Type: DDR2
        Type Detail: None
        Speed: 667 MHz (1.5 ns)
        Manufacturer: 7F7F7F7F7F510000
        Serial Number: None
        Asset Tag: None
        Part Number: 64T64000HU3SB

Handle 0x0012, DMI type 19, 15 bytes.
Memory Array Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 1 GB
        Physical Array Handle: 0x000F
        Partition Width: 0

Handle 0x0013, DMI type 20, 19 bytes.
Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0001FFFFFFF
        Range Size: 512 MB
        Physical Device Handle: 0x0010
        Memory Array Mapped Address Handle: 0x0012
        Partition Row Position: 1

Handle 0x0014, DMI type 20, 19 bytes.
Memory Device Mapped Address
        Starting Address: 0x00020000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 512 MB
        Physical Device Handle: 0x0011
        Memory Array Mapped Address Handle: 0x0012
        Partition Row Position: 1

Handle 0x0015, DMI type 32, 11 bytes.
System Boot Information
        Status: No errors detected

Handle 0x0016, DMI type 11, 5 bytes.
OEM Strings
        String 1: bid=73NAv3PrA1;PROD_MSWORKS;DLED;IS.N60d;ACPwrFail=Off;Chan=Reta
        String 2: il;CPUFan=On;DVDRW;LegacyFloppy=No;TVout=NTSC;PCBRAND=Presario;O
        String 3: S=MSV;R_WM;LScribe;DVDP_STD;Vos.H;PROD_MSOFFHST;MDVD_B;RC_B;FPA=
        String 4: H;C_MAR;.G4;##HPCPC=00000000&lt;90000006020000000420000253514130040
        String 5: 000010001000;5;:0665&lt;;85&gt;18&gt;1&lt;2=1:&lt;55&gt;?4;;=?=19:&lt;8494;&gt;:8011&lt;=31
        String 6: 953=?76?&gt;378139;594701:=;34:;55;9128&lt;7937==0&lt;722&lt;:&lt;1:2489&gt;:088=6
        String 7: :?1;2&gt;8=8&gt;12691&gt;&gt;286:9?;4454&gt;3&lt;3&gt;89909&gt;=738375;02951&lt;;&gt;=??2?70&gt;7
        String 8: 5;04&lt;815:33&lt;20846?312127;?24876&gt;7488457&lt;0;0?39&gt;9;?407;8;8;09&gt;=;=
        String 9: =&gt;231&gt;;?456:100000006;00000000002000840515?454=435&lt;49434=2340534
        String 10: 7594&gt;444?47535020000000000000000000000000000000000000000?24?4195
        String 11: 4&lt;8?4243:463542:9034;??09&lt;31;8951=&gt;:&gt;&lt;6&gt;3291=35:7;:7?&lt;0;=973478&lt;
        String 12: 4:062629&lt;&gt;53103&lt;&lt;=4651&lt;3499:7?769::98;357697=:3483&gt;07=6;&gt;1&lt;1?&lt;&gt;7
        String 13: &lt;817?5586&gt;79?5:5?19&lt;87:&gt;=6507148017=835&gt;552096;714776===1=59:5:9
        String 14: ;7?16&gt;;910;6&lt;?&gt;4?;=21?;7975:6660&gt;&lt;&gt;729&gt;:9&lt;98&lt;5&lt;=991&gt;7?7&gt;
        String 15:
        String 16:
        String 17:
        String 18:
        String 19:
        String 20:
        String 21:
        String 22:
        String 23:
        String 24:
        String 25:
        String 26:
        String 27:
        String 28:
        String 29:
        String 30:
        String 31:
        String 32:

Handle 0x0017, DMI type 127, 4 bytes.
End Of Table&lt;/pre&gt;&lt;br /&gt;
Many users are aware that you can get a more basic overview in Linux by going to &quot;cpuinfo&quot; in &quot;/proc.&quot;  Though you don&#039;t get anywhere near as much info, sometimes &quot;cpuinfo&quot; contains enough information.  To get that info execute the command:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;cat /proc/cpuinfo&lt;/pre&gt;Example output below:&lt;br /&gt;
&lt;pre&gt;processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
stepping        : 1
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips        : 2010.87
clflush size    : 64
power management: ts fid vid ttp tm stc 100mhzsteps

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
stepping        : 1
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch
bogomips        : 2010.87
clflush size    : 64
power management: ts fid vid ttp tm stc 100mhzsteps&lt;/pre&gt;&lt;br /&gt;
Hopefully these simple Linux utilities will come in handy for you as you get handed new servers to maintain... 
    </content:encoded>

    <pubDate>Tue, 05 May 2009 05:48:04 -0600</pubDate>
    <guid isPermaLink="false">http://blog.valcora.com/index.php?/archives/12-guid.html</guid>
    
</item>
<item>
    <title>Determine 32 or 64-bit Server</title>
    <link>http://blog.valcora.com/index.php?/archives/11-Determine-32-or-64-bit-Server.html</link>
            <category>Utilities</category>
    
    <comments>http://blog.valcora.com/index.php?/archives/11-Determine-32-or-64-bit-Server.html#comments</comments>
    <wfw:comment>http://blog.valcora.com/wfwcomment.php?cid=11</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.valcora.com/rss.php?version=2.0&amp;type=comments&amp;cid=11</wfw:commentRss>
    

    <author>nospam@example.com (Valcora)</author>
    <content:encoded>
    Ever been handed a new server only to wonder whether it is 32-bit or 64-bit?  Well, it is rather simple to tell without having to ask!  On a Linux server one of the following commands could just give you the answer very easily!&lt;br /&gt;
&lt;br /&gt;
We remember being given a supposed &quot;64-bit&quot; server once and being assured by a manager that it was &quot;definitely&quot; 64-bit.  After trying a few times to install a MySQL binary, it became obvious something was wrong.  We checked and sure enough the &quot;64-bit&quot; server was actually &quot;32-bit!&quot;&lt;br /&gt;
&lt;br /&gt;
If you want to be sure, the easiest thing to do is run the &quot;gentconf&quot; utility in Linux:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;getconf LONG_BIT&lt;/pre&gt;The above will display either 32 or 64.  It doesn&#039;t get any easier than that!&lt;br /&gt;
&lt;br /&gt;
Another method is below though this output is less obvious:&lt;br /&gt;
&lt;pre&gt;uname -m&lt;/pre&gt;You might also want to check all of the output of the &quot;uname&quot; command which can give you some great information!&lt;br /&gt;
&lt;pre&gt;uname -a&lt;/pre&gt;Anyway, that&#039;s it for this post.  If you have any other great simple methods, let us know.  We would love &lt;br /&gt;
to hear about them! 
    </content:encoded>

    <pubDate>Mon, 04 May 2009 17:22:22 -0600</pubDate>
    <guid isPermaLink="false">http://blog.valcora.com/index.php?/archives/11-guid.html</guid>
    
</item>

</channel>
</rss>