Operating System - HP-UX
1834254 Members
2043 Online
110066 Solutions
New Discussion

moinitoring tool required

 
Baiju_1
Occasional Contributor

moinitoring tool required

This is with ref. to my earlier query.

I have glance plus and Perfview installed but they do not give on user statistics,
like total users, number of users connected with in a time period ,total logged out....

How to monitor this
4 REPLIES 4
Paula J Frazer-Campbell
Honored Contributor

Re: moinitoring tool required

Hi

Use standard commands like :-

who
last
lastb

i.e.

who | wc -l

will count current logged in users.

HTH

Paula
If you can spell SysAdmin then you is one - anon
Victor_5
Trusted Contributor

Re: moinitoring tool required

The easiest way is to use the standard commands comes with Unix, i.e.,

who
whodo
ps
last
lastb
...


Steve Steel
Honored Contributor

Re: moinitoring tool required

Hi


General info

w

Who logged in today

last -R|grep -i still|grep -i "$(date|cut -c1-11)"

Who logged ot

last -R|grep -iv still|grep -i "$(date|cut -c1-11)"

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
SHABU KHAN
Trusted Contributor

Re: moinitoring tool required

Baiju,

How is "God's Own country" ?:-)

Here is a simple script that I use to count the number of users on a system, it emails a report also ...

Thanks,
Shabu