mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 17:18:33 +00:00
Added tcp port monitor support
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@358 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
e452fb5629
commit
04c88f9bff
@ -165,3 +165,23 @@ ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem m
|
|||||||
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
|
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
|
||||||
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
|
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
|
||||||
${tail /var/log/Xorg.0.log 3 30}
|
${tail /var/log/Xorg.0.log 3 30}
|
||||||
|
$stippled_hr
|
||||||
|
${color #ddaa00}TCP Connection Summary:
|
||||||
|
${color #ff1133}Port(s) #Connections
|
||||||
|
${color #88aadd}ALL: $color ${tcp_portmon 1 65535 count}
|
||||||
|
${color #88aadd}sshd (22): $color ${tcp_portmon 22 22 count}
|
||||||
|
${color #88aadd}http (80): $color ${tcp_portmon 22 22 count}
|
||||||
|
${color #88aadd}torrent (6881-6889): $color ${tcp_portmon 6881 6889 count}
|
||||||
|
${color #ddaa00}TCP Connection Detail (${color #88aadd}Ports 1-65535${color #ddaa00}):${color #ff1133}
|
||||||
|
Remote Address ${alignr} Local Service/Port${color #88aadd}
|
||||||
|
${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 lservice 0}
|
||||||
|
${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 lservice 1}
|
||||||
|
${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 lservice 2}
|
||||||
|
${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 lservice 3}
|
||||||
|
${tcp_portmon 1 65535 rhost 4} ${alignr} ${tcp_portmon 1 65535 lservice 4}
|
||||||
|
${tcp_portmon 1 65535 rhost 5} ${alignr} ${tcp_portmon 1 65535 lservice 5}
|
||||||
|
${tcp_portmon 1 65535 rhost 6} ${alignr} ${tcp_portmon 1 65535 lservice 6}
|
||||||
|
${tcp_portmon 1 65535 rhost 7} ${alignr} ${tcp_portmon 1 65535 lservice 7}
|
||||||
|
${tcp_portmon 1 65535 rhost 8} ${alignr} ${tcp_portmon 1 65535 lservice 8}
|
||||||
|
${tcp_portmon 1 65535 rhost 9} ${alignr} ${tcp_portmon 1 65535 lservice 9}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user