This is a discussion on 'Watch' command in Solaris? within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi, Is there a similar program like 'watch' in BSD/Linux for Solaris? I just want a program that can ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| nergal wrote: > Hi, > > Is there a similar program like 'watch' in BSD/Linux for Solaris? > I just want a program that can watch a command like tail on a file to > check for changes. I'm not that familiar with BSD or Linux, so can you explain what "watch a command" means in more detail? Do you mean trace system calls etc.? Then there is truss for that in Solaris. |
| |||
| Thommy M. Malmström schrieb: > nergal wrote: >> Hi, >> >> Is there a similar program like 'watch' in BSD/Linux for Solaris? >> I just want a program that can watch a command like tail on a file to >> check for changes. You should get it on http://sunfreeware.com/ > > I'm not that familiar with BSD or Linux, so can you explain what "watch > a command" means in more detail? Do you mean trace system calls etc.? > Then there is truss for that in Solaris. Snippet from man: watch - execute a program periodically, showing output fullscreen |
| |||
| "nergal" <nergal@nergal.se> writes: > I just want a program that can watch a command like tail on a file to > check for changes. Try "less /path/to/file" then press "Shift-F". Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| |||
| Mike Roetgers wrote: > Thommy M. Malmström schrieb: >> nergal wrote: >>> Hi, >>> >>> Is there a similar program like 'watch' in BSD/Linux for Solaris? >>> I just want a program that can watch a command like tail on a file to >>> check for changes. > You should get it on http://sunfreeware.com/ >> >> I'm not that familiar with BSD or Linux, so can you explain what >> "watch a command" means in more detail? Do you mean trace system calls >> etc.? Then there is truss for that in Solaris. > Snippet from man: > watch - execute a program periodically, showing output fullscreen Please forgive me, but can you give an example? Is it like at or cron? |
| |||
| On 2007-03-29, Thommy M. Malmström <thommy.m.malmstrom@gmail.com> wrote: > nergal wrote: >> Hi, >> >> Is there a similar program like 'watch' in BSD/Linux for Solaris? >> I just want a program that can watch a command like tail on a file to >> check for changes. > > I'm not that familiar with BSD or Linux, so can you explain what "watch > a command" means in more detail? Do you mean trace system calls etc.? > Then there is truss for that in Solaris. Basically 'watch' runs a command periodically and shows the output. 'watch' should be available at www.blastwave.org or sunfreeware.com regards, -- staf wagemakers |
| |||
| On Thu, 29 Mar 2007 07:59:31 GMT, Thommy M. Malmström <thommy.m.malmstrom@gmail.com> wrote: | Mike Roetgers wrote: |> Thommy M. Malmström schrieb: |>> nergal wrote: |>>> Hi, |>>> |>>> Is there a similar program like 'watch' in BSD/Linux for Solaris? |>>> I just want a program that can watch a command like tail on a file to |>>> check for changes. |> You should get it on http://sunfreeware.com/ |>> |>> I'm not that familiar with BSD or Linux, so can you explain what |>> "watch a command" means in more detail? Do you mean trace system calls |>> etc.? Then there is truss for that in Solaris. |> Snippet from man: |> watch - execute a program periodically, showing output fullscreen | | Please forgive me, but can you give an example? Is it like at or cron? Imagine 'top' except running something other than 'ps' to produce the output. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro |
| |||
| nergal <nergal@nergal.se> wrote: > Is there a similar program like 'watch' in BSD/Linux for Solaris? > I just want a program that can watch a command like tail on a file to > check for changes. I like wots ( http://post.queensu.ca/~curtis/tools/ ) a lot. Using it since many years; I feed all the logfiles into wots, and let it distill the really important messages. mp. -- Systems Administrator | Institute of Scientific Computing | Univ. of Vienna | http://www.par.univie.ac.at/solaris/pca/ Patch Check Advanced | Analyze, download and install patches for Sun Solaris |
| |||
| nergal wrote: > Hi, > > Is there a similar program like 'watch' in BSD/Linux for Solaris? > I just want a program that can watch a command like tail on a file to > check for changes. I like a freeware program called 'xtail'. You can say "xtail *.log" and it will notify you when any change happens to any of *.log. Or you can say "xtail <some-dir>" and it will pick up and monitor any files found there, including any files created while it's running. HT |
| Thread Tools | |
| Display Modes | |
|
|