David Sloboda
2012-01-24 18:49:46 UTC
David Sloboda [http://community.zenoss.org/people/david_sloboda] created the discussion
"how to use zendmd to show number of cores per cpu on a device?"
To view the discussion, visit: http://community.zenoss.org/message/63865#63865
--------------------------------------------------------------
Zenoss 3.2.1 on RHEL5
Is there a way to use zendmd to report on the number of cores each CPU has?
Thanks to http://community.zenoss.org/docs/DOC-4456 http://community.zenoss.org/docs/DOC-4456 "zendmd script to dump hardware and software info"
I can see the number of CPUs on the server.
The IRC chat logs seem to imply that Zenoss out of the box does not capture the number of cores per CPU.
[***@bby1ems05 ~]$ zendmd
...
...    cpu_count = cpu_count + 1
...
  #1 AMD
  #2 AMD
  #3 AMD
  #4 AMD
  #5 AMD
  #6 AMD
  #7 AMD
  #8 AMD
[***@kel-lx19 ~]# grep -c ^processor /proc/cpuinfo
8
[***@kel-lx19 ~]#
[***@kel-lx19 ~]# grep cores /proc/cpuinfo
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
[***@kel-lx19 ~]#
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63865#63865]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"how to use zendmd to show number of cores per cpu on a device?"
To view the discussion, visit: http://community.zenoss.org/message/63865#63865
--------------------------------------------------------------
Zenoss 3.2.1 on RHEL5
Is there a way to use zendmd to report on the number of cores each CPU has?
Thanks to http://community.zenoss.org/docs/DOC-4456 http://community.zenoss.org/docs/DOC-4456 "zendmd script to dump hardware and software info"
I can see the number of CPUs on the server.
The IRC chat logs seem to imply that Zenoss out of the box does not capture the number of cores per CPU.
[***@bby1ems05 ~]$ zendmd
...
d = find("kel-lx19")
cpu_count = 1
...    print "  #%s %s" % (cpu_count, c.getManufacturerName())cpu_count = 1
...    cpu_count = cpu_count + 1
...
  #1 AMD
  #2 AMD
  #3 AMD
  #4 AMD
  #5 AMD
  #6 AMD
  #7 AMD
  #8 AMD
[***@kel-lx19 ~]# grep -c ^processor /proc/cpuinfo
8
[***@kel-lx19 ~]#
[***@kel-lx19 ~]# grep cores /proc/cpuinfo
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
cpu cores      : 2
[***@kel-lx19 ~]#
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63865#63865]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]