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
listen
To print all socket ports that are open or use, enter the show listen command.
LYSH@MyHostName# show listen COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME sshd 362800 root 4u IPv4 498959339 TCP 192.168.4.40:22->192.168.5.15:50560 (ESTABLISHED) sshd 362812 baseindev 4u IPv4 498959339 TCP 192.168.4.40:22->192.168.5.15:50560 (ESTABLISHED) sshd 362812 baseindev 10u IPv6 498963275 TCP [::1]:6010 (LISTEN) sshd 362812 baseindev 11u IPv4 498963276 TCP 127.0.0.1:6010 (LISTEN) .....
loghost
The "loghost" is a remote log server that can save logs from devices. To verify loghost, enter the show loghost in the user mode.
LYSH@MyHostName# show loghost *.notice @192.168.0.100:1000
You can configure it in the configuration mode.
reset
you can see the global configuration of the system by input the show config command.
LYSH@MyHostName# show config