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
Wednesday, July 12, 2017
Config number of file descriptors on Linux
Check file descriptor limit for a process. Vary depending on owner of the process
Credits:
$ cat /proc/{process-id}/limitsCheck current number of file descriptors of a process
$ sudo ls /proc/{process-id}/fd | wc -lSet file descriptors limit for a user at /etc/security/limits.conf
* soft nofile 64000Check system file descriptor limit
* hard nofile 64000
root soft nofile 64000
root hard nofile 64000
$ cat /proc/sys/fs/file-maxCheck current number of system file descriptors
$ cat /proc/sys/fs/file-nr
Credits:
Wednesday, December 21, 2016
Increase video volume
$ ffmpeg -i input -vcodec copy -af "volume=20dB" outputCredit: How to increase volume in a video without re-encoding the video
Convert .ts to .mp4
$ ffmpeg -i input.ts -acodec copy -vcodec copy out.mp4Credit: http://stackoverflow.com/a/17916418/1032449
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 occurs when you or some of your vim plugins try to access register '*' which is a system clipboard. In default Mac OSX vi...
-
Put your cursor on the text box of the post/comment you want to indent Go to the menubar at the top of the screen Edit > Emoji & ...


