Difference between revisions of "CLI - System"

Line 35: Line 35:
  
 
==== configuration ====
 
==== configuration ====
 +
To verity the [[Variables of Global Configurations | global configurations]] of the imRAD, enter the <code>show config</code> command.
 +
LYSH@MyHostName# show config
 +
#
 +
# system serial number
 +
#
 +
sn=B1211KR0290P
 +
.......
 +
 +
If you want to verity a [[Variables of Global Configurations | global configuration]], enter  the <code>show config {keyword}</code> command.
 +
LYSH@MyHostName# show config version
 +
# lyon system version(package) and imange version
 +
version=1.2.74
 +
image_version=
 +
 
==== encoding ====
 
==== encoding ====
 
==== reset ====
 
==== reset ====

Revision as of 10:42, 27 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=

encoding

reset

you can see the global configuration of the system by input the show config command.

LYSH@MyHostName# show config