![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Webinar: BAM: The Killer App for CEP | iBot | Complex Event Processing RSS News | 0 | 01-31-2008 09:50 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
help rsh killer
hi everyone , i have a rsh problem , some of the users letf a lot of rsh sesions opened , i need a script that chek with a "ps -fea | grep rsh" and kill every sesion that not start today . for example Code:
root 26770 26767 0 Apr 17 ? 0:00 rsh c-108 find / -type d -mtime +1 -name ???-??-????.??.??
root 8803 8802 0 19:38:45 ? 0:00 rsh c-108 find / -type d -mtime +1 -name ???-??-????.??.??
root 17009 1950 0 09:36:27 ? 0:00 in.rshd
root 29836 29835 0 Apr 20 ? 0:00 rsh c-108 find / -type d -mtime +1 -name ???-??-????.??.??
root 14475 1950 0 09:34:22 ? 0:00 in.rshd
root 6801 6790 0 09:27:59 pts/40 0:00 rsh suxro001 xterm -display 10.2.47.136:0 -T suxro001
root 8146 7394 0 Apr 19 ? 0:00 rsh sliro298 /aplicaciones/pproduccion_v3/lanza_pase_v3.sh stop
i already do , but manual can anyone help me with that pd: sorry for my english Last edited by Yogesh Sawant; 04-22-2008 at 04:58 AM.. Reason: added code tags |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|