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.
BR,
Nergal
|
|
0
|
|
|
|
Reply
|
nergal (18)
|
3/29/2007 6:39:28 AM |
|
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
|
|
0
|
|
|
|
Reply
|
Martin
|
3/29/2007 7:12:55 AM
|
|
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.
|
|
0
|
|
|
|
Reply
|
ISO
|
3/29/2007 7:30:25 AM
|
|
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
|
|
0
|
|
|
|
Reply
|
Mike
|
3/29/2007 7:40:31 AM
|
|
"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.
|
|
0
|
|
|
|
Reply
|
Paul
|
3/29/2007 7:42:30 AM
|
|
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?
|
|
0
|
|
|
|
Reply
|
ISO
|
3/29/2007 7:59:31 AM
|
|
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
|
|
0
|
|
|
|
Reply
|
Staf
|
3/29/2007 8:10:12 AM
|
|
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
|
|
0
|
|
|
|
Reply
|
Paul
|
3/29/2007 8:59:04 AM
|
|
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
|
|
0
|
|
|
|
Reply
|
Henry
|
3/29/2007 2:08:50 PM
|
|
On 28 Mar 2007 23:39:28 -0700 "nergal" <nergal@nergal.se> wrote:
> Is there a similar program like 'watch' in BSD/Linux for Solaris?
Yes, it's called 'watch'.
-frank
|
|
0
|
|
|
|
Reply
|
Frank
|
3/30/2007 4:03:51 AM
|
|
In article <m2tzw3bcns.fsf@sucksless.local>,
Frank Cusack <fcusack@fcusack.com> wrote:
>On 28 Mar 2007 23:39:28 -0700 "nergal" <nergal@nergal.se> wrote:
>> Is there a similar program like 'watch' in BSD/Linux for Solaris?
>
>Yes, it's called 'watch'.
>-frank
But I don't see it anywhere on my machine (sol9) -- not even in
opt/csw or opt/sfw.
Maybe it's in only sol-10?
David
|
|
0
|
|
|
|
Reply
|
dkcombs
|
4/22/2007 12:19:51 AM
|
|
David Combs wrote:
> In article <m2tzw3bcns.fsf@sucksless.local>,
> Frank Cusack <fcusack@fcusack.com> wrote:
>
>>On 28 Mar 2007 23:39:28 -0700 "nergal" <nergal@nergal.se> wrote:
>>
>>>Is there a similar program like 'watch' in BSD/Linux for Solaris?
>>
>>Yes, it's called 'watch'.
>>-frank
>
>
> But I don't see it anywhere on my machine (sol9) -- not even in
> opt/csw or opt/sfw.
>
> Maybe it's in only sol-10?
>
> David
>
>
I've not done a find, but my path has quite a few places in it:
sparrow /export/home/drkirkby % uname -a
SunOS sparrow 5.10 Generic_118833-33 sun4u sparc SUNW,Ultra-80
sparrow /export/home/drkirkby % watch
watch: Command not found.
--
Dave (from the UK)
Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@althorne.org
Hitting reply will work for a few months only - later set it manually.
http://chessdb.sourceforge.net/ - a Free open-source Chess Database
|
|
0
|
|
|
|
Reply
|
Dave
|
4/22/2007 12:53:06 AM
|
|
|
11 Replies
929 Views
(page loaded in 0.206 seconds)
Similiar Articles: Swatch for Solaris - comp.unix.solarisLog file watcher for X - comp.unix.admin Swatch for Solaris - comp.unix.solaris 'Watch' command in Solaris? - comp.unix.solaris Swatch for Solaris - comp.unix.solaris Log ... really heavy asvc_t - comp.unix.solaris'Watch' command in Solaris? - comp.unix.solaris really heavy asvc_t - comp.unix.solaris 'Watch' command in Solaris? - comp.unix.solaris | Computer ... really heavy asvc_t ... ps output length for command tail - comp.unix.solaris'Watch' command in Solaris? - comp.unix.solaris ps output length for command tail - comp.unix.solaris 'Watch' command in Solaris? - comp.unix.solaris ps output length for ... how to unzip a file and view it in a single command line? - comp ...'Watch' command in Solaris? - comp.unix.solaris how to unzip a file and view it in a single command line? - comp ..... and view it, if I want to do it in a single command ... Log file watcher for X - comp.unix.admin'Watch' command in Solaris? - comp.unix.solaris Swatch for Solaris - comp.unix.solaris Log file watcher for X - comp.unix.admin 'Watch' command in Solaris? - comp.unix ... [command] logger ? - comp.unix.solarissyslogd not logging anymore - comp.unix.solaris If you don't get anything useful back, try running syslogd with the -d flag and then send a logger command at it and watch ... NFS mount permission denied - Solaris 10 servers (newbie question ...... entry in /etc/dfs/dfstab file at serverA and the command ... I usually use snoop to watch the failure, and it ... comp.unix.solaris NFS mount permission denied - Solaris 10 ... root CA certificates for wget/openssl - comp.unix.solaris ...Solaris 10 comes with a wget binary which is linked ... You might need to watch if 'strings' can be used on it ... it's not an issue, so I don't care it is on the command ... Sun Fire V440 Network Boot - comp.unix.solarisDear All, Arch: Sun Fire V440 OE : Sun Solaris 8 Problem ... Enter Selection, q to quit: q {3} ok {3} ok watch-net ... is Cisco-3550 and doesn't have a 'negotiation' command ... how to undo lpshut - comp.unix.solarisI am using Solaris 10 ... www.youtube.com/watch?v=k6C_HjWr3Nk> >Now it prints but not in color >I am using Solaris 10/8-07 and am using an HPDeskjet Cse Does this command ... Network Latency - comp.unix.solarisI forgot to mention, you can "watch" for network traffic as well, with a ... Network Latency - comp.unix.solaris Network Packet size (netstat command) - comp.unix.solaris ... X Forwarding requirements - comp.unix.solarisThe solaris machine supports rlogin and X fo... ... I didn't knew that the xhost +<host> command looses the ... X11 forwarding-v is verbose. This lets you watch what ... syslogd not logging anymore - comp.unix.solaris... syslogd with the -d flag and then send a logger command at it and watch what ... [command] logger ? - comp.unix.solaris Is there a Redo command? - comp.groupware.lotus-notes ... How to attach telnet to a process? - comp.unix.solarisHow to attach telnet to a process? - comp.unix.solaris ... When I issue the command - $ dbx process_name process_pid ... learn how to Attach WinDbg to a Process ... 2:23 Watch ... Transition for patch downloads ("wget interface") from SunSolve to ...On 2010-11-10, Andreas F. Borchert <comp.unix.solaris ... with "--no-check-certificate", but the example commands ... Watch the "News" section on the PCA website for ... 'Watch' command in Solaris? - Database Support @ dbaspot.com ...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. BR, Nergal Solaris question for watch command equivalent - LinuxQuestions.orgI know this isn't a Linux question, but this forum has proved the most valuable and helpful to me up to now and besides, I can't get this info on 7/21/2012 10:25:17 PM
|