Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 208065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:47:30+00:00 2026-05-11T17:47:30+00:00

You can get underground processes by ps ux I am searching a way to

  • 0

You can get underground processes by

ps ux

I am searching a way to find processes to which I have not touched for 30 minutes.

How can you find processes unused for an half hour?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:47:30+00:00Added an answer on May 11, 2026 at 5:47 pm

    Define "untouched" and "unused". You can find out lots of things using the f parameter on ps(1) in BSD-like systems, the -o on Solaris and Sys/V-like systems.

    Update

    Responding to the comment:

    Well, you can do it. Consider, for example, something that does a periodic ps, and stores the CPU time used along with time. (Actually, you could do this better with a C program calling the appropriate system calls, but that’s really an implementation detail.) Store sample time and PID, and watch for the PID’s CPU time not having changed over the appropriate interval. This could even be implemented with an awk or perl program like

    while true; do
      ps _flags_
      sleep 30
    done | awk -f myprog | tail -f
    

    so that every time awk gets a ps output, it mangles it, identifies candidates, and sends them out to show through tail -f.

    But then you may well have daemon processes that don’t get called often; it’s not clear to me that CPU time alone is a good measure.

    That’s the point about defining what you really want to do: there’s probably a way to do it, but I can’t think of a combination of ps flags alone that will do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can get data from owner to form, but not the other way around.
I can get the current selected row in this way: private void DataGridView1_CellContentClick(object sender,
I can get at the ViewData and the ViewContext but not the Model. Any
i can get the .htpasswd to work with .htaccess I have the following lines
I can get an html code from web site this way: public void Test()
I can get source packages using apt-get source , but there a way to
GCC can get pretty picky about the order in which it accepts its arguments:
I can get an Authentication cookie from a SharePoint site that is not using
Logging can get complicated, quickly. Considering that you have some code, how do you
I can get the element like this $(#txtEmail) but I'm not sure how to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.