[doc] Fix typo, enhance regexp for finding processes of a user.

This commit is contained in:
Guillaume Destuynder 2015-10-09 10:14:43 -07:00
Родитель 2338d646ff
Коммит 19d1fe3e16
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -117,7 +117,7 @@ return files that have unknown keys.
-content "^((#.+)|(\s+)?|(ssh-rsa AAAAB3NznoMzq\+2r2Vx2bhFWMU3Uuid 1061157)|(ssh-rsa AAYWH\+0XAASw== ffxbld_rsa))$" \
-macroal -mismatch content
Find is a user is currently running any process (or is connected)
Find if a user is currently running any process (or is connected)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you know the UID of a user, you can check if he has any process running.
@ -127,7 +127,7 @@ for.
.. code:: bash
mig file -path /proc/ -maxdepth 2 -name "^status$" -content "^Uid:.*1663"
mig file -path /proc/ -maxdepth 2 -name "^status$" -content "^Uid:\s+(1664)\s+"
Netstat module
--------------