This shows you the differences between two versions of the page.
|
samba [2015/06/10 17:28] deHakkelaar |
samba [2016/12/21 18:44] (current) deHakkelaar |
||
|---|---|---|---|
| Line 62: | Line 62: | ||
| # Monitor number of active Samba daemons (CTRL-c to exit): | # Monitor number of active Samba daemons (CTRL-c to exit): | ||
| - | sudo watch 'ps -e | grep smbd' | + | sudo watch "ps -e | grep 'PID\|smbd'" |
| # Monitor network connections on TCP ports 139 and 445 used by Samba (CTRL-c to exit): | # Monitor network connections on TCP ports 139 and 445 used by Samba (CTRL-c to exit): | ||
| - | sudo watch "netstat -natp | grep ':139 \|:445 '" | + | sudo watch "netstat -natp | grep 'Proto\|:139 \|:445 '" |
| # Create a new Samba user/pass besides the 'guest' user. | # Create a new Samba user/pass besides the 'guest' user. | ||