Hello! On Mon, Sep 11, 2017 at 04:47:34PM +0200, Grzegorz Kulewski wrote:
> In my company we often want to monitor transfer speeds. To do > that we upload 1M-10G zero/random file to a web server and then > we set up some monitoring to time the download. Or we do the > download by hand during troubleshooting sessions. > > The downside of this is that we need to upload and keep those > files on disk and sometimes disk is a very limited resource. Just a side note: on most operating systems you can create sparse files, which do not occupy disk space. For example: $ truncate -s 10g foo $ ls -lah foo -rw-r--r-- 1 mdounin mdounin 10G Sep 11 18:08 foo $ du -sh foo 96K foo This allows to create huge zero-filled files even in very constrained environments. -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx