- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: HP Insight Manager SQL request
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
03-18-2008 07:15 AM
03-18-2008 07:15 AM
Is there someone who know how to get the number of physical processors by server using HP System Insight Manager SQL database.
It seems just to store informations about logical processors.
Any idea ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2008 08:37 AM
03-18-2008 08:37 AM
SolutionThis query will get you all the CPUs:
SELECT TOP 100 PERCENT dbo.devices.DeviceKey, dbo.DB_DeviceCpu.CpuSpeed, dbo.DB_DeviceCpu.CpuIndex AS SlotNumber,
'CPU' + STR(dbo.DB_DeviceCpu.CpuIndex, 2, 0) AS Instance, STR(dbo.DB_DeviceCpu.DeviceKey, 5, 0) + STR(dbo.DB_DeviceCpu.CpuIndex, 1, 0)
AS Processor_LUID, dbo.DB_DeviceCpu.CpuName AS Name
FROM dbo.DB_DeviceCpu INNER JOIN
dbo.devices ON dbo.DB_DeviceCpu.DeviceKey = dbo.devices.DeviceKey
ORDER BY dbo.devices.DeviceKey, dbo.devices.Name
If you pump the results of the above to a table, lets call it MyCorp_CPU, and then run this, it should give you a count of each:
SELECT DeviceKey, COUNT(CPUSpeed) AS Processors
FROM dbo.MyCorp_CPU
GROUP BY DeviceKey
You just have to link up the DeviceKey back to a server name to make the results meaningful.
Nelson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 01:27 AM
03-19-2008 01:27 AM
Re: HP Insight Manager SQL request
but i'm still sure that in HP SIM console and HP HomePage, we can't see physical one but just logical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2008 01:33 PM
03-19-2008 01:33 PM
Re: HP Insight Manager SQL request
Where is it that you see "logical" used for the terminology?
Nelson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 12:54 AM
03-20-2008 12:54 AM
Re: HP Insight Manager SQL request
There's a menu Processor
for example
Processor Index Type Utilization (%)
0 1866 MHz Intel Xeon 0
1 1866 MHz Intel Xeon 0
2 1866 MHz Intel Xeon 0
3 1866 MHz Intel Xeon 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 04:25 AM
03-20-2008 04:25 AM
Re: HP Insight Manager SQL request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 05:01 AM
03-20-2008 05:01 AM
Re: HP Insight Manager SQL request
this is physical ones but yes not accurate as these data coming through SNMP directly from server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2008 05:31 AM
03-20-2008 05:31 AM