[root@localhost ~]# vmstat --helpUsage:vmstat [options] [delay [count]]Options:-a, --active active/inactive memory-f, --forks number of forks since boot-m, --slabs slabinfo-n, --one-header do not redisplay header-s, --stats event counter statistics-d, --disk disk statistics-D, -...
that’s juser. The second set, group permissions, are for the file’s group (somegroup in the example). Any user in that group can take advantage of these permissions. (Use the groups command to see what group you’re in, and see 7.3.5 Working with Groups for more...
1.在线安装 yum install -y vim 示例含义:在线安装vim服务 注意:如果要加速yum在线下载需要修改yum源...
PID USER PR NI VIRT RES SHR S%CPU %MEM TIME+COMMAND 28894 root 22 0 1501m 405m 10m S 52.2 1.3 2534:16java 18249 root 18 0 3201m 1.9g 11m S 35.9 6.0 569:39.41java 2808 root 25 0 3333m 1.0g 11m S 24.3 3.1 526:51.85java 25668 root 23 0 3180m 704m 11m S 14.0 2.2 360:44...
MEMORY: 崩溃主机的物理内存 PANIC: 崩溃类型,常见的崩溃类型包括: SysRq (System Request):通过魔法组合键导致的系统崩溃,通常是测试使用。通过 echo c > /proc/sysrq-trigger,就可以触发系统崩溃。 oops:可以看成是内核级的 Segmentation Fault。应用程序如果进行了非法内存访问或执行了非法指令,会得到 Segfault ...
非一致性内存访问 NUMA(Non-Uniform Memory Access)意思是内存被划分为各个node,访问一个node花费的时间取决于CPU离这个node的距离。每一个cpu内部有一个本地的node,访问本地node时间比访问其他node的速度快 一致性内存访问 UMA(Uniform Memory Access)也可以称为SMP(Symmetric Multi-Process)对称多处理器。意思是所有...
CMA区域的创建有两种方法,一种是通过dts的reserved memory,另外一种是通过command line参数和内核配置参数。 dts方式: reserved-memory { /* global autoconfigured region for contiguous allocations */ linux,cma { compatible = "shared-dma-pool"; reusable; size = <0 0x28000000>; alloc-ranges = <0 0x...
CMA区域的创建有两种方法,一种是通过dts的reserved memory,另外一种是通过command line参数和内核配置参数。 dts方式: reserved-memory { /* global autoconfigured region for contiguous allocations */ linux,cma { compatible = "shared-dma-pool";
# CROSS_COMPILE can be set on the command line # make CROSS_COMPILE=ia64-linux- # Alternatively CROSS_COMPILE can be set in the environment. # Default value for CROSS_COMPILE is not to prefix executables # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile CROSS_...
command line方式:cma=nn[MG]@[start[MG][-end[MG]]] static int __init early_cma(char *p){ pr_debug("%s(%s)\n", __func__, p); size_cmdline = memparse(p, &p); if (*p != '@') { /* if base and limit are not assigned, set limit to high memory bondary to use low memo...