You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.7 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=atop
  7. PKG_RELEASE:=1
  8. PKG_VERSION:=2.7.1
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=https://www.atoptool.nl/download/
  11. PKG_HASH:=ca48d2f17e071deead5e6e9cc9e388bf6a3270d695e61976b3794d4d927b5c4e
  12. PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
  13. PKG_LICENSE:=GPL-2.0-or-later
  14. PKG_LICENSE_FILES:=COPYING
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/atop
  17. SECTION:=admin
  18. CATEGORY:=Administration
  19. TITLE:=System and process monitor for Linux
  20. DEPENDS:=+zlib +libncurses
  21. URL:=https://www.atoptool.nl/
  22. endef
  23. define Package/atop/description
  24. Atop is an ASCII full-screen performance monitor for
  25. Linux that is capable of reporting the activity of all
  26. processes (even if processes have finished during the
  27. interval), daily logging of system and process activity
  28. for long-term analysis, highlighting overloaded system
  29. resources by using colors, etcetera. At regular
  30. intervals, it shows system-level activity related to the
  31. CPU, memory, swap, disks (including LVM) and network
  32. layers, and for every process (and thread) it shows e.g.
  33. the CPU utilization, memory growth, disk utilization,
  34. priority, username, state, and exit code. In combination
  35. with the optional kernel module netatop, it even shows
  36. network activity per process/thread.
  37. endef
  38. MAKE_FLAGS += \
  39. CFLAGS+="-Wno-misleading-indentation -Wno-unused-const-variable -Wno-format-truncation"
  40. define Package/atop/install
  41. $(INSTALL_DIR) $(1)/usr/bin
  42. $(INSTALL_BIN) $(PKG_BUILD_DIR)/atop $(1)/usr/bin/
  43. endef
  44. $(eval $(call BuildPackage,atop))