Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I am looking for a tool which determines how much time a process spends in user or kernel space. But: Using time is not possible, since I need to ...
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    1

    How to determine how much time a process spends in user and kernel sp

    Hi,

    I am looking for a tool which determines how much time a process spends in user or kernel space. But: Using time is not possible, since I need to find this out for tasks which are already running and can not be started again.

    So, I need something like time <command>, but it should be called during runtime of <command>.



    Any help is highly appreciated.

  2. #2
    Just Joined!
    Join Date
    May 2011
    Posts
    44
    Top can be configured to do this.

    --edit--
    Top only shows CPU usage.

Posting Permissions

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