![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux 编程
tuyerv
这个作者很懒,什么都没留下…
展开
-
进程的基本属性:进程ID、父进程ID、进程组ID、会话和控制终端
摘要:本文主要介绍进程的基本属性,基本属性包括:进程ID、父进程ID、进程组ID、会话和控制终端.进程基本属性1.进程ID(PID)函数定义:#include <sys/types.h>#include <unistd.h>pid_t getpid(void);函数说明:每个进程都有一个非负整型表示的唯一进程ID(PI...转载 2020-01-16 10:35:12 · 1741 阅读 · 0 评论 -
Linux查看系统block size大小的方法
1.tune2fs命令查看block size大小:[root@localhost tmp]# tune2fs -l /dev/sda1|grep "Block size"Block size: 1024/dev/sda1 为/boot 分区的挂载点;2.stat命令查看block size大小:[root@localhost tmp]# stat ...转载 2019-07-03 11:24:20 · 1645 阅读 · 0 评论