Bash, CentOS, Debian, Enterprise Linux, Fedora Linux, HP-UX, Linux administration, Linux administration and management, Linux applications, Linux clusters, Linux Commands, Linux Distributions, Linux error messages, Linux installation, Linux interoperability, Linux KERNEL, Linux OS, Linux printer drivers, Linux security, linux server, Linux servers, Linux Virtual Server, LinuxWorld, mainframes, PuTTY, Red Hat, Red Hat Enterprise Linux, Red Hat Linux, RedHat, Redhat Linux, RHEL, RHEL 5, Samba, Shell scripts, Solaris 10, Squid, SSH, SSH Configuration, SUSE, SUSE Linux, SUSE Linux 10.2, SUSE Linux Enterprise Server, Ubuntu, Ubuntu Errors, Ubuntu Linux, Unix, Unix administration, Unix shells, Unix-to-Linux migration, Windows-to-linux migration VIEW ALL TAGS
# I want to be able to extract all the oracleprod processes which are 3 days old and kill them. Are there other date functions or methods can I use? I can make a list of processes but how do I compare the date to kill those processes more than 3 days old. This problem is occurring even though I...
I would like to obtain a sorted list of processes, sorted by elapsed time. I am aware of ps -o etime etc, but how exactly do i sort by a field with format [[dd]:[hh]]mm:ss ? Or is there a different way altogether to ask the OS to return a sorted list of processes, sorted by elapsed time? Thanks.