Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FreeBSD watch for gentoo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
windsok
n00b
n00b


Joined: 20 Oct 2003
Posts: 14

PostPosted: Tue May 18, 2004 12:26 pm    Post subject: FreeBSD watch for gentoo? Reply with quote

One progam I like to use when using FreeBSD is the "watch" program, yet the program "watch" in gentoo is completly different to the "watch" in FreeBSD.

FreeBSD:
Code:

WATCH(8)                FreeBSD System Manager's Manual               WATCH(8)

NAME
     watch -- snoop on another tty line

SYNOPSIS
     watch [-cinotW] [-f snpdev] [tty]

DESCRIPTION
     The watch utility allows the user to examine all data coming through a
     specified tty using the snp(4) device.  If the snp(4) device is not
     available, watch will attempt to load the module (snp).  The watch util-
     ity writes to standard output.


Linux:
Code:

WATCH(1)                      Linux User's Manual                     WATCH(1)



NAME
       watch - execute a program periodically, showing output fullscreen

SYNOPSIS
       watch  [-dhvt]  [-n  <seconds>]  [--differences[=cumulative]]  [--help]
       [--interval=<seconds>] [--no-title] [--version] <command>

DESCRIPTION
       watch runs command repeatedly, displaying its output (the first screen-
       full).   This  allows you to watch the program output change over time.
       By default, the program is run every 2 seconds; use -n or --interval to
       specify a different interval.


So basiclly im wondering if there is a program similar to FreeBSD watch, for linux? FreeBSD watch is great for helping new users, as you can watch their every keystroke and tell them where they are going wrong.

So anyone got any idea?

Cheers.
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Tue May 18, 2004 1:31 pm    Post subject: Reply with quote

http://hegel.ittc.ukans.edu/topics/linux/man-pages/man8/ttysnoop.8.html

Maybe ttysnoop?
Back to top
View user's profile Send private message
tweakt
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 92
Location: Boston, MA. USA

PostPosted: Tue May 18, 2004 1:34 pm    Post subject: Reply with quote

I seem to remember a program called 'ttysnoop'. Ahh, yep... link:
http://freshmeat.net/projects/ttysnoop/?branch_id=10794&release_id=34656

Seems it's been unmaintained for some time. Give it a shot.
Back to top
View user's profile Send private message
windsok
n00b
n00b


Joined: 20 Oct 2003
Posts: 14

PostPosted: Tue May 18, 2004 1:44 pm    Post subject: Reply with quote

anyone feel like making an ebuild for it? :)
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Tue May 18, 2004 11:23 pm    Post subject: Reply with quote

heh, watch is a pretty fun program to mess with espcially if ur a sysadmin of a busy server :P
_________________
John5788
Back to top
View user's profile Send private message
Oopsz
Guru
Guru


Joined: 08 Oct 2002
Posts: 340

PostPosted: Tue May 18, 2004 11:40 pm    Post subject: Reply with quote

Try linspy?

http://www.phrack.org/phrack/50/P50-05
_________________
Pop-before-SMTP with the Gentoo Virtual Mailhosting Guide
Back to top
View user's profile Send private message
cpasoft
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2004
Posts: 89

PostPosted: Sun Jun 20, 2004 10:41 am    Post subject: Reply with quote

Is there a something like linspy to 2.6.x kernel??

Another thing like ttysnoop??

I usually use the ttysnoop, but i would like to test another alternatives...

Regards... ;)
Back to top
View user's profile Send private message
xces
Guru
Guru


Joined: 11 Oct 2002
Posts: 515

PostPosted: Sun Jun 20, 2004 5:16 pm    Post subject: Reply with quote

You might want to try 'screen' in multi-user mode. You can actually attach to a screen, when it is already attached and you can watch the other person typing (and you can even interact by typing yourself ;))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum