diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 09a5184..13771fc 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -11,7 +11,8 @@ - [SVN](./dev/tools/svn.md) - [Ops](./ops/main.md) + - [Shell Tips](./ops/shelltips.md) - [Tools](./ops/tools/main.md) - [Ansible](./ops/tools/ansible.md) - [MongoDB](./ops/tools/mongodb.md) - - [OpenSSL](./ops/tools/openssl.md) + - [OpenSSL](./ops/tools/openssl.md) \ No newline at end of file diff --git a/src/ops/shelltips.md b/src/ops/shelltips.md new file mode 100644 index 0000000..d5eff91 --- /dev/null +++ b/src/ops/shelltips.md @@ -0,0 +1,7 @@ +# Shell Tips + +## Find stuff eating all SWAP (kudos gardouille) + +```shell +find /proc -maxdepth 2 -type f -iname status -exec grep -HR VmSwap {} \; | grep -v " 0 kB" +``` \ No newline at end of file