# UBUNTU-CONKY # A comprehensive conky script, configured for use on # Ubuntu / Debian Gnome, without the need for any external scripts. # # Based on conky-jc and the default .conkyrc. # INCLUDES: # - tail of /var/log/messages # - netstat connections to your computer # # -- Pengo (conky@pengo.us) # # Create own window instead of using desktop (required in nautilus) own_window yes own_window_hints undecorated,skip_taskbar background no # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # fiddle with window use_spacer right use_xft yes # Update interval in seconds update_interval 3.0 # Minimum size of text area #minimum_size 100 5 maximum_width 150 # Draw shades? draw_shades yes # Text stuff draw_outline no # amplifies text if yes draw_borders no uppercase no # set to yes if you want all text to be in uppercase # Stippled borders? stippled_borders 8 # border margins border_margin 0 # border width border_width 0 # Default colors and also border colors, grey90 == #e5e5e5 default_color white default_shade_color black default_outline_color white #own_window_colour white own_window_transparent yes # 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 gap_x 0 gap_y 0 # stuff after 'TEXT' will be formatted on screen override_utf8_locale no xftfont Monospace:size=8 xftalpha 0.8 TEXT WebLogic Servers - Admin (7001) ${if_empty ${exec /usr/sbin/lsof -i :7001 | grep LISTEN}}${color red}DOWN${color} ${else}${color green} UP ${color}(${tcp_portmon 7001 7001 count}) ${endif} - OSB (8011) ${if_empty ${exec /usr/sbin/lsof -i :8011 | grep LISTEN}}${color red}DOWN${color} ${else}${color green} UP ${color}(${tcp_portmon 8011 8011 count}) ${endif} - BAM (9001) ${if_empty ${exec /usr/sbin/lsof -i :9001 | grep LISTEN}}${color red}DOWN${color} ${else}${color green} UP ${color}(${tcp_portmon 9001 9001 count}) ${endif} - DB (1521) ${if_empty ${exec /usr/sbin/lsof -i :1521 | grep LISTEN}}${color red}DOWN${color} ${else}${color green} UP ${color}(${tcp_portmon 1521 1521 count}) ${endif}