jray
Posts: 209
Score: 1 Joined: 3/29/2004 Status: offline
|
This is one I wrote very quickly, I wrote another one and lost it when my machine rebooted a few days ago what much prettier and gave me better information but I am having trouble re-creating it… select distinct pr.systemname0, cs.Model0, pr.ismulticore0, cs.numberofprocessors0 from dbo.v_GS_PROCESSOR as pr right outer join dbo.v_GS_COMPUTER_SYSTEM as CS on PR.ResourceID=PR.ResourceID left outer join V_fullcollectionmembership as FC on PR.ResourceID=FC.ResourceID where fc.collectionid = 'SMS000DS' order by pr.systemname0 Here is another one I have, but as you can see it does not have the number of processors or if they are multicore. SELECT DISTINCT cs.name0 'Computer Name', cs.username0 'User Name', cs.model0 'Model', pr.name0 'Description', pr.maxclockspeed0 'Processor', x.TotalPageFileSpace0 'Page File', x.TotalPhysicalMemory0 'Physical Memory',x.TotalVirtualMemory0 'Virtual Memory' FROM v_gs_computer_system cs left outer join v_GS_PROCESSOR as pr on cs.ResourceID = pr.ResourceID left outer join v_GS_X86_PC_MEMORY as x on x.ResourceID = pr.ResourceID left outer join v_FullCollectionMembership as fc on pr.ResourceID = fc.ResourceID where fc.collectionID = 'sms000DS' order by cs.name0
|