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
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.
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.
Summary: hi david, thanks for your response. sure, but i want to kill just only user-processes (no deamons, no root-processes,etc...).the output of "ps -ef |grep ts08037I |awk '{print$5,$6}'" is: Sep 30 Nov 07...
Summary: Hi,I need someone to please help me with a script to kill idle users,with no keyboard activity longer than 60 minutes.Icannot get piddle_p or anything else working off the net. PLease help!!! Thanks H...