Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Exclamation Linux Process Information Required


    Hello,
    I am a newbie to Linux-debian.I wanted to know how do we go about this scenario.
    A process is consuming one of the disk partitions.
    1. I wanted to know how do we determine more information about a process before killing it?
    2.If possible what files a process is consuming /creating?
    3.State of the process...any other info about process which is running on the server?

    Your help in this regard would be much appreciated.

    Thanks
    Shiva

  2. #2
    Just Joined! rukiaEnix's Avatar
    Join Date
    Jun 2012
    Location
    Mexico
    Posts
    16
    Hello, I don't know a lot about process but I always use

    Code:
    ps -aux
    But you could try with the options described at the ps man page.

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,907
    You can examine open files using the lsof command. If you know the process ID
    Code:
    lsof -p <PROCESS ID>
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

  4. $spacer_open
    $spacer_close

Posting Permissions

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