Re: can we sort process by old dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-07-25 at 13:06 +0530, Kaushal Shriyan wrote:
> HI ALL,
> 
> i would like to kill old process by jull22
> i m making one shell scripts let us know how will u trace the process.
> 
> nobody   29966  0.0  1.9 84552 39540 ?       S    Jul22   0:00
> /usr/local/apache/bin/fcgi- -DSSL
> nobody   29973  0.3  2.6 133652 54576 ?      S    Jul22   2:43
> /usr/local/apache/bin/httpd -DSSL
> nobody   29974  0.3  2.5 132780 53812 ?      S    Jul22   2:31
> /usr/local/apache/bin/httpd -DSSL
> nobody   29975  0.3  2.6 134120 55116 ?      S    Jul22   2:42
> /usr/local/apache/bin/httpd -DSSL
> nobody   29976  0.3  2.5 131744 52484 ?      S    Jul22   2:43
> /usr/local/apache/bin/httpd -DSSL
> date
> Sun Jul 23 00:08:41 PDT 2006
> For example say a June month process, How do i recognize that using ps command

Try this for a list of PIDs of processes started in June:
$ ps uax | awk '$9 ~ /^Jun/ { print $2 }'

Paul.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux