dreport: Added top plugin

Plugin used for collecting top command output, which
provides linux process details.

Change-Id: I54633512b6b459d808379467a2f6e77c1ffb0fb8
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/tools/dreport.d/plugins.d/top b/tools/dreport.d/plugins.d/top
new file mode 100644
index 0000000..a61e888
--- /dev/null
+++ b/tools/dreport.d/plugins.d/top
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# config: 123 10
+# @brief: Collect top command output.
+#
+
+. $DREPORT_INCLUDE/functions
+
+desc="top"
+file_name="top.log"
+command="top -n 1 -b"
+
+add_cmd_output "$command" "$file_name" "$desc"