NG_TEE(4) BSD Kernel Interfaces Manual NG_TEE(4)NAME
ng_tee -- netgraph ``tee'' node type
SYNOPSIS
#include <sys/types.h>
#include <netgraph/ng_tee.h>
DESCRIPTION
The tee node type has a purpose similar to the tee(1) command. Tee nodes are useful for debugging or ``snooping'' on a connection between
two netgraph nodes. Tee nodes have four hooks, right, left, right2left, and left2right. All data received on right is sent unmodified to
both hooks left and right2left. Similarly, all data received on left is sent unmodified to both right and left2right.
Packets may also be received on right2left and left2right; if so, they are forwarded unchanged out hooks right and left, respectively.
HOOKS
This node type supports the following hooks:
right The connection to the node on the right.
left The connection to the node on the left.
right2left Tap for right to left traffic.
left2right Tap for left to right traffic.
CONTROL MESSAGES
This node type supports the generic control messages, plus the following.
NGM_TEE_GET_STATS
Get statistics, returned as a struct ng_tee_stats.
NGM_TEE_CLR_STATS
Clear statistics.
SHUTDOWN
This node shuts down upon receipt of an NGM_SHUTDOWN control message, or when all hooks have been disconnected. If both right and left hooks
are present, node removes itself from the chain gently, connecting right and left together.
SEE ALSO tee(1), netgraph(4), ngctl(8)HISTORY
The ng_tee node type was implemented in FreeBSD 4.0.
AUTHORS
Julian Elischer <julian@FreeBSD.org>
BSD May 28, 2004 BSD
Check Out this Related Man Page
NG_TEE(4) BSD Kernel Interfaces Manual NG_TEE(4)NAME
ng_tee -- netgraph ``tee'' node type
SYNOPSIS
#include <sys/types.h>
#include <netgraph/ng_tee.h>
DESCRIPTION
The tee node type has a purpose similar to the tee(1) command. Tee nodes are useful for debugging or ``snooping'' on a connection between
two netgraph nodes. Tee nodes have four hooks, right, left, right2left, and left2right. All data received on right is sent unmodified to
both hooks left and right2left. Similarly, all data received on left is sent unmodified to both right and left2right.
Packets may also be received on right2left and left2right; if so, they are forwarded unchanged out hooks right and left, respectively.
HOOKS
This node type supports the following hooks:
right The connection to the node on the right.
left The connection to the node on the left.
right2left Tap for right to left traffic.
left2right Tap for left to right traffic.
CONTROL MESSAGES
This node type supports the generic control messages, plus the following.
NGM_TEE_GET_STATS
Get statistics, returned as a struct ng_tee_stats.
NGM_TEE_CLR_STATS
Clear statistics.
SHUTDOWN
This node shuts down upon receipt of an NGM_SHUTDOWN control message, or when all hooks have been disconnected. If both right and left hooks
are present, node removes itself from the chain gently, connecting right and left together.
SEE ALSO tee(1), netgraph(4), ngctl(8)HISTORY
The ng_tee node type was implemented in FreeBSD 4.0.
AUTHORS
Julian Elischer <julian@FreeBSD.org>
BSD May 28, 2004 BSD
If you had purchased $1,000 of AIG stock one year ago, you would have about $40.00 left. With Lehman, you have about $6.00 left. With Fannie or Freddie, you would have less than $5.00 left.
But, if you had purchased $1,000 worth of beer one year ago, and had drunk all of the beer, then turned... (4 Replies)
Hi,
I'm sure this is real simple but in the looking I've done I haven't seen it addressed (or didn't realize it). I've started up a PuTTY connection to our UNIX box and started screen and script - no problems. Then I typed "tee teeKH18.txt" expecting it to start tee and dump all activity into... (2 Replies)
1. The problem statement, all variables and given/known data:
Basic Assignment
Write a program similar to the Unix "tee" command.
Program
The Unix "tee" command is used to pull out copies of a data stream. It is typically used in conjunction with pipes (analogous to a T-joint in plumbing, hence... (1 Reply)
Hi Guys
Kindly help me on my predicament. I want to get the 7 chars of this filename
I need to get the ALL.cmd from this filehame filename_a_ALL.cmd
Thanks (10 Replies)
"Debain 9 - LXDE"
I execute follow line in the bash terminal:
/ts3/server/ts3server_startscript.sh start createinifile=1 | tee -a /ts3/server/key.txt
The displayed output looks like follow:
My key.txt file looks like follow:
How can i save the whole displayed text in my file?
Why does... (5 Replies)