[systemd-devel] [PATCH] create-log-files.sh: script to collect benchmark data

Paul Menzel paulepanter at users.sourceforge.net
Wed Jun 13 07:59:02 PDT 2012


Date: Fri, 8 Jun 2012 10:55:20 +0200

    ./create-log-files.sh disable-postfix

One of the goal of systemd is to decrease boot time. As written in the
Wiki [1] to draw correct conclusions benchmarks have to be run. This
script collects some data which is useful to compare different settings.

[1] http://freedesktop.org/wiki/Software/systemd/Optimizations
---
I hope others can contribute their scripts and programs so that
developers and users can benchmark their setup.

 scripts/create-log-files.sh |    8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100755 scripts/create-log-files.sh

diff --git a/scripts/create-log-files.sh b/scripts/create-log-files.sh
new file mode 100755
index 0000000..2fee015
--- /dev/null
+++ b/scripts/create-log-files.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+NOW=$(date +"%Y%m%d-%H%M%S")
+TEXT="$NOW--$1"
+systemd-analyze > systemd-analyze.$TEXT
+systemd-analyze blame > systemd-analyze-blame.$TEXT
+systemd-analyze plot > systemd-analyze-plot.$TEXT
+systemctl list-unit-files > systemctl-list-unit-files.$TEXT
-- 
1.7.10.4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120613/ad0c3332/attachment.pgp>


More information about the systemd-devel mailing list