From ec0cece507ac821ef0375d67db2e4200639de3c2 Mon Sep 17 00:00:00 2001 From: Tomas Edwardsson Date: Tue, 16 Jul 2013 10:23:39 +0000 Subject: [PATCH] Added example of longoutput --- check_pkgkit/README.md | 51 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/check_pkgkit/README.md b/check_pkgkit/README.md index 4b1b070..8b13d0e 100644 --- a/check_pkgkit/README.md +++ b/check_pkgkit/README.md @@ -21,20 +21,67 @@ check for updates but they are distribution specific. The main drivers are: Usage ===== +Critical Security +----------------- + Critical on all security type updates -------------------------------------- ``` $ check_pkgkit --no-longoutput --th "metric=security,critical=1..inf" Critical - Total: 67, Security: 15, Bug fix: 48, Enhancement: 0, Normal: 4. Critical on security | 'total'=67;;;; 'security'=15;;1..inf;; 'bug fix'=48;;;; 'normal'=4;;;; ``` +Total Updates +------------- + Critical on all security type updates and warning on many total updates ------------------------------------------------------------------------ ``` $ python check_pkgkit --no-longoutput --th "metric=security,critical=1..inf" --th "metric=total,warning=40..inf" Critical - Total: 67, Security: 15, Bug fix: 48, Enhancement: 0, Normal: 4. Critical on security. Warning on total | 'total'=67;40..inf;;; 'security'=15;;1..inf;; 'bug fix'=48;;;; 'normal'=4;;;; ``` +Long Output +----------- +With long output (default) you also get the list of packages + +``` +$ python check_pkgkit --th "metric=security,critical=1..inf" --th "metric=total,warning=40..inf" +Critical - Total: 32, Security: 1, Bug fix: 31, Enhancement: 0, Normal: 0. Critical on security | 'total'=32;40..inf;;; 'security'=1;;1..inf;; 'bug fix'=31;;;; +Security + python-bugzilla-0.9.0-1.fc18.noarch +Bug fix + ibus-typing-booster-1.2.1-1.fc18.noarch + nodejs-abbrev-1.0.4-6.fc18.noarch + nodejs-archy-0.0.2-8.fc18.noarch + nodejs-async-0.2.9-2.fc18.noarch + nodejs-block-stream-0.0.6-7.fc18.noarch + nodejs-chmodr-0.1.0-4.fc18.noarch + nodejs-chownr-0.0.1-9.fc18.noarch + nodejs-combined-stream-0.0.4-3.fc18.noarch + nodejs-delayed-stream-0.0.5-5.fc18.noarch + nodejs-fstream-0.1.22-3.fc18.noarch + nodejs-ini-1.1.0-3.fc18.noarch + nodejs-lru-cache-2.3.0-3.fc18.noarch + nodejs-mime-1.2.9-3.fc18.noarch + nodejs-minimatch-0.2.12-2.fc18.noarch + nodejs-mkdirp-0.3.5-3.fc18.noarch + nodejs-mute-stream-0.0.3-6.fc18.noarch + nodejs-node-uuid-1.4.0-4.fc18.noarch + nodejs-nopt-2.1.1-3.fc18.noarch + nodejs-once-1.1.1-5.fc18.noarch + nodejs-opener-1.3.0-7.fc18.noarch + nodejs-osenv-0.0.3-5.fc18.noarch + nodejs-promzard-0.2.0-6.fc18.noarch + nodejs-proto-list-1.2.2-5.fc18.noarch + nodejs-read-1.0.4-8.fc18.noarch + nodejs-retry-0.6.0-5.fc18.noarch + nodejs-sigmund-1.0.0-5.fc18.noarch + nodejs-tar-0.1.17-3.fc18.noarch + nodejs-uid-number-0.0.3-7.fc18.noarch + nodejs-which-1.0.5-8.fc18.noarch + python-virtinst-0.600.4-2.fc18.noarch + vgabios-0.6c-9.fc18.noarch +``` + Caveats