You are not logged in.
When in ~/.conkyrc, this line
${tcp_portmon 1 65535 lservice 0}is supposed to display "local service name from /etc/services" (for the first TCP connection) according to Conky docs.
But it displays a port number instead.
Moreover, my system does not have directory /etc/services at all!
Any ideas how to fix this?
Here's the relevant section from Conky's docs:
tcp_portmon port_begin port_end item (index)
TCP port (both IPv6 and IPv4) monitor for specified local ports.
Port numbers must be in the range 1 to 65535.
Valid items are:
count Total number of connections in the range
rip Remote ip address
rhost Remote host name
rport Remote port number
rservice Remote service name from /etc/services
lip Local ip address
lhost Local host name
lport Local port number
lservice Local service name from /etc/services
Example:
${tcp_portmon 1 65535 lservice 14}Displays the local service name of the fifteenth connection in the range of all ports.
Offline