1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
Name: jattach
Version: 2.2
Release: 1
Summary: JVM Dynamic Attach utility
Group: Development/Tools
License: ASL 2.0
URL: https://github.com/jattach/jattach
Vendor: Andrei Pangin
Packager: Vadim Tsesko <incubos@yandex.com>
BuildRequires: gcc
BuildRequires: make
%description
The utility to send commands to remote JVM via Dynamic Attach mechanism.
All-in-one jmap + jstack + jcmd + jinfo functionality in a single tiny program.
No installed JDK required, works with just JRE.
This is the lightweight native version of HotSpot Attach API:
https://docs.oracle.com/javase/8/docs/jdk/api/attach/spec/
%build
# Do nothing
%install
BIN=%{buildroot}/usr/bin
mkdir -p ${BIN}
install -p -m 555 %{_sourcedir}/bin/jattach ${BIN}
%files
/usr/bin/jattach
%changelog
* Wed Jan 10 2024 Andrei Pangin <noreply@pangin.pro> - 2.2-1
- Automatically concatenate jcmd arguments
- Fixed attach to OpenJ9 on macOS
- Fixed container support on Linux 3.x
* Mon Jul 25 2022 Vadim Tsesko <incubos@yandex.com> - 2.1-1
- Handle both tabs and spaces when parsing /proc/pid/status
- Socket timeout while reading response from OpenJ9 VM
* Wed Aug 11 2021 Vadim Tsesko <incubos@yandex.com> - 2.0-1
- Attach to OpenJ9 VMs
- Pass agent error codes
- Improved container support
* Wed Jan 09 2018 Vadim Tsesko <incubos@yandex.com> - 1.5-1
- Improved attach to containerized JVMs
- chroot support
* Wed Nov 30 2016 Vadim Tsesko <incubos@yandex.com> - 0.1-1
- Initial version
|