i agree about the not assuming the idle process is really idle .. In the past, i would have never developed this script. however, the recent upgrades to the AIX has made it possible that all of our reports/programs generate within an hour. even if the users "accidently" generates a report from...
thank you for your post,
i was able to build a better script passed on the who -u
this site has been a wonderful tool for me.
rm times4
rm times6
who -u > times
cat times | cut -c 42-46,51-55 > times2
sort -n -f times2 > times3
cat times3 | grep -E "5:|6:|4:|3:|2:" >>times4
cat times4 |...
thank you for your post,
i was able to build a better script passed on the who -u
this site has been a wonderful tool for me.
rm times4
rm times6
who -u > times
cat times | cut -c 42-46,51-55 > times2
sort -n -f times2 > times3
cat times3 | grep -E "5:|6:|4:|3:|2:" >>times4
cat times4 |...
Hello,
I am trying to develop a better script to kill users who have been idle for more than one hour.
The problem is that several users are allowed to have more than one session (this is a politcal reason) So, my script kills a users idle process and their active process. here is my...
Hello,
I am trying to develop a better script to kill users who have been idle for more than one hour.
The problem is that several users are allowed to have more than one session (this is a politcal reason) So, my script kills a users idle process and their active process. here is my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.