dive 是一个方便的观察容器各层信息的工具,同时也集成了容器构建命令,方便我们在构建容器 镜像的同时查询镜像各层的变动信息 安装 mac 系统,可以按照自己的系统选择安装方式 wget https://github.com/wagoodman/dive/releases/download/v0.6.0/dive_0.6.0_darwin_amd64.tar.gz 解压,并配置系统环境变量 使用 包含的命令 dive --help This tool provides a way to di
一.如何查看服务器的CPU 今天安装了9台Linux服务器,型号完全不一样(有DELL. HP和IBM服务器),又懒得去对清单,如何在Linux下cpu的个数和核数呢?另外,nginx的cpu工作模式也需要确切的知道linux服务器到 底有多少个逻辑cpu,不过现在服务器那是相当的彪悍,直接上worker_processes 8吧. 判断依据: 1. 具有相同core id的cpu是同一个core的超线程.(Physical id and core id are not necessarily
介绍Linux进程查看及管理的工具:pstree, ps, pidof, pgrep, top, htop, glance, pmap, vmstat, dstat, kill, pkill, job, bg, fg, nohup 一. pstree命令: pstree - display a tree of processes 二. ps: process state, report a snapshot of the current p