hostid - phpMan

Command: man perldoc info search(apropos)  


File: coreutils.info,  Node: hostid invocation,  Next: uptime invocation,  Prev: hostname invocation,  Up: System context

21.6 'hostid': Print numeric host identifier
============================================

'hostid' prints the numeric identifier of the current host in
hexadecimal.  This command accepts no arguments.  The only options are
'--help' and '--version'.  *Note Common options::.

   For example, here's what it prints on one system I use:

     $ hostid
     1bac013d

   On that system, the 32-bit quantity happens to be closely related to
the system's Internet address, but that isn't always the case.

   'hostid' is installed only on systems that have the 'gethostid'
function, so portable scripts should not rely on its existence.

   An exit status of zero indicates success, and a nonzero value
indicates failure.


Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-22 12:34 @18.118.186.156 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!