10-15-2001
My apologies for the use of term without
defining it first. COTS - Commercial Off The
Shelf software.
On the disconnects, it would be better
to educate your users to "exit" rather than just
disconnect however, what I was really looking
for was... while they are logged on via
NetTeam, what software do the run on UNIX.
Normally, when a user disconnects, a hangup
signal is sent to all processes associated with
that "controlling terminal". Properly written
sofware should handle this and clean up the
session. If the sofware was developed in-house,
you should file a bug report to your development
folks. If it is Commercial (COTS) sofware,
complain to the sofware manufacturer.
10 More Discussions You Might Find Interesting
1. AIX
Hi All
can anyone tell me what is the meaning of tty,or give me an example of this? (1 Reply)
Discussion started by: magasem
1 Replies
2. UNIX for Advanced & Expert Users
Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go?
Thank you
Richard (4 Replies)
Discussion started by: ukndoit
4 Replies
3. Solaris
Hi
Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages.
Any free tools or scripts to do this?
Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Long time reader, first time poster.
I have a tip session to a v480 serial console running Solaris 9.
Look at this mess I'm getting back...
connected... (16 Replies)
Discussion started by: danny.hudson
16 Replies
5. Linux
It's happened multiple times and I can't figure out why it's happening or how to undo it, but hitting CTRL-S seems to disable the given TTY on 'nixes of various flavors. Killing the pid doesn't bring the tty back, I end up having to use other tty's until I reboot.
Anyone got some information for... (2 Replies)
Discussion started by: thmnetwork
2 Replies
6. Shell Programming and Scripting
I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time.
Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies
7. UNIX for Advanced & Expert Users
I am not sure if I am using the correct terminology but somehow my tty keeps changing on me. The man pages are confusing to me on what exactly the tty is. This is what I see when I run the tty command. Could anyone explain why my tty keeps changing?
~ $ tty
/dev/pts/1
~ $ tty
/dev/pts/0 (6 Replies)
Discussion started by: cokedude
6 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I need your help to understand about different processes(tty1,tty2,tty3...) running as root as shown below .What exactly these processes do?
root@bisu-desktop:~# ps -eaf | grep -e tty -e UID
UID PID PPID C STIME TTY TIME CMD
root 761 1 0 10:30 tty5 ... (4 Replies)
Discussion started by: crazybisu
4 Replies
9. Shell Programming and Scripting
In bash, you can do something like this:
#!/bin/bash
echo -n "What is your name? " > /dev/tty
read thename < /dev/tty
How can I do the same in python?
I have a python script that has the following content:
#!/usr/bin/python2.7
import getpass
import sys
import telnetlib
import... (2 Replies)
Discussion started by: SkySmart
2 Replies
10. SCO
Is there an easy to see which /dev/tty a printer is on on SCO Unix 3.2.4.2? (1 Reply)
Discussion started by: steveo314
1 Replies
LEARN ABOUT DEBIAN
rt-clean-sessions-4
rt-clean-sessions(8) Request Tracker Reference rt-clean-sessions(8)
NAME
rt-clean-sessions - clean old and duplicate RT sessions
SYNOPSIS
rt-clean-sessions [--debug] [--older <NUM>[H|D|M|Y]]
rt-clean-sessions
rt-clean-sessions --debug
rt-clean-sessions --older 10D
rt-clean-sessions --debug --older 1M
rt-clean-sessions --older 10D --skip-user
DESCRIPTION
Script cleans RT sessions from DB or dir with sessions data. Leaves in DB only one session per RT user and sessions that aren't older than
specified(see options).
Script is safe because data in the sessions is temporary and can be deleted.
OPTIONS
older
Date interval in the "<NUM>[<unit>]" format. Default unit is D(ays), H(our), M(onth) and Y(ear) are also supported.
For example: "rt-clean-sessions --older 1M" would delete all sessions that are older than 1 month.
skip-user
By default only one session per user left in the DB, so users that have sessions on multiple computers or in different browsers will be
logged out. Use this option to avoid this.
debug
Turn on debug output.
NOTES
Functionality similar to this is implemented in html/Elements/SetupSessionCookie ; however, that does not guarantee that a session will be
removed from disk and database soon after the timeout expires. This script, if run from a cron job, will ensure that the timed out
sessions are actually removed from disk; the Mason component just ensures that the old sessions are not reusable before the cron job gets
to them.
perl v5.14.2 2013-05-22 rt-clean-sessions(8)