LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-19-2005, 01:49 PM   #1
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
Linux Watch vs BSD Watch


Is there a command in FreeBSD that will accomplish the same thing as the linux command watch.

For those of you wo may not know what each command does:

watch (BSD) - snoops a given tty
watch (Linux) - makes a static command like 'ps' or 'who' able to update in realtime.

Thanks.
 
Old 02-19-2005, 07:04 PM   #2
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
I am not familar with that program...but perhaps you will find this useful:

$ whereis watch
watch: /usr/sbin/watch /usr/share/man/man8/watch.8.gz /usr/src/usr.sbin/watch
 
Old 08-12-2009, 02:17 AM   #3
mj2000
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 1
cmdwatch

its called cmdwatch on FreeBSD.
use whereis cmdwatch to find the ports directory
 
Old 08-16-2009, 03:30 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
or gnuwatch on OpenBSD
 
Old 08-16-2009, 05:35 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by blueCow
Is there a command in FreeBSD that will accomplish the same thing as the linux command watch.
To be honest, on non-Linux operating systems (e.g. FreeBSD, Solaris), I simply use the following from a Bourne-type shell:
Code:
while true ; do clear ; <foo command here> ; sleep 5 ; done
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to watch TV on Linux? (RedHat 9.0) umeshz Linux - Software 5 04-09-2006 09:07 PM
How do i watch DVD's in linux??? carspidey Linux - Newbie 5 11-24-2005 05:54 PM
How can i watch mpegs in linux? Katet Linux - Newbie 4 07-03-2005 10:19 PM
How do i watch film dvds under Linux. blastradius Linux - Software 10 06-07-2005 10:32 PM
Watch out - Linux newbie question gcstader Linux - Newbie 5 09-21-2003 10:19 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration