It's Rainlendar, though seems not an open-sourced one.
It's Rainlendar, though seems not an open-sourced one.
my conky shows 14 outbound connections. is there anyway to exclude connections which only accept connections from localhost. those I am not concerned about? for example, I'd like for the number NOT to count this example:
tcp 0 0 127.0.0.1:56826 127.0.0.1:3306 ESTABLISHED-
here's my netstat -pant output:
tcp 0 0 192.168.0.3:48330 205.188.176.105:5190 ESTABLISHED12812/gaim
tcp 0 0 192.168.0.3:47654 192.168.0.3:6543 ESTABLISHED-
tcp 0 0 192.168.0.3:47655 192.168.0.3:6543 ESTABLISHED-
tcp 0 0 127.0.0.1:56827 127.0.0.1:3306 ESTABLISHED-
tcp 0 0 127.0.0.1:56826 127.0.0.1:3306 ESTABLISHED-
tcp 0 0 127.0.0.1:56829 127.0.0.1:3306 ESTABLISHED-
tcp 0 0 127.0.0.1:56828 127.0.0.1:3306 ESTABLISHED-
tcp 0 0 192.168.0.3:6543 192.168.0.3:47655 ESTABLISHED-
tcp 0 0 192.168.0.3:6543 192.168.0.3:47654 ESTABLISHED-
tcp 0 0 127.0.0.1:3306 127.0.0.1:44878 ESTABLISHED-
tcp 0 0 127.0.0.1:3306 127.0.0.1:44879 ESTABLISHED-
tcp 0 0 127.0.0.1:44879 127.0.0.1:3306 ESTABLISHED-
tcp 0 0 127.0.0.1:44878 127.0.0.1:3306 ESTABLISHED-
tcp 0 0 127.0.0.1:3306 127.0.0.1:60742 ESTABLISHED-
tcp 0 0 192.168.0.3:36054 64.233.163.99:80 ESTABLISHED3477/firefox-bin
tcp 0 0 192.168.0.3:38177 64.12.165.86:5190 ESTABLISHED12812/gaim
tcp 0 0 192.168.0.3:36281 216.239.51.125:5222 ESTABLISHED12812/gaim
tcp 0 0 127.0.0.1:3306 127.0.0.1:56828 ESTABLISHED-
tcp 0 0 192.168.0.3:50346 64.12.24.205:5190 ESTABLISHED12812/gaim
tcp 0 0 127.0.0.1:3306 127.0.0.1:56829 ESTABLISHED-
tcp 0 0 127.0.0.1:3306 127.0.0.1:56826 ESTABLISHED-
tcp 0 0 127.0.0.1:3306 127.0.0.1:56827 ESTABLISHED-
tcp6 0 0 :::22 :::* LISTEN -
as you can see, all the 14 incoming connections are mostly from itself. can I somehow exclude these from showing up and havwe it only show external ip connections?
here's the pic (conky is taken from some1 on this thread)
here's the conky config
http://www.pastebin.org/1328
thanks for any help
Last edited by dannyboy79; August 29th, 2007 at 12:35 AM.
Check out my Tech Blog http://ubuntuaddicted.blogspot.com
YouTube: http://youtube.com/user/ubuntuaddicted.com
Become a Patreon of mine: http://www.patreon.com/ubuntuaddicted
My new one, nothing too special.
http://i52.photobucket.com/albums/g7...x900_scrot.png
Code:# conky config # edited by notwen @ efnet # set to yes if you want Conky to be forked in the background background yes # X font when Xft is disabled, you can pick one with program xfontsel #font 5x7 #font 6x10 #font 7x13 #font 8x13 #font 9x15 #font *mintsmild.se* #font -*-*-*-*-*-*-34-*-*-*-*-*-*-* # Use Xft? use_xft yes # Xft font when Xft is enabled #xftfont Bitstream Vera Sans Mono:size=8 xftfont Terminus:size=8 # Text alpha when using Xft xftalpha 0.8 # Print everything to console? # out_to_console no # mail spool #mail_spool $MAIL # Update interval in seconds update_interval 1.0 # This is the number of times Conky will update before quitting. # Set to zero to run forever. total_run_times 0 # Create own window instead of using desktop (required in nautilus) own_window yes # If own_window is yes, you may use type normal, desktop or override own_window_type override # Use pseudo transparency with own_window? own_window_transparent yes # If own_window_transparent is set to no, you can set the background colour here #own_window_colour hotpink # If own_window is yes, these window manager hints may be used #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area #minimum_size 130 5 # Draw shades? draw_shades yes # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders 5 # border margins border_margin 5 # border width border_width 1 # Default colors and also border colors default_color slate gray default_shade_color white default_outline_color white # Text alignment, other possible values are commented alignment top_left #alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text # same thing as passing -x at command line gap_x 10 gap_y 10 # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase uppercase no # number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 2 # number of net samples to average # set to 1 to disable averaging net_avg_samples 2 # Force UTF8? note that UTF8 support required XFT override_utf8_locale no # Add spaces to keep things from moving about? This only affects certain objects. use_spacer yes #Note: doesn't work in conky 1.2 =( TEXT ${font Bitstream Charter:bold:size=11}${color blue}Date: ${color }${alignr}${time %B %e, %G} ${color blue}Time: ${color }${alignr}${time %I:%M:%S %P} ${color blue}Weekday: ${color }${alignr}${time %A} ${color blue}Core 1: ${color }${cpu cpu1}% ${alignr}${color blue}Core 2: ${color }${cpu cpu0}% ${cpugraph 20,176 000066 999999} ${color blue}Processes: ${color }$processes ${color blue}Running: ${color }$running_processes ${color blue}Highest Ram Users:${alignr}${color } $memperc% ${color #000000} ${top_mem name 1}${alignr}${top_mem mem 1} ${color blue} ${top_mem name 2}${alignr}${color }${top_mem mem 2} ${color blue} ${top_mem name 3}${alignr}${color }${top_mem mem 3} ${color blue}Network: ${color blue}Down: ${color }${downspeed eth0}k/s${color} ${downspeedgraph eth0 20,176 000066 999999} ${color blue}Up: ${color }${upspeed eth0} k/s ${upspeedgraph eth0 20,176 000066 999999}
i've spent far to much time going through this thread.....it's great
i have a problem. when the cpu % number goes from a single digit to a double the rest of the line shifts right one space and then back again when it drops back to a single digit, it's rather annoying. has anyone got any suggestions?
and many thanks to whoever i stole this off!!
Code:background no use_xft yes xftfont AvantGarde Bk BT:size=8 xftalpha 0.5 out_to_console no update_interval 1.0 total_run_times 0 own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 500 5 draw_shades no draw_outline no draw_borders no draw_graph_borders yes default_color 6c6c6c default_shade_color 6c6c6c default_outline_color 6c6c6c alignment bottom_left gap_x 10 gap_y 0 no_buffers yes uppercase no cpu_avg_samples 2 net_avg_samples 2 override_utf8_locale no use_spacer yes TEXT ${color 6c6c6c}Uptime: $uptime - CPU: $cpu% - Load: $loadavg - RAM: $mem - $memperc%${alignr 1}${cpugraph cpu1 8,30} ${memgraph mem 8,30} Swap: $swap - $swapperc% - Disk: ${fs_used /bin/bash} - ${fs_free_perc /bin/bash}% Free - Down: ${downspeed eth0} k/s Up: ${upspeed eth0} k/s${alignr 1}${downspeedgraph eth0 8,30} ${upspeedgraph eth0 8,30} ${color 6c6c6c}Gmail:${color 6c6c6c}${texeci 300 python /home/carl/handy\ stuff/scripts/gmail.py}
can anyone please help with my above questions. also, why does my network graph filled when I am not even downloading anything. netstat -pant shows no connections to anything either but only local connections. can anyone explain.
Check out my Tech Blog http://ubuntuaddicted.blogspot.com
YouTube: http://youtube.com/user/ubuntuaddicted.com
Become a Patreon of mine: http://www.patreon.com/ubuntuaddicted
Mahalos: I don't think there's a way to fix that, you just have to work around it. (like putting that kind of thing on the end of the line, or running two conkys with enough space between to cover the possible added/subtraced text or (easiest) try using bars or graphs for things that move from one to two digits often (like cpu).
“Man has such a predilection for systems and abstract deductions that he is ready to distort the truth intentionally, he is ready to deny the evidence of his senses only to justify his logic." - Dostoevsky
stealing a little bit of every conkyrc files around here, and have mede the one that fits me the best
Pics here:
http://www.superchristensen.com/modu...index.php?id=3
# ------------------------------------------
# ------------- Conky Script ---------------
# ------------------------------------------
#########
# STYLE #
#########
# set to yes if you want Conky to be forked in the background
background no
# make conky its own window
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_page
# use double buffering to prevent flickering
double_buffer yes
# fiddle with window
use_spacer yes
use_xft no
# update interval in seconds
update_interval 1.4
# minimum size of text area
# minimum_size 250 5
maximum_width 250
# don't draw shades
draw_shades no
# text stuff
override_utf8_locale no
xftfont Terminus:size=9
xftalpha 0.8
# stippled borders
stippled_borders 5
# border margins
border_margin 4
# border width
border_width 1
# default colors and also border colors
default_color grey
# text alignment
alignment bottom_right
# gap between borders of screen and text
gap_x 10
gap_y 58
TEXT
${color white}$alignc$sysname $kernel on $machine
${color white}$alignc${exec whoami} @ $nodename
$color$stippled_hr
${color}Date: ${color white}${time %A,%d %B}
${color}Time: ${color white}${time %k:%M:%S}
${color}Uptime: ${color white}$uptime
$color$stippled_hr
${alignc}System
${color}CPU1:${color white} ${cpu cpu1}% ${cpubar cpu1}
${color}CPU2:${color white} ${cpu cpu2}% ${cpubar cpu2}
${color}RAM: ${color white} $memperc% $membar
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$color$stippled_hr
${alignc}File Systems
${color}/Home ${color white} ${fs_used_perc /}% ${fs_bar /}
${color}/Storage ${color white} ${fs_used_perc /storage}% ${fs_bar /storage}
${color}/IDE ${color white} ${fs_used_perc /ide}% ${fs_bar /ide}
${color}/Win ${color white} ${fs_used_perc /media/hda5}% ${fs_bar /media/hda5}
sda temp: ${hddtemp /dev/sda localhost 7634}
sdb temp: ${hddtemp /dev/sdb localhost 7634}
hda temp: ${hddtemp /dev/hda localhost 7634}
hdb temp: ${hddtemp /dev/hdb localhost 7634}
$color$stippled_hr
${alignc}Network (${addr ath0})
${color}Up: ${color white}${upspeed ath0}k/s ${color}Down: ${color white}${downspeed ath0}k/s
$color$stippled_hr$
${color white}Outbound Connections ${alignr} Service/Port${color grey}
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
${color white}Inbound Connection ${alignr} Service/Port${color grey}
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
Bookmarks