Add shell tips
This commit is contained in:
parent
577262c6a4
commit
3fec06c11c
2 changed files with 9 additions and 1 deletions
|
@ -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
7
src/ops/shelltips.md
Normal 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"
|
||||
```
|
Loading…
Add table
Reference in a new issue