Temporary Blog

Δεν είμαι αθηναίος, ούτε Έλληνας πολίτης, αλλά πολίτης του κόσμου

Linux namespace commands for the next time...

"to be continued..."

Get iptables rules from specific pod Get pod pid 1 2 crictl ps crictl inspect ccb81ebe7a080 # id from previus command We see some info about container 1 2 3 4 5 6 7 8 9 10 11 12 1...

Kibana/Elasticsearch API...

"to be continued..."

Here some kibana commands for the next time… Find Dashboard Find Dashboard id with title MegaDashboard (output will be id title): 1 2 curl -XGET "http://ololol.local/prod/s/space/api/saved_objects...

Linux socket uptime...

"to be continued..."

Problem view like this: 14-Dec-2022 14:13:15.729 SEVERE [http-nio-10.64.130.81-8080-Acceptor-0] org.apache.tomcat.util.net.Acceptor.run Socket accept failed java.io.IOException: Too many open ...

Linux LA...

"..."

3 статьи https://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html https://www.baeldung.com/linux/total-process-cpu-usage proccess status Начнём с первой… это прям настоящий де...

Example react router simple page (v6)...

"..."

Ok very simple example with react router. 1 npx create-react-app testrq-router && cd $_ && yarn add react-router-dom Modify index.js to: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 i...

Remote connect to jmx using command line client...

"...how to named it..."

Its realy stange… but may be you need connect from console to jmx. Java application running with following command: 1 2 3 4 5 java -Xms250m -Xmx250m -XX:MaxMetaspaceSize=100m -jar -Dcom.sun.manage...

Elasticsearch Calculate the Storage Size of Data streams...

"...let's find it using awk grep sed..."

Ok… we have ELK with some nodes. Sometimes, when we work with ELK, we have some questions: What datastream mostly disk usage in cluster? What datastream mostly disk usage on this node? I pro...

mknode mkfifo console/C examples...

"...what this was???..."

Ok idk how i can use it… but… Console mknod - make block or character special files C mknod - create a special or ordinary file Mknode Console Example mknod [params] filename filetype [maj...

Start from here...

"Hello Blog"

Ok this start test… Try start blog on github pages…..