Skip to content

Instantly share code, notes, and snippets.

View jurgynet's full-sized avatar

Alan Jurgensen jurgynet

View GitHub Profile
@jurgynet
jurgynet / gist:cd21024c46660bc109df
Created May 15, 2014 14:08
Showresources log output
#------------: showstorage for: SunOS server1 5.10
sampledatetime 2014-05-14 14:30:03
# mount lv type opts blocksize blocks freeblks usedblks
mount / rootvol NA NA 1024 108106365 63398635 43626667
mount /logs logs NA NA 1024 10485760 985568 9434920
mount /app app NA NA 1024 68157440 42601068 22719216
mount /appdata appdata NA NA 1024 1334098944 306369725 1007745860
mount /opt/cdunix opt_cdunix NA NA 1024 2097152 1423949 578724
mount /opt/CA opt_CA NA NA 1024 1048576 276146 754340
mount /opt/oracle opt_oracle NA NA 1024 3145728 757426 2338006
@jurgynet
jurgynet / es-name-test.sh
Created September 26, 2013 20:43
Elastic search name testing: standard, asis, phonetic, nickname
#!/bin/sh
# Delete old version to make sure new settings are applied
curl -XDELETE "localhost:9200/names-test/"
echo
# See https://github.com/elasticsearch/elasticsearch-analysis-phonetic
curl -XPUT "localhost:9200/names-test" -d '{
"settings": {
"analysis": {
"analyzer": {
"lowkeyword-analyzer": {