summaryrefslogtreecommitdiffstats
path: root/data/systemd/instperf.service
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-05-10 09:24:26 -0400
committerChris Lumens <clumens@redhat.com>2011-05-16 14:07:48 -0400
commit4e5940ffc640f10d6901f6582db50899d58bc6c2 (patch)
tree10b42eba77625adc5920331df86bfbbd00f14e16 /data/systemd/instperf.service
parentf159bd6b1be7e2baef3b20633b38863817d7f410 (diff)
downloadanaconda-4e5940ffc640f10d6901f6582db50899d58bc6c2.tar.gz
anaconda-4e5940ffc640f10d6901f6582db50899d58bc6c2.tar.xz
anaconda-4e5940ffc640f10d6901f6582db50899d58bc6c2.zip
Add a python program to record memory usage during installation.
This program only runs during installation if the "debug" command line option is provided. It writes out a /tmp/memory.dat file which can be copied off the system and processed with the provided gnuplot script to display a graph.
Diffstat (limited to 'data/systemd/instperf.service')
-rw-r--r--data/systemd/instperf.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/systemd/instperf.service b/data/systemd/instperf.service
new file mode 100644
index 000000000..b843872e3
--- /dev/null
+++ b/data/systemd/instperf.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=anaconda performance monitor
+Before=loader.service
+
+[Service]
+WorkingDirectory=/
+ExecStart=/usr/bin/instperf
+ConditionKernelCommandLine=debug