James, Emmett,

Thanks for the replies.  Good to know that an older and a new RHEL seem to
come up with the right answer (I assume you both have 2 vCPUs).

Just to be sure, I tried again on my reference system, and got similar
results:

# cat /etc/redhat-release
   Red Hat Enterprise Linux Server release 6.3 (Santiago)
# ./getticks
getting one set of data
sleeping 5 seconds and getting another set of data
statOut1 = cpu  13191 57057 57033 4 0 2781 3194 3158 0
statOut2 = cpu  13191 57057 57033 4 0 2781 3194 3158 0
nums1 = 13191+57057+57033+4+0+2781+3194+3158+0
nums2 = 13191+57057+57033+4+0+2781+3194+3158+0
totalTicks = 0


"Mike MacIsaac" <mikemac at-sign us.ibm.com>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to