- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HP-UX model command equivalent for RHAS2.1/3.0...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 03:26 AM
09-22-2005 03:26 AM
HP-UX model command equivalent for RHAS2.1/3.0?
Want to determine the hardware of the server from the command line.
fwiw, we're running IBM xSeries...
tia,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 03:34 AM
09-22-2005 03:34 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
CPU
cat /proc/cpuinfo
Memory
cat /proc/cpuinfo
Devices
cat /proc/bus/*
lspci -v
Disks
fdisk -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 03:37 AM
09-22-2005 03:37 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 03:51 AM
09-22-2005 03:51 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
Also available is a Linux version of the cfg2html program.
The info you are asking for is in the /proc directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 04:45 AM
09-22-2005 04:45 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
thanks for the info. lshw showed what I was looking for:
"product: eserver xSeries 345 -[867031X]-"
Any idea where this info is under /proc?
I did some digging, but couldn't find it.
Thanks,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 05:48 AM
09-22-2005 05:48 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
I haven't spent the time to look for that info.
Glad it helps get you the info you seek.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 03:40 PM
09-22-2005 03:40 PM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
lshw collects various information from /proc and other places and format it before displaying it. It is C code and we need to do a source code analysis to find out exact location .
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 05:59 PM
09-22-2005 05:59 PM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
grep 'model name' /proc/cpuinfo
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 06:01 PM
09-22-2005 06:01 PM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
# dmesg | grep -i 'CPU.:'
# grep 'CPU.:' /var/log/messages | tail -1
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 06:05 PM
09-22-2005 06:05 PM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
I do not think there is such a command you can use to get the server hardware information just the model command for HPUX.
HPUX only runs on a limited number of different platforms only.
RHEL can run on a wide range of servers, workstations, even PCs and they are all different.
You can get some hardware specific information like CPU, amount of memory, NIC model but not something like
[rp2470 /] model
9000/800/A500-5X
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 08:58 PM
09-22-2005 08:58 PM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
use 'lspci' command as root user to get full hardware information as the kernel sess them.
It should give more than enough information you are looking for. If you want cpu related information then check /proc/cpuinfo file to find out that information.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 11:47 PM
09-22-2005 11:47 PM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
System Information
Manufacturer: IBM
Product Name: eserver xSeries 345 -[867031X]-
Version: Not Specified
Serial Number: KPNRZ31
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 11:59 PM
09-22-2005 11:59 PM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2005 12:01 AM
09-23-2005 12:01 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2005 08:30 PM
09-25-2005 08:30 PM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
model name : Intel(R) Xeon(TM) CPU 2.40GHz
It will changed based on hardware setup not by any command. I have tried to use sysinfo script which gives all platform information. They are also using /proc/cpuinfo for gathering cpu information.
Ref: http://www.magnicomp.com/sysinfo/examples/redhat-7.1-x86/all_tree_msglevel_all.html
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 12:24 AM
09-26-2005 12:24 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 03:27 AM
09-26-2005 03:27 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
The major manufacturers flash the BIOS with their info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 03:22 AM
09-27-2005 03:22 AM
Re: HP-UX model command equivalent for RHAS2.1/3.0?
Take a look at /usr/sbin/dmidecode. I know that this program exists on RH3 and RH4, but I'm not sure about 2.1.
/usr/sbin/dmidecode | grep "Product Name"
should give you the model string you want.