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.

53 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.3.0
  9. PKG_LICENSE:=GPL-2.0
  10. PKG_SOURCE_URL:=https://www.atoptool.nl/download/
  11. PKG_HASH:=73e4725de0bafac8c63b032e8479e2305e3962afbe977ec1abd45f9e104eb264
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/atop
  16. SECTION:=admin
  17. CATEGORY:=Administration
  18. TITLE:=System and process monitor for Linux
  19. DEPENDS:=+zlib +libncurses
  20. URL:=https://www.atoptool.nl/
  21. MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
  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))