在技巧8中,介绍了一个使用命令行获取有关系统中总内存信息的例子。
In Trick 8, you saw an example of using the command line to get information about the total memory in the system.
有了四台设备作为您的 ZFS 块设备(总大小 256MB),使用 zpool 命令来创建您的池。
With four devices available to use as your block devices for ZFS (totaling 256MB in size), create your pool using the zpool command.
在这里,子shell命令du - sh work | cut - f1以与pv兼容的格式生成工作目录的总大小。
Here, the subshell command du -sh work | cut -f1 yields the total size of the work directory in a format compatible with pv.
应用推荐