Core and cpu information of HP-UX machine

Hi All,

i am trying to retrive below information from any hp-ux machine (physical & virtual both):
1.Processor Total Count:
2.Processor Core Count:
3.Processor type:
4.number of physical processors:
5 number of virtual processors:

i am trying to use command 'print_manifest' as 'machinfo' command does not work on each and every hp-ux machine:

here is the output of print_manifest command:

 
#print_manifest | more :
System Hardware
    Model:              ia64 hp Integrity Virtual Partition
    Main Memory:        6137 MB
    Processors:         2
        Intel(R)  Itanium(R)  Processor 9560 (2.53 GHz, 32 MB)
        8 cores, 16 logical processors per socket
        6.38 GT/s QPI, CPU version D0
               Active processor count:
               1 socket
               1 core
               2 logical processors (2 per socket)
               LCPU attribute is enabled
    OS mode:            64 bit

can someone help in getting this information , as per my knowledge awk will be very helpful in extracting the information..
also i want to extract only the machine specific information for eg :
as mentioned in the print_manifest output there are two entries of cores :

  1. 8 cores and 2. 1 core. Can someone explain me why it is so..