---
title: "linux命令大集合"
author: "leichenlei"
date: "2017-06-21T16:15:02Z"
tags: []
categories: ["操作系统"]
slug: "linux"
draft: false
lastmod: "2017-06-21T16:17:15Z"
id: 2380811
url: "https://leichenlei.iteye.com/blog/2380811"
---

```
测试硬盘写入
sync;/usr/bin/time -p bash -c "(dd if=/dev/zero of=test.dd  bs=1000K count=2000;sync)"

fio -filename=/dev/vdb -direct=1 -iodepth 1 -thread -rw=write -ioengine=psync -bs=1000k -size=2G -numjobs=30 -group_reporting -name=mytest
```