Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

comsat(8) [osx man page]

COMSAT(8)						    BSD System Manager's Manual 						 COMSAT(8)

NAME
comsat -- biff server SYNOPSIS
comsat [-l] DESCRIPTION
comsat is the server process which receives reports of incoming mail and notifies users if they have requested this service. comsat receives messages on a datagram port associated with the ``biff'' service specification (see services(5) and inetd(8)). The one line messages are of the form: user@mailbox-offset If the user specified is logged in to the system and the associated terminal has the owner execute bit turned on (by a ``biff y''), the offset is used as a seek offset into the appropriate mailbox file and the first 7 lines or 560 characters of the message are printed on the user's terminal. Lines which appear to be part of the message header other than the ``From'', ``To'', ``Date'', or ``Subject'' lines are not included in the displayed message. OPTIONS
The comsat program supports this option: -l The -l option turns on syslogd(8) log messages. FILES
/var/run/utmpx to find out who's logged on and on what terminals SEE ALSO
biff(1), inetd(8), syslogd(8). BUGS
The message header filtering is prone to error. The density of the information presented is near the theoretical minimum. Users should be notified of mail which arrives on other machines than the one to which they are currently logged in. The notification should appear in a separate window so it does not mess up the screen. comsat runs as root so that it can open the users maildrop. HISTORY
The comsat command appeared in 4.2BSD. 4.2 Berkeley Distribution June 4, 1993 4.2 Berkeley Distribution

Check Out this Related Man Page

COMSAT(8)						    BSD System Manager's Manual 						 COMSAT(8)

NAME
comsat -- biff server SYNOPSIS
comsat [-l] DESCRIPTION
comsat is the server process which receives reports of incoming mail and notifies users if they have requested this service. comsat receives messages on a datagram port associated with the ``biff'' service specification (see services(5) and inetd(8)). The one line messages are of the form: user@mailbox-offset If the user specified is logged in to the system and the associated terminal has the owner execute bit turned on (by a ``biff y''), the offset is used as a seek offset into the appropriate mailbox file and the first 7 lines or 560 characters of the message are printed on the user's terminal. Lines which appear to be part of the message header other than the ``From'', ``To'', ``Date'', or ``Subject'' lines are not included in the displayed message. OPTIONS
The comsat program supports this option: -l The -l option turns on syslogd(8) log messages. FILES
/var/run/utmpx to find out who's logged on and on what terminals SEE ALSO
biff(1), inetd(8), syslogd(8). BUGS
The message header filtering is prone to error. The density of the information presented is near the theoretical minimum. Users should be notified of mail which arrives on other machines than the one to which they are currently logged in. The notification should appear in a separate window so it does not mess up the screen. comsat runs as root so that it can open the users maildrop. HISTORY
The comsat command appeared in 4.2BSD. 4.2 Berkeley Distribution June 4, 1993 4.2 Berkeley Distribution
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Paranoid about hackers

Hi all I noted something strange on my server. The get mesages on my terminal even when I am not logged on. What does this mean? I don;t remember the excact message but it looked like messages from my /var/log/messages. "Can't locate mod probe!" or something like that. I am trying to get the... (4 Replies)
Discussion started by: skotapal
4 Replies

2. Shell Programming and Scripting

What does `?` mean for "who -T" ?

Hi All, When we use the command "who" with option "-T" then all the users information who are logged in will bew displayed regarding whether they have set the message permission or not. + indicates permission is set. - indicates permission is not set. I observed ? for some users... (4 Replies)
Discussion started by: Chanakya.m
4 Replies

3. Shell Programming and Scripting

Script to check users logged out

Hi, Here is the script that I have written to check if a particular user is has logged out, and if yes, then a mail needs to be sent to the management the details of whatever has been captured by the script command. echo "The current users are:" who | awk '{print $1}' | sort > temp1 cp... (1 Reply)
Discussion started by: ggayathri
1 Replies

4. UNIX for Dummies Questions & Answers

Search for multiple strings and mail accordingly

Hi, I need to find if there is any error in the last few lines of the log file and send a mail accordingly.For example, Following errors can be logged in the log file. ERR_1="DB Connection not established" ERR_2="Server Unloading" I need to find if these errors are found in the log file and... (3 Replies)
Discussion started by: AnneAnne
3 Replies

5. BSD

Unable to process from lines (envelopes)

Hi, Some of the users on my freebsd server are getting the "unable to process from lines" error when accessing their mailbox. I've checked their mailbox and found that there was a blank line at the top of the mailbox. Everytime i remove it, it appears again sometime later. I've tried... (1 Reply)
Discussion started by: sc_king
1 Replies

6. Shell Programming and Scripting

HOMEWORK HELP - URGENT

im suppose to write a script that examine how many users are logged in the student server. if there are less than 10 logged in a message suppose to display that says "there are less than 10 users currently signed on" and if there are more than 10 logged in a message suppose to display that says... (1 Reply)
Discussion started by: BIGGDRE10
1 Replies

7. UNIX for Advanced & Expert Users

Need to see what ther Root users are doing while logged in to terminal

I have a server that i need to monitor what the .bash_history file for the root user already logged in to the server I am logged in as root and have another person logged on as root and i want to monitor what they are doing: root ? :0 2010-10-19 11:54 root + pts/1 ... (1 Reply)
Discussion started by: calicowboy54
1 Replies