Operating System - HP-UX
1832592 Members
3040 Online
110043 Solutions
New Discussion

Re: UNIX Monitoring & Limitation of Sessions

 
Vassilios
Frequent Advisor

UNIX Monitoring & Limitation of Sessions

Hello,

How can I limit the number of hosts connected to a UNIX server?? The problem is that too many XSessions seem to be taking up a lot of space/processing power on the server, and it causes it to crash.

Secondly, what can be done to "monitor" performance of the UNIX server?? I've done a top command - this is useful,but we need something more "detailed" to tell us how much resource is being taken up with respect to bandwidth utilisation and CPU capacity.

Thanks for your assistance
4 REPLIES 4
Anshumali
Esteemed Contributor

Re: UNIX Monitoring & Limitation of Sessions

I will suggest using Glance Plus for current utilizaton and it provides the detailed ouputs for the processes and other system resources.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Ludovic Derlyn
Esteemed Contributor

Re: UNIX Monitoring & Limitation of Sessions

hi,

to limit the number of session per user modify "NUMBER_OF_LOGINS_ALLOWED " parameter in /etc/default/security file controls If the file doesn't exist, or the parameter is not present, there is a default value of 0, which doesn't limit the number of concurrent sessions.


chek parameters npty in kernel parameters

For second, use glance , sar or vmstat

Regards

L-DERLYN
Vassilios
Frequent Advisor

Re: UNIX Monitoring & Limitation of Sessions

Thanks,
could you tell me how to use glance? or glance plus?? what is the syntax??
Furthermore, what are the options for vmstat?? i tried reading the man pages - i did look at them, but all i need is just the basic syntax that gives me the most information??

Thanks
Anshumali
Esteemed Contributor

Re: UNIX Monitoring & Limitation of Sessions

Glance is a licenced product. You can download 60 days trial version from software.hp.com
if you have it already installed or you had MCOE....
#glance
or in GUI motif
#gpm


Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!