diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2017-02-20 10:49:30 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2017-02-20 10:49:30 -0800 |
commit | 9fd5332ded2ceaa2e3fa58f1bff30e18cd5b7d24 (patch) | |
tree | 1c158d341a419c8a61ba479c5e4ad5ad2565a759 /notes/faq.org | |
parent | [ctags] initial configuration (diff) | |
download | emacs.d-9fd5332ded2ceaa2e3fa58f1bff30e18cd5b7d24.tar.gz |
[notes] Delete the notes
Will use Google Keep instead.
Diffstat (limited to 'notes/faq.org')
-rw-r--r-- | notes/faq.org | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/notes/faq.org b/notes/faq.org deleted file mode 100644 index 51b6845..0000000 --- a/notes/faq.org +++ /dev/null @@ -1,28 +0,0 @@ -#+Title: F.A.Q -#+Author: franck.cuny@gmail.com -#+TAGS: @twitter(t) -#+TAGS: ops linux tools - -* IPMI :@twitter:ops: -#+BEGIN_SRC sh -ssh ipmibastion1.atla.twitter.com -console.sh <host> -#+END_SRC - -More on the [[https://confluence.twitter.biz/display/DCE/IPMI%2BRemote%2BConsole%2Bconnectivity][wiki]]. -* Linux :linux: -** Namespaces -*** List of containers on Mesos :@twitter:ops: -To get a list of containers on a host, you can run the following command: - -#+BEGIN_SRC sh -ip netns list | xargs -I {} cat /proc/{}/cgroup | grep freezer | cut -f 3 -d '/' -#+END_SRC -*** Running netstat in a container :@twitter:ops: -On shared mesos, the network is divided in namespaces. Running =netstat= will not work, you need to use =ip netns= to be able to run =netstat= in a container. For example: - -#+BEGIN_SRC sh -for c in $(ip netns); do echo $c && sudo ip netns exec $c netstat -ntp | grep 10.71.16.126; done -#+END_SRC - - |