Sponsored Content
Operating Systems Linux SuSE How to find Server model in Suse? Post 302914203 by MadeInGermany on Friday 22nd of August 2014 02:56:54 PM
Old 08-22-2014
Code:
dmidecode -t system | awk -F: '$1~/Product Name/'

works on many if not all systems. But needs root (sudo).
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

suse server 8.0 on hp server problem

machine: Hp Proliant DL145/Opterom 2.4GH 2*72 GBB SCSi hdd, suse: suse linux Enterprose server 8.0 for Amd 64 problem: 1. can not boot properly. have to use installation disk to boot it: enter installation and choose "boot from existing installation" and this is the only option. ( just... (1 Reply)
Discussion started by: murataht
1 Replies

2. HP-UX

Finding server Model on HPUX

Hi i am just wondering is there a command in hp that you can find the server model on hpux? Thanks (4 Replies)
Discussion started by: lnineill
4 Replies

3. SuSE

Setting up Suse 11.0 as server

Been awhile since I've been playing with Linux and I'm just starting to gte back into the swing of things again :) I'm setting up a OpenSUSE 11.0 computer at home (small network) and want to configure it as a server for Windows computers to be able to log onto the domain. From what I have read... (5 Replies)
Discussion started by: woofie
5 Replies

4. UNIX for Advanced & Expert Users

Command to find Hardware model in Solaris

Hi, I need a command to find the Hardware Model in Solaris 8,9,10,11. The command which I am using right now is: /usr/platform/`uname -i`/sbin/prtdiag The problem is in this output:- System Configuration: Sun Microsystems sun4u Netra T1 200 (UltraSPARC-IIe 500MHz) Here I am... (1 Reply)
Discussion started by: vineetd
1 Replies

5. Solaris

Getting Server Model from Sun Solaris

What command to get server model from a solaris 5.10? (4 Replies)
Discussion started by: ryandegreat25
4 Replies

6. Solaris

Solaris10 x86 - How to find out the CPU model and speed?

Please let me know if there is any way I can find out (either via command line or SMF) the following: 1.CPU model (eg. Pentium 4,Celeron) 2.CPU speed (eg. 1GHz) for this I could get the output through psrinfo -v, but still is there any other way? 3.Hard disk model (eg. Seagate). When I... (9 Replies)
Discussion started by: saagar
9 Replies

7. Solaris

Server model and it's prices.

Hello Guruz, I would like to know the list of Solaris spar models and it's prices. (2 Replies)
Discussion started by: bullz26
2 Replies

8. Solaris

uname -i question (trying to find model)

Hello, im trying to find the models of all the systems on my network. I am going to right a script to ssh in and execute the uname -i command. It works but doesnt tell me the model but rather something else. Is there a better command to get the model of your workstation? Command using: uname... (2 Replies)
Discussion started by: whotippedmycow
2 Replies

9. HP-UX

Script to find what netprinters are configured with what model

Following this thread : https://www.unix.com/hp-ux/189023-solved-way-tell-printer-used-configured-print-queue.html This is rwuerth's nice contribution! I had a more complicated script written a long time ago to find out this information, but after realizing due to VBE's post (thank you VBE)... (0 Replies)
Discussion started by: rwuerth
0 Replies
Parse::DMIDecode(3pm)					User Contributed Perl Documentation				     Parse::DMIDecode(3pm)

NAME
Parse::DMIDecode - Interface to SMBIOS using dmidecode SYNOPSIS
use strict; use Parse::DMIDecode (); my $decoder = new Parse::DMIDecode; $decoder->probe; # Actively probe using dmidecode # Manually supply your own dmidecode output to be parsed # $decoder->parse(qx(sudo /usr/sbin/dmidecode)); printf("System: %s, %s", $decoder->keyword("system-manufacturer"), $decoder->keyword("system-product-name"), ); DESCRIPTION
This module provides an OO interface to SMBIOS information through the dmidecode command which is known to work under a number of Linux, BSD and BeOS variants. METHODS
new my $decoder = Parse::DMIDecode->new( dmidecode => "/usr/sbin/dmidecode", nowarnings => 1, ); This is the constructor method to create a Parse::DMIDeocde object. It accepts two optional arguments; "dmidecode" and "nowarnings". The "dmidecode" argument specifies the full path and filename of the dmodecode command that should used by the "probe" method. The "nowarnings" argument instructs Parse::DMIDecode not to emit any parser warnings. probe $decoder->probe; This method executes an active probe to gather information using the dmidecode command. It does not accept any arguments. parse my $raw = qx(sudo /usr/sbin/dmidecode); $decoder->prase($raw); This method is a passive alternative to the "probe" method. It accepts a single string argument which should contain output from the dmidecode command, which it will parse. keyword my $serial_number = $decoder->keyword("system-serial-number"); keywords my @keywords = $decoder->keywords; my @bios_keywords = $decoder->keywords("bios"); for my $keyword (@bios_keywords) { printf("%s => %s ", $keyword, $decoder->keyword($keyword) ); } handle_addresses my @addresses = $decoder->handle_addresses; get_handles use Parse::DMIDecode::Constants qw(@TYPES); # Available groups to query: bios, system, baseboard, # chassis, processor, memory, cache, connector, slot for my $handle ($decoder->get_handles( group => "memory" )) { printf(">> Found handle at %s (%s): %s ", $handle->address, $TYPES[$handle->dmitype], $handle->raw ); } See Parse::DMIDecode::Handle for accessor method documentation for handle objects. smbios_version my $smbios_version = $decoder->smbios_version; Returns the SMBIOS version number. dmidecode_version my $dmidecode_version = $decoder->dmidecode_version; Returns the version number of the copy of dmidecode that was used to create the source data that was parsed. This value may not be available when using older versions of dmidecode. table_location my $memory_address = $decoder->table_location; structures my $total_structures = $decoder->structures; SEE ALSO
Parse::DMIDecode::Handle, Parse::DMIDecode::Constants, Parse::DMIDecode::Examples, examples/*.pl, <http://search.cpan.org/src/NICOLAW/Parse-DMIDecode-0.03/examples/>, <http://www.nongnu.org/dmidecode/>, <http://linux.dell.com/libsmbios/>, <http://sourceforge.net/projects/x86info/>, <http://www.dmtf.org/standards/smbios>, biosdecode(8), dmidecode(8), vpddecode(8) VERSION
$Id: DMIDecode.pm 1004 2007-03-11 12:43:25Z nicolaw $ AUTHOR
Nicola Worthington <nicolaw@cpan.org> <http://perlgirl.org.uk> If you like this software, why not show your appreciation by sending the author something nice from her Amazon wishlist ? <http://www.amazon.co.uk/gp/registry/1VZXC59ESWYK0?sort=priority> COPYRIGHT
Copyright 2006,2007 Nicola Worthington. This software is licensed under The Apache Software License, Version 2.0. <http://www.apache.org/licenses/LICENSE-2.0> perl v5.10.1 2009-12-02 Parse::DMIDecode(3pm)
All times are GMT -4. The time now is 10:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy