Squid handling

Aus xinux.net
Zur Navigation springen Zur Suche springen

Squid stop

  • systemctl stop squid

Squid start

  • systemctl start squid

Squid restart

  • systemctl restart squid

Squid reload

  • systemctl reload squid

Squid status

  • systemctl status squid

Squidport checken

  • netstat -ltnp | grep 3128
tcp6       0      0 :::3128                 :::*                    LISTEN      4396/(squid-1)

Squidprozesse checken

  • ps -elf | grep squid
0 S root      3010  2361  0  80   0 - 14458 poll_s 11:34 pts/1    00:00:00 vim squid.conf
1 S root      4394     1  0  80   0 - 27319 wait   15:18 ?        00:00:00 /usr/sbin/squid -YC -f /etc/squid/squid.conf
4 S proxy     4396  4394  0  80   0 - 37351 ep_pol 15:18 ?        00:00:00 (squid-1) -YC -f /etc/squid/squid.conf
4 S proxy     4397  4396  0  80   0 -  3320 unix_s 15:18 ?        00:00:00 (logfile-daemon) /var/log/squid/access.log

Zum Debuggen nützlich

Squid darf nicht über systemctl gestartet sein!
  • squid -DNX