Skip to content

Commit

Permalink
nodeinfo improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Dec 25, 2016
1 parent 4e85f11 commit 97887de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
15 changes: 7 additions & 8 deletions SOURCES/nodeinfo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
###############################################################################

APP="RPMBuilder Node Info Viewer"
VER="1.0.0"
VER="1.0.1"

###############################################################################

Expand All @@ -19,13 +19,12 @@ main() {
pkg_ver=$(getNodePackageVersion)

echo ""
echo " CPU: $cpu_model ($proc_num)"
echo " Memory: $mem_usage"
echo " Swap: $swap_usage"
echo " OS: $os_version"
echo " Kernel: $kernel"
echo " Package: $pkg_ver"
echo ""
echo " CPU: ${cpu_model:--} (${proc_num:--})"
echo " Memory: ${mem_usage:--}"
echo " Swap: ${swap_usage:--}"
echo " OS: ${os_version:--}"
echo " Kernel: ${kernel:--}"
echo " Package: ${pkg_ver:--}"
}

getProcNum() {
Expand Down
5 changes: 4 additions & 1 deletion rpmbuilder-node.spec
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

Summary: Configuration package for rpmbuilder node
Name: rpmbuilder-node
Version: 1.2.0
Version: 1.2.1
Release: 0%{?dist}
License: EKOL
Group: Development/Tools
Expand Down Expand Up @@ -140,6 +140,9 @@ fi
###############################################################################

%changelog
* Mon Dec 26 2016 Anton Novojilov <[email protected]> - 1.2.1-0
- Minor UI fixes in nodeinfo utility

* Wed Dec 14 2016 Anton Novojilov <[email protected]> - 1.2.0-0
- Added nodeinfo utility

Expand Down

0 comments on commit 97887de

Please sign in to comment.