example:
[EMAIL PROTECTED] contrib]# squid -k shutdown
squid: ERROR: No running copy
[EMAIL PROTECTED] contrib]# ps auxw|grep squid
root     10366  0.0  0.4  3840 1120 ?        S    11:59   0:00 squid
squid    10368  0.0  1.5  5920 3952 ?        S    11:59   0:00 (squid)
squid    10369  0.0  0.1  1356  256 ?        S    11:59   0:00 (unlinkd)
root     10389  0.0  0.2  3584  628 pts/0    S    12:00   0:00 grep squid

from /var/log/messages (ofcourse before squid -k kill):
Sep 22 12:04:57 host squid[10430]: Starting Squid Cache version 2.5.STABLE3 for i686-pc-linux-gnu...
Sep 22 12:04:57 host squid[10430]: Process ID 10430
Sep 22 12:04:57 host squid[10430]: With 1024 file descriptors available
Sep 22 12:04:57 host squid[10430]: DNS Socket created at 0.0.0.0, port 32784, FD 5
Sep 22 12:04:57 host squid[10430]: Adding nameserver 10.10.10.100 from /etc/resolv.conf
Sep 22 12:04:58 host squid[10430]: Unlinkd pipe opened on FD 10
Sep 22 12:04:58 host squid[10430]: Swap maxSize 51200 KB, estimated 3938 objects
Sep 22 12:04:58 host squid[10430]: Target number of buckets: 196
Sep 22 12:04:58 host squid[10430]: Using 8192 Store buckets
Sep 22 12:04:58 host squid[10430]: Max Mem size: 8192 KB
Sep 22 12:04:58 host squid[10430]: Max Swap size: 51200 KB
Sep 22 12:04:58 host squid[10430]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Sep 22 12:04:58 host squid[10430]: Rebuilding storage in /var/cache_squid (DIRTY)
Sep 22 12:04:58 host squid[10430]: Using Least Load store dir selection
Sep 22 12:04:58 host squid[10430]: Set Current Directory to /var/log/squid
Sep 22 12:04:58 host squid[10430]: Loaded Icons.
Sep 22 12:04:58 host squid[10430]: Accepting HTTP connections at 0.0.0.0, port 8080, FD 12.
Sep 22 12:04:58 host squid[10430]: Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
Sep 22 12:04:58 host squid[10430]: Accepting HTCP messages on port 4827, FD 14.
Sep 22 12:04:58 host squid[10430]: WCCP Disabled.


ouput from nmap
[EMAIL PROTECTED] squid]# nmap host

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on host (10.10.10.1):
(The 1599 ports scanned but not shown below are in state: closed)
Port       State       Service
22/tcp     open        ssh
8080/tcp   open        http-proxy

greetz
boka



Reply via email to