strace(1) - trace system calls and signals

what does gethostid(3) return when from from a shell? e.g.,
$ gethostid


Try calling the gethostid in a simple c program:

#include <sys/types.h>
#include <sys/socket.h>
u_long hostid;
hostid = gethostid();
printf("hostid %i", hostid )


Reference info:
http://linux.die.net/man/1/strace
http://linux.die.net/man/3/gethostid

Axton Grams

On Thu, Nov 6, 2008 at 3:34 PM, Alberto Mel. <[EMAIL PROTECTED]> wrote:
> ** Hi Axton,
>
> firstly thanks for your answer,
>
> Yes our linux machine has iface and I can see the mac.
>
> When you are referring to traces on serverd, what do you mean?, I have
> activated plug-in logs, a-links and filters, but i can't see errors.
>
> Thank you very much!!!!
>
> 2008/11/6 Axton <[EMAIL PROTECTED]>
>>
>> Is there a network iface on the linux machine?  Does it have a mac
>> defined? Run strace on arserverd when you open the license dialog
>> where it should return the hostid and look for the gethostid sys call.
>>
>> Axton
>>
>> On Thu, Nov 6, 2008 at 2:55 PM, Alberto Mel. <[EMAIL PROTECTED]>
>> wrote:
>> > **
>> > Hi all!...
>> >
>> > we have a developer environment in a VMWARE server under Linux Suse
>> > (Novell)
>> > and after moving the machine, the mac of the new machine is not the same
>> > as
>> > the old machine. Of course, the licenses now are not valid, but the
>> > problem
>> > is that the Host id Field in the Add Remove Licenses Form is blank!!!,
>> > it
>> > seems like the remedy server coulnn't see the mac of the new machine.
>> >
>> > Could anyone tell me what's the matter???
>> >
>> > Thanks a lot in advance!.
>> >
>> > Alberto
>> > __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
>> > html___
>>
>>
>> _______________________________________________________________________________
>> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
>> Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
>
> __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
> html___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to