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
Reinald Verheij
<rverheij@baan. To: [EMAIL PROTECTED]
nl> cc:
Sent by: Linux Subject: Re: Hostid Value.
on 390 Port
<[EMAIL PROTECTED]
ARIST.EDU>
03/29/02 03:35
AM
Please respond
to Linux on 390
Port
>> You can write a tiny app to grab the IBM cpu id
>> hack it up a bit and dump it in hostid if you want
how do I grab the IBM cpu id from a C program (which has no root
privilege)?
Reinald