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 type iostat -En it is not giving me any message.
4.Hard disk size.
your path might not be set. btw are you the root user?
Try this :
/usr/platform/`uname -i`/sbin/prtdiag -v
for HDD model, choose inquiry and for HDD size, choose verify under "format" utility
#/usr/sbin/format
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format>
hi, incredible..
Thanks a lot for your response.
1.I operate with root user account.
2.I tried with the full path of prtdiag -v, it gives the same error as I mentioned earlier.
3.I am using Solaris 10 x86. There is no option as inquiry in my format utility.
4. I have another machine Sun Sparc in which all these works..!!
thanks again. Pls let me know if any other alternative..
Hi, I would find out for you. But seems like you're not running your OS on a SUN system? Is it true? If you're running on your IBM,DELL notebook etc, I doubt these will work. Anyway will try to find out. So where is your OS run? H/W model I mean..
Have you gone thru the HCLs, ?
---------- Post updated at 02:59 PM ---------- Previous update was at 02:48 PM ----------
What I can think of for now is to check the H/W specs from the BIOS or see the messages in the dmesg output.
Like what I've mentioned, it seems to work well in a SUN system. Eg. out captured from a Sun Ultra 40 workstation
root@unknown # uname -a
SunOS unknown 5.10 Generic_141415-03 i86pc i386 i86pc
root@unknown # prtdiag -v
System Configuration: Sun Microsystems Sun Ultra 40 Workstation
BIOS Configuration: Phoenix Technologies Ltd. 1.30 05/18/2006
==== Processor Sockets ====================================
Version Location Tag
-------------------------------- --------------------------
AMD CPU0-Socket 940
AMD CPU1-Socket 940
AMD CPU2-Socket 940
AMD CPU3-Socket 940
==== Memory Device Sockets ================================
Type Status Set Device Locator Bank Locator
------- ------ --- ------------------- --------------------
DRAM in use 0 C0_DIMM0 Bank 0
DRAM in use 1 C0_DIMM1 Bank 0
DRAM empty 2 C0_DIMM2 Bank 1
DRAM empty 3 C0_DIMM3 Bank 1
DRAM in use 4 C1_DIMM0 Bank 2
DRAM in use 5 C1_DIMM1 Bank 2
DRAM empty 6 C1_DIMM2 Bank 3
DRAM empty 7 C1_DIMM3 Bank 3
==== On-Board Devices =====================================
==== Upgradeable Slots ====================================
ID Status Type Description
--- --------- ---------------- ----------------------------
0 available PCI Express PCIE0 Slot
2 available PCI PCI0 Slot
1 available PCI PCI1 Slot
0 in use PCI Express PCIE1 Slot
0 available PCI Express PCIE2 Slot
0 available PCI Express PCIE3 Slot
root@unknown # prtconf -v |grep -i mem
Memory size: 8191 Megabytes
value='\_SB_.MEM0'
value='Memory controller'
value='AMD Memory Controller (HT Configuration)'
value='AMD Memory Controller (Address Map)'
value='AMD Memory Controller (DRAM Controller & HT Trace)'
value='AMD Memory Controller (HT Configuration)'
value='AMD Memory Controller (Address Map)'
value='AMD Memory Controller (DRAM Controller & HT Trace)'
value='Memory controller'
value='Memory controller'
name='maxallocmem' type=int items=1
name='device-memory' type=int items=10
root@unknown # psrinfo
0 on-line since 08/29/2009 16:10:19
1 on-line since 08/29/2009 16:10:24
2 on-line since 08/29/2009 16:10:26
3 on-line since 08/29/2009 16:10:28
root@unknown # psrinfo -v
Status of virtual processor 0 as of: 09/28/2009 15:57:17
on-line since 08/29/2009 16:10:19.
The i386 processor operates at 2411 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 09/28/2009 15:57:17
on-line since 08/29/2009 16:10:24.
The i386 processor operates at 2411 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 2 as of: 09/28/2009 15:57:17
on-line since 08/29/2009 16:10:26.
The i386 processor operates at 2411 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 3 as of: 09/28/2009 15:57:17
on-line since 08/29/2009 16:10:28.
The i386 processor operates at 2411 MHz,
and has an i387 compatible floating point processor.
System Configuration: HP ProLiant DL385 G2
BIOS Configuration: HP A09 04/07/2007
BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)
==== Processor Sockets ====================================
Version Location Tag
-------------------------------- --------------------------
Opteron Proc 1
Opteron Proc 2
...
psrinfo -v
Status of virtual processor 0 as of: 09/29/2009 15:49:01
on-line since 09/18/2009 19:28:05.
The i386 processor operates at 2600 MHz,
and has an i387 compatible floating point processor.