Well last gives the user's logged in but I want a script which automatically report's the user logging in and logging out it's given in my query even who gives the number of user's logged in but i want a shell script which keeps on running in the back ground and report's at an interval of two minutes hope u get my point . thanking u, mohan :-)