Operating System - HP-UX
1855234 Members
5763 Online
104109 Solutions
New Discussion

how can i know my hp host's id

 
SOLVED
Go to solution
常有慈悲心
Regular Advisor

how can i know my hp host's id

i hear that every hp's host has a unique code(id).

i want to know my host's id,
how can i do?

thanks.
10 REPLIES 10
Devender Khatana
Honored Contributor
Solution

Re: how can i know my hp host's id

Hi,

#uname -i will give that.

HTH,
Devender
Impossible itself mentions "I m possible"
常有慈悲心
Regular Advisor

Re: how can i know my hp host's id

hi
i think that's software id,mean os's id,
not host id.??

yes?
Suraj Singh_1
Trusted Contributor

Re: how can i know my hp host's id

uname -i would give the machine's identification number or nodename (if machine id. no. can't be determined)

man uname

Regards
What we cannot speak about we must pass over in silence.
Naveej.K.A
Honored Contributor

Re: how can i know my hp host's id

Hi,

are you looking for this??

# getconf MACHINE_IDENT

Regards,
--Naveej
practice makes a man perfect!!!
Devender Khatana
Honored Contributor

Re: how can i know my hp host's id

Hi,

The output will be the same wheather you use getconf or uname.

HTH,
Devender
Impossible itself mentions "I m possible"
Rodney Hills
Honored Contributor

Re: how can i know my hp host's id

Try-

ifconfig lan0

This will return the IP number of the current host.

HTH

-- Rod Hills
There be dragons...
HGN
Honored Contributor

Re: how can i know my hp host's id

Hi

You can use the command

# uname -i

This will return the host id

Rgds

HGN
Victor BERRIDGE
Honored Contributor

Re: how can i know my hp host's id

Hi,
All the previous post have answered your question, now if you are after the boxes serial number then depending of the age of the box you will hve to look yourself on the chassis or the info will be in the output of print_manifest, do a man print_manifest


All the best
Victor
常有慈悲心
Regular Advisor

Re: how can i know my hp host's id

thanks everyone.

Dave Parker_5
New Member

Re: how can i know my hp host's id

In one of the earlier messages, the man page for uname was quoted and suggested that the hostname would be returned if the system ID could not be determined.

In what cases would the system ID not be able to be determined?

In this case, is there a way to set it?