Categories
Snippets

xvfb-run: error: Xvfb failed to start

When trying to run Sitespeed.io in two different terminals on the same server I received the error that Xvfb could not run. By adding -a as an argument it will automatically pick up another thread to run with instead of the default. do xvfb-run -a sitespeed.io

Categories
Snippets

List directory with file sizes on Linux (ubuntu)

du -sh * I wanted to be able to list ls the files and folders on the server to find out which ones were taking up the most disk space (as part of the sitespeed.io project i’ve been working on). This worked a treat.