kibayasiの日記: 宛 hostid 通 2
日記 by
kibayasi
x86系のマシンでの、hostidてコマンド、
何をもって作り出した結果なんだろうか?
RedHatでもcygwinでもコマンドあるし、値帰ってくるんだけど。。
知ってる人います?
x86系のマシンでの、hostidてコマンド、
何をもって作り出した結果なんだろうか?
RedHatでもcygwinでもコマンドあるし、値帰ってくるんだけど。。
知ってる人います?
開いた括弧は必ず閉じる -- あるプログラマー
info hostid (スコア:1)
|`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.
なので,IP アドレスの 16 進表記だと思いますよ。
エンディアンの関係で並びが奇妙に感じられるかもしれませんが。
Re:info hostid (スコア:1)
つかえねーな (謎)