Kill Processes Older Than Giventime
Kill processes older than $giventime
On out ssh jumpserver we sometimes have ssh processes that dont want to die after they are used. over the time they cloak the system.
i found out that the GNU Killall just do the job for me.
“killall –older-than 1d ssh” would do the trick 😉
this kills all ssh processes thats older than 1 day
Tags: cli, linux
Read other posts