01-08-2012
what kind of problems can occured if session remains open for long time ?
Is it harmfull to the system.
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
There's a user that opens various login sessions with a particular SOLARIS server at the same time - this locks the server thats tried to get logged into..
Kindly help on how to know the max limit of sessions a particular user can open with a particular server at the same time. AND, how to... (2 Replies)
Discussion started by: its.simron
2 Replies
2. Shell Programming and Scripting
I m need of something useful to reduce my n number of login sessions to save my time.
Scenario :
I will login 40+ servers daily with ip address. i hv generated ssh key gens in order to avoid passwords.
what i need is :
when i click a terminal, i need these 40 servers logged in... (1 Reply)
Discussion started by: anand.linux1984
1 Replies
3. Shell Programming and Scripting
Hi ,
Please help me
shell script to determine the active processes on the system which are running since long time (2 Replies)
Discussion started by: itian2010
2 Replies
4. Shell Programming and Scripting
Hi All,
I have a written a test script which retrieves the status of active and inactive sessions from oracle DB, but i am receiving error while executing.
My script is
filepath="/home/ocsg/scripts/db_session_report/current_session_report.txt"... (1 Reply)
Discussion started by: poweroflinux
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
How can i find out the average cpu utilization of a particular long-running process in UNIX? is there some command for this
Thanks (3 Replies)
Discussion started by: arunmanas
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
I try to copy the nohup.out to new file using cp command on solaris 10
However, the new file is very large size compare to nohup.out
The file is in English format text.
Any solution for copying active/open log file without problem with the size.
ex:
/dir > du -sh nohup.out
636K ... (7 Replies)
Discussion started by: xitrum
7 Replies
7. UNIX for Beginners Questions & Answers
Hi - If iam logged on to server A, on 4 putty windows using SSH ... and out of these 4 logged-in sessions, in one of the sessions if i did SSH from server A to server B;
i would now have 4 putty windows sessions ... of which 3 are actively logged on to Server A while 1 putty window is actively... (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT CENTOS
ssl_session_get_timeout
SSL_SESSION_get_time(3) OpenSSL SSL_SESSION_get_time(3)
NAME
SSL_SESSION_get_time, SSL_SESSION_set_time, SSL_SESSION_get_timeout, SSL_SESSION_set_timeout - retrieve and manipulate session time and
timeout settings
SYNOPSIS
#include <openssl/ssl.h>
long SSL_SESSION_get_time(const SSL_SESSION *s);
long SSL_SESSION_set_time(SSL_SESSION *s, long tm);
long SSL_SESSION_get_timeout(const SSL_SESSION *s);
long SSL_SESSION_set_timeout(SSL_SESSION *s, long tm);
long SSL_get_time(const SSL_SESSION *s);
long SSL_set_time(SSL_SESSION *s, long tm);
long SSL_get_timeout(const SSL_SESSION *s);
long SSL_set_timeout(SSL_SESSION *s, long tm);
DESCRIPTION
SSL_SESSION_get_time() returns the time at which the session s was established. The time is given in seconds since the Epoch and therefore
compatible to the time delivered by the time() call.
SSL_SESSION_set_time() replaces the creation time of the session s with the chosen value tm.
SSL_SESSION_get_timeout() returns the timeout value set for session s in seconds.
SSL_SESSION_set_timeout() sets the timeout value for session s in seconds to tm.
The SSL_get_time(), SSL_set_time(), SSL_get_timeout(), and SSL_set_timeout() functions are synonyms for the SSL_SESSION_*() counterparts.
NOTES
Sessions are expired by examining the creation time and the timeout value. Both are set at creation time of the session to the actual time
and the default timeout value at creation, respectively, as set by SSL_CTX_set_timeout(3). Using these functions it is possible to extend
or shorten the lifetime of the session.
RETURN VALUES
SSL_SESSION_get_time() and SSL_SESSION_get_timeout() return the currently valid values.
SSL_SESSION_set_time() and SSL_SESSION_set_timeout() return 1 on success.
If any of the function is passed the NULL pointer for the session s, 0 is returned.
SEE ALSO
ssl(3), SSL_CTX_set_timeout(3), SSL_get_default_timeout(3)
1.0.1e 2013-02-11 SSL_SESSION_get_time(3)