Querying Information
Querying the Service Version
Description
The isula version command is run to query the version of the iSulad service.
Usage
isula version
Example
Query the version information.
isula version
If the iSulad service is running properly, you can view the information about versions of the client, server, and OCI config.
Client:
Version: 2.1.1
Git commit: 3f7fa80729ea13edae63ba379d07345251350a85
Built: 2023-03-25T19:52:31.301169238+08:00
Server:
Version: 2.1.1
Git commit: 3f7fa80729ea13edae63ba379d07345251350a85
Built: 2023-03-25T19:52:31.301169238+08:00
OCI config:
Version: 1.0.1
Default file: /etc/default/isulad/config.json
If the iSulad service is not running, only the client information is queried and a message is displayed indicating that the connection times out.
Client:
Version: 2.1.1
Git commit: 3f7fa80729ea13edae63ba379d07345251350a85
Built: 2023-03-25T19:52:31.301169238+08:00
Can not connect with server.Is the iSulad daemon running on the host?
Therefore, the isula version command is often used to check whether the iSulad service is running properly.
Querying System-level Information
Description
The isula info command is run to query the system-level information, number of containers, and number of images.
Usage
isula info
Example
Query system-level information, including the number of containers, number of images, kernel version, and operating system (OS).
$ isula info
Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 8
Server Version: 2.1.1
Storage Driver: overlay
Backing Filesystem: extfs
Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Hugetlb Pagesize: 2MB
Kernel Version: 6.1.19-7.0.0.17.oe2303.x86_64
Operating System: openEuler 23.03
OSType: Linux
Architecture: x86_64
CPUs: 8
Total Memory: 7 GB
Name: localhost.localdomain
iSulad Root Dir: /var/lib/isulad