Get the Host ID Number on Solaris Get the Host ID Number trên Solaris
On Solaris, the hostid is similar to the hostname. Trên Solaris, hostid là tương tự như tên máy chủ. To determine the hostid of a Solaris box, there are a couple of options to follow. Để xác định hostid của một hộp Solaris, có một vài lựa chọn để làm theo.
sysdef -h sysdef-h
The sysdef utility gives you system information, including hardware and system information. Sysdef tiện ích cung cấp cho bạn các thông tin hệ thống, bao gồm cả phần cứng và hệ thống thông tin.
Example: Ví dụ:
# sysdef -h # Sysdef-h
* *
* Hostid * Hostid
* *
3adf6e7c 3adf6e7c
hostid hostid
The hostid utility is a shortcut command to quickly get the hostid. Tiện ích hostid là một lệnh tắt để nhanh chóng có được hostid.
Example: Ví dụ:
# hostid # Hostid
* *
* Hostid * Hostid
* *
3adf6e7c 3adf6e7c

Daily Email Updates Email cập nhật hàng ngày
You can get our how-to articles in your inbox each day for free. Bạn có thể làm thế nào chúng tôi vào các bài viết trong hộp thư của bạn mỗi ngày miễn phí. Just enter your name and email below: Chỉ cần nhập tên và email của bạn dưới đây:


