forked from jattach/jattach
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jattach.spec
43 lines (31 loc) · 963 Bytes
/
jattach.spec
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
Name: jattach
Version: 1.5
Release: 1
Summary: JVM Dynamic Attach utility
Group: Development/Tools
License: ASL 2.0
URL: https://github.com/apangin/jattach
Vendor: Andrei Pangin
Packager: Vadim Tsesko <[email protected]>
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 09 2018 Vadim Tsesko <[email protected]> - 1.5-1
- Improved attach to containerized JVMs
- chroot support
* Wed Nov 30 2016 Vadim Tsesko <[email protected]> - 0.1-1
- Initial version