I couldn't find this link when searching with google
https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresql
I couldn't find this link when searching with google
https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresql
awk '{printf "%2d| %s\n",length,$0}' filename
Credit: https://www.baeldung.com/linux/print-longest-lines-in-file#introduction-to-the-problem
Set this environment variable before running packer command.
DOCKER_DEFAULT_PLATFORM=linux/amd64
Modify this file /opt/homebrew/Cellar/solr/X.XX/homebrew.mxcl.solr.plist to add these lines
<key>EnvironmentVariables</key>
<dict>
<key>SOLR_JAVA_MEM</key>
<string>-Xmx2g</string>
</dict>
Save and restart Solr
$ brew services restart solr
To select specific Java (JDK) to use for leiningen, set environment variable JAVA_CMD
For example,
JAVA_CMD=/path/to/bin/java lein repl
Credit: https://gist.github.com/camsaul/c982019fd915510677236cd4b720a583#gistcomment-3439527
awk 'length > max_length { max_length = length; longest_line = $0 } END { print longest_line }' ./text
$ 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
$ ffmpeg -i input -vcodec copy -af "volume=20dB" outputCredit: How to increase volume in a video without re-encoding the video
$ ffmpeg -i input.ts -acodec copy -vcodec copy out.mp4Credit: http://stackoverflow.com/a/17916418/1032449
I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresq...