Results 1 to 5 of 5

Thread: Processes

  1. #1
    Join Date
    Dec 2010
    Location
    IR, Teh
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Post Processes

    Hello.
    how to see the all processes in the terminal?
    and how to kill one processes (in terminal)?
    and at end ; how to clean the memory(in terminal)?(RAM)
    Thanks.

  2. #2
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Processes

    how to see the all processes in the terminal?
    Code:
    ps aux
    and how to kill one processes (in terminal)?
    Code:
    kill processid
    or
    Code:
    pkill processname
    or
    Code:
    killall processname
    and at end ; how to clean the memory(in terminal)?(RAM)
    You don't. Leave that to the system.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  3. #3
    Join Date
    Dec 2010
    Location
    IR, Teh
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Processes

    I can not clean the memory??
    I see a person in the OpenSuse for this mean using a command as "distclean" and can,But i do not trustful of this command.

  4. #4
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Processes

    Why do you want to purge your memory of its data content? It will all be cleared when you shutdown.

    If you are concerned about the apparent high ram usage of Ubuntu in particular, or Linux in general, remember that Linux manages ram quite differently from Windows, working on the principle that unused ram is wasted. It therefore keeps data in ram, once it has been put there until such time as more free ram is required.

    If you use the command
    Code:
    free -m
    it will show an output like
    Code:
                 total       used       free     shared    buffers     cached
    Mem:          2012       1960         52          0         93       1292
    -/+ buffers/cache:        574       1438
    Swap:         2047          0       2047
    where the ram presently used on my system is 1960MB out of 2012MB therefore only 52MB is empty. The important figure, however, is the -/+buffers/cache which shows that 574MB is being used by active processes and 1438MB are available, though not empty.

    This is all done this way to make your system faster and more efficient.

  5. #5
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Processes

    Quote Originally Posted by smss View Post
    I can not clean the memory??
    I see a person in the OpenSuse for this mean using a command as "distclean" and can,But i do not trustful of this command.
    "distclean" is often a make target which cleans up a compile directory. It doesn't clean RAM, and you probably won't ever need to use it while on Ubuntu.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •