RVU used in TEM

(imported topic written by buckwem)

TEM licensing is now based on RVUs (processor cores). The License Overview page counts the number of devices.

How do I work out the number of PVUs used?

Mark

(imported comment written by mcalvi91)

yup.

we found the following properties to be helpful.

Total Processor Core Count

total processor core count

Logical Processor Count

logical processor count

Hyperthreading enabled

number of processors / physical processor count != logical processor count

Physical Processor Count

physical processor count

(imported comment written by buckwem)

Thanks - did you create a custom report I could re-use?

Mark

(imported comment written by mcalvi91)

not really. we added those for an IBM audit we went through and just need to dump certain columns (include these) out for them.

When I tried using the counts suggested above, I received information for machines with a Windows OS, but I received <undefined> for Linux and Solaris OS based systems.

Is there a way that I could collect that information from BigFix?

Thanks,
BobK

Hi Bob,

I asked the same question to IBM and while waiting for the answer, I found this https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli+Endpoint+Manager/page/Counting+RVUs

The IBM people said that this is probably the best way to do this.

I did have to change the “Computer Type” property as it was returning “Unknown” for non-Windows. Here is the new relevance:
if name of operating system = “Mac OS X” then( if ((exists key whose (it as string as lowercase contains “battery”) of entries of dictionaries of nodes of it) or (exists node “AppleACPIPlatformExpert/SMB0/AppleECSMBusController/AppleSmartBatteryManager” of service plane of iokit registry) of it) of service plane of iokit registry then “Laptop” else “Workstation” ) else if (name of operating system as lowercase starts with “win”) then (if (name of operating system = “Win95” OR name of operating system = “Win98” or name of operating system = “WinME”) then “Workstation” else if (exists wmi AND exists selects “* from win32_Battery” of wmi) then “Laptop” else (if (value “ProductType” of key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions” of registry = “WinNT”) then “Workstation” else “Server”)) else if (name of it contains “Linux” or name of it contains “Solaris” or name of it contains “AIX” or name of it contains “SunOS”) of operating system then “Server” else “Unknown”

@TheTick

Thanks, that seems to work for most systems, but I’m not sure about the counts I’m getting for Solaris.

One system came up with 12,000 managed cores…

I’m checking:
psrinfo -p
psrinfo -pv
and
kstat cpu_info | grep core_id | uniq | wc -l

and I’m not always seeing a relationship between those numbers and the numbers that are coming up for Managed Cores…

Anyone have any ideas as to how this works for Solaris systems?

Thanks,
BobK

There was a fix for the package information on Solaris. What version of the agent are you running on Solaris?

@AlanM,

9.2.2 - and 9.2.5 is when the fix was implemented. Prior to 9.2.5, there was a problem with the cpupackage inspector on Solaris systems.

It was suggested that I use:

if(exists properties whose(it as string contains "cpupackage")) then (if(name of operating system contains "SunOS" AND family name of main processor contains "UltraSPARC") then (count of cpupackage) else((core of it*count of it) of cpupackage)) else(0) 

I actually used this, because family name of main processor did not always return results:

if(exists properties whose(it as string contains "cpupackage")) then (if(name of operating system contains "SunOS") then (count of cpupackage) else((core of it*count of it) of cpupackage)) else(0) 

I used psrinfo -p (# of physical processors) and psrinfo -pv (Additional information about processors, including number of virtual processors per physical processor) to check the results I was getting from BigFix.

Thanks,
BobK