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