概括:本章介绍了前趋图用于描述程序执行的先后,而后介绍了进程的概念,特征和状态及其转化,线程的概念。

前趋图

概念
1
用一张有向无环图来表示执行的先后

linux下使用dd命令进行简单测速

测试写入速度

1
dd if=/dev/zero of=/mnt/filename bs=1M count=1024

of后面跟着一个不存在的文件名,此命令会在/mnt下写入一个名为filename,大小为1G的文件。此方法可以测试磁盘的读写速度。一样的道理,of后为硬盘挂载点时,测试所得写入速度就是硬盘的速度。

测试读取速度

1
dd if=/mnt/filename of=/dev/null bs=1M count=1024

所得速度就是读取速度

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

0%