Line 49: | Line 49: | ||
image_version= | image_version= | ||
− | ==== | + | ==== hardware ==== |
+ | You can verify the hardware information of a device by the <code>show hardware</code> command | ||
+ | <pre> | ||
+ | LYSH@MyHostName# show hardware | ||
+ | *-memory | ||
+ | description: System Memory | ||
+ | physical id: 11 | ||
+ | slot: System board or motherboard | ||
+ | size: 8GiB | ||
+ | *-disk | ||
+ | description: SCSI Disk | ||
+ | product: Virtual Disk | ||
+ | ..... | ||
+ | *-network | ||
+ | description: Ethernet interface | ||
+ | ...... | ||
+ | .... | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | ==== datetime ==== | ||
To verify the system time, date, and timezone, enter the <code>show datetime</code>. | To verify the system time, date, and timezone, enter the <code>show datetime</code>. | ||
LYSH@MyHostName# show datetime | LYSH@MyHostName# show datetime |
Revision as of 17:46, 28 April 2021
CLI - System
If you want to see system information, variables such as, name, serial number, configuration values, resources usages and so on, run the show system
command.
LYSH@MyHostName# show system ! Contact : supports@basein.net, https://wiki.basein.net Serial number : B1211KR0290P Model : B100 System id : 21 System package version : 1.2.74 .... Disk usage : Filesystem Type Size Used Avail Use% Mounted on /dev/sda2 ext4 98G 21G 72G 23% / ! end :
You can also execute the command with keywords.
LYSH@MyHostName# show system :Serial number" Serial number : B1211KR0290P
apache2
If you execute show apache2
command, you can the runtime status of the apache2 service.
LYSH@MyHostName# show apache2 ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2021-04-22 17:01:17 KST; 4h 11min ago ...
configuration
To verity the global configurations of the imRAD, enter the show config
command.
LYSH@MyHostName# show config # # system serial number # sn=B1211KR0290P .......
If you want to verity a global configuration, enter the show config {keyword}
command.
LYSH@MyHostName# show config version # lyon system version(package) and imange version version=1.2.74 image_version=
hardware
You can verify the hardware information of a device by the show hardware
command
LYSH@MyHostName# show hardware *-memory description: System Memory physical id: 11 slot: System board or motherboard size: 8GiB *-disk description: SCSI Disk product: Virtual Disk ..... *-network description: Ethernet interface ...... ....
datetime
To verify the system time, date, and timezone, enter the show datetime
.
LYSH@MyHostName# show datetime Local time: Tue 2020-12-15 15:56:33 KST Universal time: Tue 2020-12-15 06:56:33 UTC RTC time: Tue 2020-12-15 06:56:33 Time zone: Asia/Seoul (KST, +0900) System clock synchronized: yes systemd-timesyncd.service active: yes RTC in local TZ: no
If the Local time or Tiem zone is incorrect to your locale, you should change it in the configuration mode using "datetime" or "timezone" command.
encoding
reset
you can see the global configuration of the system by input the show config
command.
LYSH@MyHostName# show config