Sat Apr 28 08:49:45 IST 2018 $ ps -o "pid args" | grep com.android.jack.launcher.ServerLauncher | grep -v grep | awk '{print dump-report}' | xargs kill -3 Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). $ id -u 1000 $ ps -A -o "uid pid args" | grep com.android.jack.launcher.ServerLauncher | grep -v grep 1000 11183 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/barin/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher $ lsof -i TCP:8076 -l COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 11183 1000 21u IPv6 71160 0t0 TCP localhost:8076 (LISTEN) $ lsof -i TCP:8077 -l COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 11183 1000 23u IPv6 71170 0t0 TCP localhost:8077 (LISTEN) $ cat "$JACK_CLIENT_SETTING" # Server settings SERVER_HOST=localhost SERVER_PORT_SERVICE=8076 SERVER_PORT_ADMIN=8077 # Internal, do not touch SETTING_VERSION=4 $ cd "$JACK_HOME"; ls -l -R -n . .: total 10412 -rw------- 1 1000 1000 2083 Feb 28 17:45 client.jks -rw------- 1 1000 1000 2794 Apr 28 06:40 client.pem -rw------- 1 1000 1000 405 Apr 23 21:30 config.properties drwxr-xr-x 2 1000 1000 4096 Feb 28 17:45 jack -rw------- 1 1000 1000 5102506 Feb 28 17:45 launcher.jar drwx------ 2 1000 1000 4096 Apr 28 06:40 logs -rw------- 1 1000 1000 1437 Apr 28 08:49 report.14355.txt -rw------- 1 1000 1000 5522186 Feb 28 17:45 server-1.jar -rw------- 1 1000 1000 2068 Feb 28 17:45 server.jks -rw------- 1 1000 1000 1042 Apr 28 06:40 server.pem ./jack: total 12048 -rw------- 1 1000 1000 12334436 Feb 28 17:45 jack-1519820133670-0.jar ./logs: total 488 -rw-r--r-- 1 1000 1000 128803 Apr 28 08:40 jack-server-0-0.log -rw-r--r-- 1 1000 1000 0 Apr 23 21:31 jack-server-0-0.log.lck -rw-r--r-- 1 1000 1000 128625 Apr 27 22:03 jack-server-0-1.log -rw-r--r-- 1 1000 1000 38805 Apr 23 22:59 jack-server-0-2.log -rw-r--r-- 1 1000 1000 178912 Apr 23 21:31 jack-server-0-3.log -rw-r--r-- 1 1000 1000 1194 Apr 23 14:48 jack-server-0-4.log -rw------- 1 1000 1000 0 Apr 28 06:39 outputs.txt $ curl --version curl 7.55.1 (x86_64-pc-linux-gnu) libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3 Release-Date: 2017-08-14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy PSL $ JACK_EXTRA_CURL_OPTIONS=-v jack-admin list server * Trying ::1... * TCP_NODELAY set * connect to ::1 port 8077 failed: Connection refused * Trying ::1... * TCP_NODELAY set * connect to ::1 port 8077 failed: Connection refused * Trying 127.0.0.1... * TCP_NODELAY set * Connected to localhost (127.0.0.1) port 8077 (#0) * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH * successfully set certificate verify locations: * CAfile: /home/barin/.jack-server/server.pem CApath: /etc/ssl/certs * TLSv1.2 (OUT), TLS header, Certificate Status (22): } [5 bytes data] * TLSv1.2 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * TLSv1.2 (IN), TLS handshake, Server hello (2): { [81 bytes data] * TLSv1.2 (IN), TLS handshake, Certificate (11): { [725 bytes data] * TLSv1.2 (IN), TLS handshake, Server key exchange (12): { [333 bytes data] * TLSv1.2 (IN), TLS handshake, Request CERT (13): { [70 bytes data] * TLSv1.2 (IN), TLS handshake, Server finished (14): { [4 bytes data] * TLSv1.2 (OUT), TLS handshake, Certificate (11): } [741 bytes data] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): } [70 bytes data] * TLSv1.2 (OUT), TLS handshake, CERT verify (15): } [264 bytes data] * TLSv1.2 (OUT), TLS change cipher, Client hello (1): } [1 bytes data] * TLSv1.2 (OUT), TLS handshake, Finished (20): } [16 bytes data] * TLSv1.2 (IN), TLS change cipher, Client hello (1): { [1 bytes data] * TLSv1.2 (IN), TLS handshake, Finished (20): { [16 bytes data] * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN, server did not agree to a protocol * Server certificate: * subject: CN=localhost * start date: Feb 28 12:15:28 2018 GMT * expire date: Feb 26 12:15:28 2028 GMT * common name: localhost (matched) * issuer: CN=localhost * SSL certificate verify ok. } [5 bytes data] > GET /server HTTP/1.1 > Host: localhost:8077 > User-Agent: curl/7.55.1 > Accept: text/plain;charset=UTF-8 > { [5 bytes data] < HTTP/1.1 200 OK < Content-Type: text/plain; Charset=UTF-8 < Connection: keep-alive < Transfer-Encoding: chunked < { [5 bytes data] * Connection #0 to host localhost left intact 4.11.ALPHA $ jack-admin server-stat Getting statistic from background server date: 1524885586443 [Sat Apr 28 08:49:46 IST 2018] server.compilation: 79 server.compilation.max: 1 server.compilation.current: 0 server.forward: 0 server.forward.max: 0 server.forward.current: 0 os.arch: amd64 os.proc.nb: 4 os.name: Linux os.version: 4.13.0-38-generic vm.name: OpenJDK 64-Bit Server VM vm.vendor: Oracle Corporation vm.version: 25.162-b12 vm_options: -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation vm.memory.max: 1612709888 [1.5020 GiB] vm.memory.free: 1460825816 [1.3605 GiB] vm.memory.total: 1612709888 [1.5020 GiB] vm.jit.time: 391243 [6.5207 min] vm.collector.ps-scavenge.time: 50416 [50.4160 s] vm.collector.ps-scavenge.count: 746 vm.collector.ps-marksweep.time: 842497 [14.0416 min] vm.collector.ps-marksweep.count: 189 vm.pool.code-cache.type: NON_HEAP vm.pool.code-cache.peak.commited: 67764224 [64.6250 MiB] vm.pool.code-cache.peak.init: 2555904 [2.4375 MiB] vm.pool.code-cache.peak.max: 251658240 [240.0000 MiB] vm.pool.code-cache.peak.used: 67026752 [63.9217 MiB] vm.pool.code-cache.usage.commited: 67764224 [64.6250 MiB] vm.pool.code-cache.usage.init: 2555904 [2.4375 MiB] vm.pool.code-cache.usage.max: 251658240 [240.0000 MiB] vm.pool.code-cache.usage.used: 63817152 [60.8608 MiB] vm.pool.code-cache.usage.threshold: 0 [0 B] vm.pool.code-cache.usage.threshold.count: 0 vm.pool.metaspace.type: NON_HEAP vm.pool.metaspace.peak.commited: 41943040 [40.0000 MiB] vm.pool.metaspace.peak.init: 0 [0 B] vm.pool.metaspace.peak.max: -1 [-1 B] vm.pool.metaspace.peak.used: 40785976 [38.8965 MiB] vm.pool.metaspace.usage.commited: 41943040 [40.0000 MiB] vm.pool.metaspace.usage.init: 0 [0 B] vm.pool.metaspace.usage.max: -1 [-1 B] vm.pool.metaspace.usage.used: 40777024 [38.8880 MiB] vm.pool.metaspace.usage.threshold: 0 [0 B] vm.pool.metaspace.usage.threshold.count: 0 vm.pool.compressed-class-space.type: NON_HEAP vm.pool.compressed-class-space.peak.commited: 4456448 [4.2500 MiB] vm.pool.compressed-class-space.peak.init: 0 [0 B] vm.pool.compressed-class-space.peak.max: 1073741824 [1.0000 GiB] vm.pool.compressed-class-space.peak.used: 4228656 [4.0328 MiB] vm.pool.compressed-class-space.usage.commited: 4456448 [4.2500 MiB] vm.pool.compressed-class-space.usage.init: 0 [0 B] vm.pool.compressed-class-space.usage.max: 1073741824 [1.0000 GiB] vm.pool.compressed-class-space.usage.used: 4228656 [4.0328 MiB] vm.pool.compressed-class-space.usage.threshold: 0 [0 B] vm.pool.compressed-class-space.usage.threshold.count: 0 vm.pool.ps-eden-space.type: HEAP vm.pool.ps-eden-space.collection.commited: 201850880 [192.5000 MiB] vm.pool.ps-eden-space.collection.init: 28835840 [27.5000 MiB] vm.pool.ps-eden-space.collection.max: 201850880 [192.5000 MiB] vm.pool.ps-eden-space.collection.used: 0 [0 B] vm.pool.ps-eden-space.collection.threshold: 0 [0 B] vm.pool.ps-eden-space.collection.threshold.count: 0 vm.pool.ps-eden-space.peak.commited: 579862528 [553.0000 MiB] vm.pool.ps-eden-space.peak.init: 28835840 [27.5000 MiB] vm.pool.ps-eden-space.peak.max: 595066880 [567.5000 MiB] vm.pool.ps-eden-space.peak.used: 579862528 [553.0000 MiB] vm.pool.ps-eden-space.usage.commited: 201850880 [192.5000 MiB] vm.pool.ps-eden-space.usage.init: 28835840 [27.5000 MiB] vm.pool.ps-eden-space.usage.max: 201850880 [192.5000 MiB] vm.pool.ps-eden-space.usage.used: 5129072 [4.8915 MiB] vm.pool.ps-survivor-space.type: HEAP vm.pool.ps-survivor-space.collection.commited: 201326592 [192.0000 MiB] vm.pool.ps-survivor-space.collection.init: 4718592 [4.5000 MiB] vm.pool.ps-survivor-space.collection.max: 201326592 [192.0000 MiB] vm.pool.ps-survivor-space.collection.used: 0 [0 B] vm.pool.ps-survivor-space.collection.threshold: 0 [0 B] vm.pool.ps-survivor-space.collection.threshold.count: 0 vm.pool.ps-survivor-space.peak.commited: 201326592 [192.0000 MiB] vm.pool.ps-survivor-space.peak.init: 4718592 [4.5000 MiB] vm.pool.ps-survivor-space.peak.max: 201326592 [192.0000 MiB] vm.pool.ps-survivor-space.peak.used: 201293840 [191.9688 MiB] vm.pool.ps-survivor-space.usage.commited: 201326592 [192.0000 MiB] vm.pool.ps-survivor-space.usage.init: 4718592 [4.5000 MiB] vm.pool.ps-survivor-space.usage.max: 201326592 [192.0000 MiB] vm.pool.ps-survivor-space.usage.used: 0 [0 B] vm.pool.ps-old-gen.type: HEAP vm.pool.ps-old-gen.collection.commited: 1209532416 [1.1265 GiB] vm.pool.ps-old-gen.collection.init: 77070336 [73.5000 MiB] vm.pool.ps-old-gen.collection.max: 1209532416 [1.1265 GiB] vm.pool.ps-old-gen.collection.used: 146755000 [139.9565 MiB] vm.pool.ps-old-gen.collection.threshold: 0 [0 B] vm.pool.ps-old-gen.collection.threshold.count: 0 vm.pool.ps-old-gen.peak.commited: 1209532416 [1.1265 GiB] vm.pool.ps-old-gen.peak.init: 77070336 [73.5000 MiB] vm.pool.ps-old-gen.peak.max: 1209532416 [1.1265 GiB] vm.pool.ps-old-gen.peak.used: 1209531456 [1.1265 GiB] vm.pool.ps-old-gen.usage.commited: 1209532416 [1.1265 GiB] vm.pool.ps-old-gen.usage.init: 77070336 [73.5000 MiB] vm.pool.ps-old-gen.usage.max: 1209532416 [1.1265 GiB] vm.pool.ps-old-gen.usage.used: 146755000 [139.9565 MiB] vm.pool.ps-old-gen.usage.threshold: 0 [0 B] vm.pool.ps-old-gen.usage.threshold.count: 0 os.memory.virtual.committed: 5525655552 [5.1462 GiB] os.memory.physical.total: 7251959808 [6.7539 GiB] os.memory.physical.free: 1850978304 [1.7239 GiB] os.memory.swap.total: 10485755904 [9.7656 GiB] os.memory.swap.free: 10072866816 [9.3811 GiB] os.fd.open: 52 os.process.cpu.load: 0.06108381727025334 os.process.cpu.time: 2122750000000 [35.3792 min] os.system.cpu.load: 0.6477448553915623 $ base64 --version base64 (GNU coreutils) 8.26 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Simon Josefsson. $ (echo amFjaw==;echo LXNlcnZlcg==) | base64 --decode jack-server