CLI Magic: Watch It
Here's a nice brief example of when and how to use the "watch" command from the Linux command line. You can use it to reissue a command ever two seconds. Example uses are watching your network connectivity (via netstat) in an almost-realtime fashion, monitoring the head/tail of a log as it changes, or seeing who is logged into your server. Looks to be a handy "off the beaten path" tool.




0 Comments:
Post a Comment
<< Home