$ ps -axf -o pid,ppid,tty,stat,cmd
Credit: Orphan vs Zombie vs Daemon processes
Friday, June 26, 2020
Thursday, May 28, 2020
Thursday, July 25, 2019
Compress a file before scp from remote server to local
ssh user@host "tar -zcvf - -C /path/to/dir filename" | tar -zxvf -
Note: only use when it's much faster to transfer a compressed file to your machine than transferring the original one.
Credits:
https://superuser.com/a/1354868
https://stackoverflow.com/a/3035446/1032449
Friday, September 28, 2018
Wednesday, August 22, 2018
Useful commands for observe running JVM process
$ jcmd
List running processes
$ jinfo
Get details of a process
$ jps -lvm
List running processes with params
List running processes
$ jinfo
Get details of a process
$ jps -lvm
List running processes with params
Wednesday, April 25, 2018
Clojure how to get JVM options from inside application
(.getInputArguments (java.lang.management.ManagementFactory/getRuntimeMXBean))
Credit: How to get vm arguments from inside of java application?
Credit: How to get vm arguments from inside of java application?
Saturday, December 9, 2017
Clojure has lesser typing error problems than the others well-known dynamic typing languages
Subscribe to:
Posts (Atom)
Collectd PostgreSQL Plugin
I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresq...
-
sudo su postgres supply your Mac password modify /Library/PostgreSQL/9.x/data/pg_hba.conf from local all all md5 to local all all ...
-
This error message from chef is not very useful FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit ...
-
This error occurs when you or some of your vim plugins try to access register '*' which is a system clipboard. In default Mac OSX vi...


