diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /src/pmdas/systemd/pmns | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'src/pmdas/systemd/pmns')
-rw-r--r-- | src/pmdas/systemd/pmns | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/pmdas/systemd/pmns b/src/pmdas/systemd/pmns new file mode 100644 index 0000000..b9e6487 --- /dev/null +++ b/src/pmdas/systemd/pmns @@ -0,0 +1,35 @@ +/* + * Metrics for systemd PMDA + * + * Copyright (c) 2012-2013 Red Hat Inc. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ + +systemd { + numclients SYSTEMD:0:0 + maxmem SYSTEMD:0:1 + journal +} + +systemd.journal { + records SYSTEMD:2:0 + records_raw SYSTEMD:2:1 + field + count SYSTEMD:2:2 + bytes SYSTEMD:2:3 +} + +systemd.journal.field { + cursor SYSTEMD:1:0 + string SYSTEMD:1:1 /* possibly a string */ + blob SYSTEMD:1:2 /* a binary blob */ +} |