Computing.Net > Forums > Unix > How to kill idel user

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to kill idel user

Reply to Message Icon

Name: saroren
Date: March 4, 2003 at 15:56:46 Pacific
OS: HP UNIX v10
CPU/Ram: 1
Comment:

Hi,

Need Help.
I need a script to find the idel user using the finger command and if the idel time is more the 30 mins, then i need to check whether the user is printing reports using the ps -ef command. This can be found if the command lp -s is in the ps -ef command.

Please Help



Sponsored Link
Ads by Google

Response Number 1
Name: LeeS
Date: March 19, 2003 at 10:37:53 Pacific
Reply:

Hi,

Try looking at the idleout script and modify it to add your special requirements for checking the lp status. I would suggest copying it to another name first and then modifing that new version.

LEE


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: How to kill idel user

How to kill connection in unix www.computing.net/answers/unix/how-to-kill-connection-in-unix/4128.html

How to kill processes older than x www.computing.net/answers/unix/how-to-kill-processes-older-than-x-/4238.html

Kill idle users over 60 min www.computing.net/answers/unix/kill-idle-users-over-60-min/5094.html