Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run elasticsearch stop

sudo -i service elasticsearch stop
Comment

stop elasticsearch node

$ jps | grep Elasticsearch
14542 Elasticsearch

#From the Elasticsearch startup logs:

[2016-07-07 12:26:18,908][INFO ][node                     ] [I8hydUG] version[5.0.0-alpha4], pid[15399], build[3f5b994/2016-06-27T16:23:46.861Z], OS[Mac OS X/10.11.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_92/25.92-b14]

#Or by specifying a location to write a PID file to on startup (-p <path>):

$ ./bin/elasticsearch -p /tmp/elasticsearch-pid -d
$ cat /tmp/elasticsearch-pid && echo
15516
$ kill -SIGTERM 15516
Comment

stop elasticsearch

pkill -f elasticsearch
Comment

PREVIOUS NEXT
Code Example
Shell :: skrpt command 
Shell :: turn on wiregurad linux 
Shell :: How to use Git for Unity3D source control? 
Shell :: adding directory to path 
Shell :: mysql backup dump docker file 
Shell :: batch file with flags 
Shell :: laravel sanctum auth setup 
Shell :: install nixos mac m1 
Shell :: phoenix install 
Shell :: homebrew nvm install 
Shell :: install wine in ubuntu 20.04 
Shell :: uninstall brew from mac 
Shell :: importerror no module named numpy ubuntu 
Shell :: lister branches git distantes 
Shell :: kube dashboard expose access port 
Shell :: How to remove every other line with sed? 
Shell :: fix pvc pending kubernetes 
Shell :: install onlyoffice on Arch 
Shell :: terminal theme 
Shell :: migration angular version 
Shell :: ssh command 
Shell :: linux which sudo 
Shell :: git restore 
Shell :: git push to my work 
Shell :: github as database 
Shell :: open command linux 
Shell :: kill process by name 
Shell :: how to scp 
Shell :: window reset wifi cmd 
Shell :: install redux 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =