摘要: 转载:https://www.linuxidc.com/Linux/2019-03/157819.htm 在Linux的top和ps命令中,默认看到最多的是pid (process ID),也许你也能看到lwp (thread ID)和tgid (thread group ID for the th 阅读全文
posted @ 2020-03-25 16:10 burlingame 阅读(1262) 评论(0) 推荐(1) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-25 15:56 burlingame 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 转载: https://mp.weixin.qq.com/s?__biz=MzU4NzU0MDIzOQ==&mid=2247487782&idx=3&sn=3f04bb053d01fa37ad1fdce54b2572c7&scene=21#wechat_redirect CPU(Central Pr 阅读全文
posted @ 2020-03-24 17:36 burlingame 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 管道的特点:如果管道中没有数据,那么取管道数据的操作就会滞留,直到管道内进入数据,然后读出后才会终止这一操作;同理,写入管道的操作如果没有读取管道的操作,这一动作也会滞留。 1,匿名管道 匿名管道使用符号 | 表示,管道的两端时两个普通的,匿名的,打开的文件描述符:一端只读和一端只写。 cat fi 阅读全文
posted @ 2020-03-19 15:35 burlingame 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: I/O重定向 默认情况下,有3个“文件”处于打开状态,stdin,stdout,stderr;重定向的解释:捕捉一个文件,命令,程序,脚本或者脚本中的代码块的输出,然后将这些输出作为输入发送到另一个文件,命令,程序或者脚本中。 每个打开的文件都会被分配一个文件描述符,stdin,stdout,std 阅读全文
posted @ 2020-03-19 11:17 burlingame 阅读(232) 评论(0) 推荐(0) 编辑
摘要: http://mywiki.wooledge.org/SignalTrap Signals are a basic tool for asynchronous interprocess communication. What that means is one process (A) can tel 阅读全文
posted @ 2020-03-18 15:44 burlingame 阅读(199) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-18 12:18 burlingame 阅读(7) 评论(0) 推荐(0) 编辑
摘要: exec和source都属于bash内部命令(builtins commands),在bash下输入man exec或man source可以查看所有的内部命令信息。 bash shell的命令分为两类:外部命令和内部命令。外部命令是通过系统调用或独立的程序实现的,如sed、awk等等。内部命令是由 阅读全文
posted @ 2020-03-16 17:24 burlingame 阅读(1875) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-16 17:02 burlingame 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 《高级Bash脚本编程指南》Revision 10中文版 github上链接地址: https://github.com/LinuxStory/Advanced-Bash-Scripting-Guide-in-Chinese 在线阅读链接:http://www.linuxplus.org/kb/ g 阅读全文
posted @ 2020-03-15 10:36 burlingame 阅读(173) 评论(0) 推荐(0) 编辑