Add shell tips

This commit is contained in:
Wilfried OLLIVIER 2018-01-17 15:47:55 +01:00
parent 577262c6a4
commit 3fec06c11c
2 changed files with 9 additions and 1 deletions

View File

@ -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)

7
src/ops/shelltips.md Normal file
View File

@ -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"
```