Daylight v4.9 Release Date: 1 February 2008 Namethorserv_monitor - monitor server in an xterm(1) windowUnix Synopsisthorserv_monitor [logfile]DescriptionThis is a shell script that creates a small X window using xterm(1), and start a tail(1) process in that window. The tail(1) process checks the log file once each second; if more messages have been logged, they are printed in the xterm(1) window.thorserv_monitor monitors the THOR serverIf logfile is specified on the command line, it is the file that is monitored. Otherwise, the environment variable DY_THOR_LOG_FILE, are used to get the log file's name. Note that several users can monitor the server's log files simultaneously. xterm(1) provides several menus, one of which can be used to change font sizes. With the mouse cursor in the window produced by this script, hold down the [CNTL] key and press the right mouse button; the menu that appears allows you to select smaller or larger fonts. Some folks prefer a really small font so they can monitor the servers without using much space on their screen. ExamplesAssume that a server is running remotely on a machine named "friday", and its log file is "/tmp/thorserver.log". Also, assume that you are sitting at the X display of a machine named "monday". The following will create a window on your screen that shows the activities of the Thor server on "friday" (assuming csh(1) is your login shell):% xhost friday Files$DY_ROOT/bin/thorserv_monitor $DY_ROOT/bin/osversionDaylight LicenseNone required.Related Topicsthorserver(1) merlinserver(1) osversion(1) merserv_monitor(1)BugsNone known. |