ps --sort: List process active for more than 24 hours The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsUnderstanding ps elapsed time format for long running processesCapture complete process structure/stackWhy the -u flag doesn't work for ps?Insert a space before the first comma in a csv fileHow to grep the logs for a list of patterns and make a report out of it?Filtering and extracting PIDs as space-separated list from ps using sedProblem with grep -oGet a particular part of text from output of a commandGrep and filter IP from text fileHow to pass PID of one process to another process within the same shell script?

Did the new image of black hole confirm the general theory of relativity?

Does Parliament hold absolute power in the UK?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Sub-subscripts in strings cause different spacings than subscripts

How do spell lists change if the party levels up without taking a long rest?

Sort list of array linked objects by keys and values

My body leaves; my core can stay

60's-70's movie: home appliances revolting against the owners

Huge performance difference of the command find with and without using %M option to show permissions

How to support a colleague who finds meetings extremely tiring?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Presidential Pardon

US Healthcare consultation for visitors

Would an alien lifeform be able to achieve space travel if lacking in vision?

How to type a long/em dash `—`

Could an empire control the whole planet with today's comunication methods?

Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

Is every episode of "Where are my Pants?" identical?

Can I visit the Trinity College (Cambridge) library and see some of their rare books

Is an up-to-date browser secure on an out-of-date OS?

University's motivation for having tenure-track positions

Using dividends to reduce short term capital gains?

should truth entail possible truth



ps --sort: List process active for more than 24 hours



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsUnderstanding ps elapsed time format for long running processesCapture complete process structure/stackWhy the -u flag doesn't work for ps?Insert a space before the first comma in a csv fileHow to grep the logs for a list of patterns and make a report out of it?Filtering and extracting PIDs as space-separated list from ps using sedProblem with grep -oGet a particular part of text from output of a commandGrep and filter IP from text fileHow to pass PID of one process to another process within the same shell script?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















The command ps -ef | grep frmweb gives a huge list for me, which I want to filter:



weblogic 687 80703 0 08:58 ? 00:00:03 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 2129 80703 0 06:52 ? 00:00:51 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 2271 80703 0 Apr08 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 2472 80703 0 06:52 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 3997 80703 0 Apr08 ? 00:00:22 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 4504 80703 0 06:53 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 5513 80703 0 09:24 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 7147 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 10787 80703 0 Apr08 ? 00:02:16 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 12076 80703 0 07:33 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 12857 80703 0 Apr08 ? 00:00:44 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 15078 80703 0 07:35 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 16500 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 18923 80703 0 Apr08 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 20457 80703 0 Apr08 ? 00:00:20 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 22740 80703 0 10:03 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 23937 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simastrosay
weblogic 24175 80703 0 07:03 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simasystady
weblogic 24242 80703 0 07:40 ? 00:00:04 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mcskaray
weblogic 24468 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay
weblogic 24476 80703 0 Apr08 ? 00:00:17 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay


I need to get only the processes which are active for more than 24 hours, from the above set.



I have tried ps -ef --sort options, but I couldn't get the exact command.



Required output is shown below:



weblogic 2271 80703 0 Apr08 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 3997 80703 0 Apr08 ? 00:00:22 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 7147 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 10787 80703 0 Apr08 ? 00:02:16 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 12857 80703 0 Apr08 ? 00:00:44 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 16500 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 18923 80703 0 Apr08 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 20457 80703 0 Apr08 ? 00:00:20 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
weblogic 23937 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simastrosay
weblogic 24468 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay
weblogic 24476 80703 0 Apr08 ? 00:00:17 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay


I need the exact command.










share|improve this question









New contributor




ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    The command ps -ef | grep frmweb gives a huge list for me, which I want to filter:



    weblogic 687 80703 0 08:58 ? 00:00:03 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 2129 80703 0 06:52 ? 00:00:51 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 2271 80703 0 Apr08 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 2472 80703 0 06:52 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 3997 80703 0 Apr08 ? 00:00:22 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 4504 80703 0 06:53 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 5513 80703 0 09:24 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 7147 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 10787 80703 0 Apr08 ? 00:02:16 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 12076 80703 0 07:33 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 12857 80703 0 Apr08 ? 00:00:44 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 15078 80703 0 07:35 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 16500 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 18923 80703 0 Apr08 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 20457 80703 0 Apr08 ? 00:00:20 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 22740 80703 0 10:03 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 23937 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simastrosay
    weblogic 24175 80703 0 07:03 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simasystady
    weblogic 24242 80703 0 07:40 ? 00:00:04 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mcskaray
    weblogic 24468 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay
    weblogic 24476 80703 0 Apr08 ? 00:00:17 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay


    I need to get only the processes which are active for more than 24 hours, from the above set.



    I have tried ps -ef --sort options, but I couldn't get the exact command.



    Required output is shown below:



    weblogic 2271 80703 0 Apr08 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 3997 80703 0 Apr08 ? 00:00:22 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 7147 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 10787 80703 0 Apr08 ? 00:02:16 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 12857 80703 0 Apr08 ? 00:00:44 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 16500 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 18923 80703 0 Apr08 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 20457 80703 0 Apr08 ? 00:00:20 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
    weblogic 23937 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simastrosay
    weblogic 24468 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay
    weblogic 24476 80703 0 Apr08 ? 00:00:17 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay


    I need the exact command.










    share|improve this question









    New contributor




    ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0


      0






      The command ps -ef | grep frmweb gives a huge list for me, which I want to filter:



      weblogic 687 80703 0 08:58 ? 00:00:03 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 2129 80703 0 06:52 ? 00:00:51 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 2271 80703 0 Apr08 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 2472 80703 0 06:52 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 3997 80703 0 Apr08 ? 00:00:22 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 4504 80703 0 06:53 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 5513 80703 0 09:24 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 7147 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 10787 80703 0 Apr08 ? 00:02:16 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 12076 80703 0 07:33 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 12857 80703 0 Apr08 ? 00:00:44 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 15078 80703 0 07:35 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 16500 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 18923 80703 0 Apr08 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 20457 80703 0 Apr08 ? 00:00:20 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 22740 80703 0 10:03 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 23937 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simastrosay
      weblogic 24175 80703 0 07:03 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simasystady
      weblogic 24242 80703 0 07:40 ? 00:00:04 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mcskaray
      weblogic 24468 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay
      weblogic 24476 80703 0 Apr08 ? 00:00:17 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay


      I need to get only the processes which are active for more than 24 hours, from the above set.



      I have tried ps -ef --sort options, but I couldn't get the exact command.



      Required output is shown below:



      weblogic 2271 80703 0 Apr08 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 3997 80703 0 Apr08 ? 00:00:22 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 7147 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 10787 80703 0 Apr08 ? 00:02:16 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 12857 80703 0 Apr08 ? 00:00:44 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 16500 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 18923 80703 0 Apr08 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 20457 80703 0 Apr08 ? 00:00:20 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 23937 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simastrosay
      weblogic 24468 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay
      weblogic 24476 80703 0 Apr08 ? 00:00:17 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay


      I need the exact command.










      share|improve this question









      New contributor




      ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      The command ps -ef | grep frmweb gives a huge list for me, which I want to filter:



      weblogic 687 80703 0 08:58 ? 00:00:03 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 2129 80703 0 06:52 ? 00:00:51 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 2271 80703 0 Apr08 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 2472 80703 0 06:52 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 3997 80703 0 Apr08 ? 00:00:22 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 4504 80703 0 06:53 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 5513 80703 0 09:24 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 7147 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 10787 80703 0 Apr08 ? 00:02:16 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 12076 80703 0 07:33 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 12857 80703 0 Apr08 ? 00:00:44 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 15078 80703 0 07:35 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 16500 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 18923 80703 0 Apr08 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 20457 80703 0 Apr08 ? 00:00:20 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 22740 80703 0 10:03 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 23937 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simastrosay
      weblogic 24175 80703 0 07:03 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simasystady
      weblogic 24242 80703 0 07:40 ? 00:00:04 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mcskaray
      weblogic 24468 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay
      weblogic 24476 80703 0 Apr08 ? 00:00:17 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay


      I need to get only the processes which are active for more than 24 hours, from the above set.



      I have tried ps -ef --sort options, but I couldn't get the exact command.



      Required output is shown below:



      weblogic 2271 80703 0 Apr08 ? 00:00:02 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 3997 80703 0 Apr08 ? 00:00:22 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 7147 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 10787 80703 0 Apr08 ? 00:02:16 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 12857 80703 0 Apr08 ? 00:00:44 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 16500 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 18923 80703 0 Apr08 ? 00:00:01 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 20457 80703 0 Apr08 ? 00:00:20 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,
      weblogic 23937 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,simastrosay
      weblogic 24468 80703 0 Apr08 ? 00:00:00 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay
      weblogic 24476 80703 0 Apr08 ? 00:00:17 /opt/weblogic/product/fmw/bin/frmweb webfile=HTTP-0,mmtrosay


      I need the exact command.







      text-processing rhel ps






      share|improve this question









      New contributor




      ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 13 hours ago









      Rui F Ribeiro

      42k1483142




      42k1483142






      New contributor




      ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Apr 9 at 9:08









      raviravi

      1




      1




      New contributor




      ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      ravi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes


















          2














          You can try something like to filter only lines which do not have in column 5 hour:minute (this mean they are older than 24 h)



          ps -ef | grep frmweb|awk '$5 !~ ":" print'


          As suggested in comment grep can be omitted



           ps -ef | awk '/frmweb/ && $5 !~ ":" print'





          share|improve this answer




















          • 1





            you could also incorporate the grep in the awk, if you wanted: awk '/frmweb/ && $5 !~ ":" ...

            – Jeff Schaller
            Apr 9 at 13:19











          • This command is giving the output based on the column we are selecting with the pattern. but I needed the process which are more than 24 hrs or 1 day.

            – ravi
            2 days ago












          • @ravi, i do not get your point

            – Romeo Ninov
            2 days ago











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          ravi is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511409%2fps-sort-list-process-active-for-more-than-24-hours%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          You can try something like to filter only lines which do not have in column 5 hour:minute (this mean they are older than 24 h)



          ps -ef | grep frmweb|awk '$5 !~ ":" print'


          As suggested in comment grep can be omitted



           ps -ef | awk '/frmweb/ && $5 !~ ":" print'





          share|improve this answer




















          • 1





            you could also incorporate the grep in the awk, if you wanted: awk '/frmweb/ && $5 !~ ":" ...

            – Jeff Schaller
            Apr 9 at 13:19











          • This command is giving the output based on the column we are selecting with the pattern. but I needed the process which are more than 24 hrs or 1 day.

            – ravi
            2 days ago












          • @ravi, i do not get your point

            – Romeo Ninov
            2 days ago















          2














          You can try something like to filter only lines which do not have in column 5 hour:minute (this mean they are older than 24 h)



          ps -ef | grep frmweb|awk '$5 !~ ":" print'


          As suggested in comment grep can be omitted



           ps -ef | awk '/frmweb/ && $5 !~ ":" print'





          share|improve this answer




















          • 1





            you could also incorporate the grep in the awk, if you wanted: awk '/frmweb/ && $5 !~ ":" ...

            – Jeff Schaller
            Apr 9 at 13:19











          • This command is giving the output based on the column we are selecting with the pattern. but I needed the process which are more than 24 hrs or 1 day.

            – ravi
            2 days ago












          • @ravi, i do not get your point

            – Romeo Ninov
            2 days ago













          2












          2








          2







          You can try something like to filter only lines which do not have in column 5 hour:minute (this mean they are older than 24 h)



          ps -ef | grep frmweb|awk '$5 !~ ":" print'


          As suggested in comment grep can be omitted



           ps -ef | awk '/frmweb/ && $5 !~ ":" print'





          share|improve this answer















          You can try something like to filter only lines which do not have in column 5 hour:minute (this mean they are older than 24 h)



          ps -ef | grep frmweb|awk '$5 !~ ":" print'


          As suggested in comment grep can be omitted



           ps -ef | awk '/frmweb/ && $5 !~ ":" print'






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 9 at 13:58

























          answered Apr 9 at 9:29









          Romeo NinovRomeo Ninov

          7,00732129




          7,00732129







          • 1





            you could also incorporate the grep in the awk, if you wanted: awk '/frmweb/ && $5 !~ ":" ...

            – Jeff Schaller
            Apr 9 at 13:19











          • This command is giving the output based on the column we are selecting with the pattern. but I needed the process which are more than 24 hrs or 1 day.

            – ravi
            2 days ago












          • @ravi, i do not get your point

            – Romeo Ninov
            2 days ago












          • 1





            you could also incorporate the grep in the awk, if you wanted: awk '/frmweb/ && $5 !~ ":" ...

            – Jeff Schaller
            Apr 9 at 13:19











          • This command is giving the output based on the column we are selecting with the pattern. but I needed the process which are more than 24 hrs or 1 day.

            – ravi
            2 days ago












          • @ravi, i do not get your point

            – Romeo Ninov
            2 days ago







          1




          1





          you could also incorporate the grep in the awk, if you wanted: awk '/frmweb/ && $5 !~ ":" ...

          – Jeff Schaller
          Apr 9 at 13:19





          you could also incorporate the grep in the awk, if you wanted: awk '/frmweb/ && $5 !~ ":" ...

          – Jeff Schaller
          Apr 9 at 13:19













          This command is giving the output based on the column we are selecting with the pattern. but I needed the process which are more than 24 hrs or 1 day.

          – ravi
          2 days ago






          This command is giving the output based on the column we are selecting with the pattern. but I needed the process which are more than 24 hrs or 1 day.

          – ravi
          2 days ago














          @ravi, i do not get your point

          – Romeo Ninov
          2 days ago





          @ravi, i do not get your point

          – Romeo Ninov
          2 days ago










          ravi is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          ravi is a new contributor. Be nice, and check out our Code of Conduct.












          ravi is a new contributor. Be nice, and check out our Code of Conduct.











          ravi is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511409%2fps-sort-list-process-active-for-more-than-24-hours%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.