On Friday, 03/29/2002 at 07:55 CST, "Dennis G. Wicks" <[EMAIL PROTECTED]>
wrote:
> I can't tell you how to get it in C but you shouldn't need root.
>
> Querying the CPUid is a class G (General/everybody/anybody) command.
>
> Good Luck!
> Dennis

You need the Neale's cpint package if you want to issue CP QUERY commands.
 Diagnose 8 is a privileged instruction and Linux user space programs
can't issue it directly.

The CPU ID is also available via the STIDP instruction, but it too is
privileged.

Regards,
Alan Altmark
Sr. Software Engineer
IBM z/VM Development

Reply via email to