|
| cool Statistics |
| | coolcommands: | 1338 | | Categories: | 83 | | Total queries: | 620330 | | Members: | 22813 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
coolcommand
samba - can't browse your server |
Description
If users are no longer able to browse your Samba server, you could (if possible), simply kill the processes "smbd" and "nmbd".
Command one-liner:
# ps -ef | egrep "smbd|nmbd" | grep -v grep | awk '{ system("kill -9 " $2)}'
Or using SWAT (default port 901):
http://hostname:901 |
Example
ps -ef | egrep |
Return to search results
 |  |  |  |
Random coolcommands
coolcommand: dlmpr - utility for clearing Hitachi SAN HDLM persistent reservation
Example: dlmpr -k hdisk1; dlmpr -c hdisk2
[show me the details] |
coolcommand: how to create a large empty file
Example: dd if=/dev/zero of=file_1GB bs=1024 count=1000
[show me the details] |
coolcommand: how to delete all arp entries in Linux
Example: for i in $(sed '1d' /proc/net/arp | awk '{print $1 }'); do arp -d $i; done
[show me the details] |
coolcommand: procsig - how to display signal actions defined by a proces in AIX 5L
Example: procsig 233628
[show me the details] |
|
|
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1160 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 14 |
Top 5 Searches
|
| Category Solaris | 51966 |
| Category AIX | 49058 |
| Category General UNIX | 47581 |
| solaris | 23554 |
| aix | 22739 |
|
|
|
|