Find the answer to your Linux question:
Results 1 to 5 of 5
Just a quick one. I am running two concurrent instances of 'bzip2', both compressing large (>10gb) files. When I run top, I see that both of them are using approximately ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    jls
    jls is offline
    Just Joined!
    Join Date
    Apr 2007
    Posts
    13

    More than 100% !!?!?


    Just a quick one.

    I am running two concurrent instances of 'bzip2', both compressing large (>10gb) files.
    When I run top, I see that both of them are using approximately 92% cpu.
    How is that possible to have about 180% cpu usage?

    THanks

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    You are sure you did setup everything right?
    Since it sounds that you look at the total CPU use instead of the CPU use for each Process.
    New Users, please read this..
    Google first, then ask..

  3. #3
    jls
    jls is offline
    Just Joined!
    Join Date
    Apr 2007
    Posts
    13
    I don't think so as they are not both reporting the same useage. Here on is reporting 97% and the second 92%

    top - 11:46:14 up 74 days, 21:49, 12 users, load average: 2.25, 2.52, 2.54
    Tasks: 240 total, 3 running, 229 sleeping, 4 stopped, 4 zombie
    Cpu(s): 93.7%us, 1.5%sy, 0.0%ni, 0.2%id, 4.1%wa, 0.0%hi, 0.5%si, 0.0%st
    Mem: 2075416k total, 2021896k used, 53520k free, 1528k buffers
    Swap: 4200888k total, 517584k used, 3683304k free, 1355732k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    804 root 25 0 8968 7832 384 R 97 0.4 34:05.78 bzip2
    776 root 25 0 8964 7832 384 R 92 0.4 41:54.27 bzip2

  4. #4
    Linux User
    Join Date
    Jun 2007
    Posts
    318
    Sounds like your system has more than one processor. Check with the command:

    # cat /proc/cpuinfo

    Vic

  5. #5
    jls
    jls is offline
    Just Joined!
    Join Date
    Apr 2007
    Posts
    13
    Doh!!

    Thanks vic.

Posting Permissions

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