diff --git a/tools/ubuntu.sh b/tools/ubuntu.sh index 06ecab1..e5d441f 100644 --- a/tools/ubuntu.sh +++ b/tools/ubuntu.sh @@ -12,6 +12,8 @@ sudo ufw allow from remote_IP_address to any port 3306 # Allow external ip to ac scp user@remote_host:remote_file local_file # download: remote -> local scp local_file user@remote_host:remote_file # upload: local -> remote +service elasticsearch restart # Restart elasticsearch service + sudo -s # Log as root cat /proc//maps # Show the current virtual memory usage of a Linux process