1849610 Members
7663 Online
104044 Solutions
New Discussion

Re: SIP Memeory Usage

 
nitin_17
Occasional Contributor

SIP Memeory Usage

I am using Sip 2.0 on Hp UX 11.11.I want to know how much memory a single session use.So that I can decide how much memory is further needed.

Also is it possible to restrict multiple logins using a single username/password

Thanks in advance!!!!!


Regards...
Nitin
4 REPLIES 4
KapilRaj
Honored Contributor

Re: SIP Memeory Usage

Sorry no idea abt the first one

The second one can be done via the following

in the .profile

if [ -f ~/LOCK_USER ]
then
echo "Multiple user sessions are not allowed"
exit 0
else
touch ~/LOCK_USER
ksh #Replace it with whatever shell or replace by shell
#scripts which user needs to run.
rm ~/LOCK_USER
exit
fi

Regds,

Kaps
Nothing is impossible
nitin_17
Occasional Contributor

Re: SIP Memeory Usage

Thanks for the speedy reply Kapil.

The restriction is required for the SIP.We are using passwd file to authenticate.This file is saved under /etc/opt/OV/SIP/conf/etc/
As you might know SIP authentication happens through the Web form using a JSP file.
Whether it will be possible.

Thanks in advance..

Regards...
Nitin


RAC_1
Honored Contributor

Re: SIP Memeory Usage

You can how much memory a process is using as follows.

UNIX95= ps -C "sip_process" -o "vsz,args"

The vsz values are in KB.

You can also check it in glance. glance -g/-m

I really could not get your second question. Do you want to restrict no. logins to SIP? Where it stores passords, how it authenticates? May be depending on that you can put some code, so that the new login is checked and if no. of connections are already there, it wont allow a new login.

Anil
There is no substitute to HARDWORK
nitin_17
Occasional Contributor

Re: SIP Memeory Usage

The SIP uses a passwd file to Authenticate the users logging in from web to see the status of their network.I want ro know how much memory each of the login session takes.And Also I want to restrict the logins a user can make with a single username.As I feel each session consumes lot of memory.
So to free up the resources I need to stop multiple logins for a Single username

Regards...
Nitin