Thread: What one line unix talk combo generates the following....

  1. #1
    Banned
    Join Date
    May 2007
    Location
    Berkeley, CA
    Posts
    329

    What one line unix talk combo generates the following....

    What one line unix talk combo would generate a 95% cpu load. The following is what I mean

    -bash-3.2$ ps waux | grep talk
    dibelonious 14128 32.0 0.1 484 524 pT R 12:23AM 424:59.91 talk mafioso
    mafioso 1335 31.1 0.1 484 508 pV R 12:25AM 422:11.39 talk [email protected]
    load averages: 4.47, 4.57, 4.58 00:25:25
    263 processes: 4 running, 257 idle, 1 stopped, 1 on processor
    CPU states: 26.2% user, 0.1% nice, 12.6% system, 1.0% interrupt, 60.1% idle
    Memory: Real: 114M/300M act/tot Free: 198M Swap: 242M/2048M used/tot

    PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND
    14128 dibeloni 64 0 484K 524K run - 431:45 32.42% talk
    30152 rrecchia 64 0 688K 1236K run - 555:59 31.15% top
    1335 mafioso 64 0 484K 508K run - 428:40 30.18% talk
    5664 _postfix 2 0 984K 1364K sleep select 74:25 0.00% qmgr

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Perhaps talk does busy waiting?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading a buffer line by line, while using system read
    By Hammad Saleem in forum C Programming
    Replies: 9
    Last Post: 05-27-2008, 05:41 AM
  2. line number on a rich edit control
    By rakan in forum Windows Programming
    Replies: 1
    Last Post: 02-18-2008, 07:58 AM
  3. Greenhand want help!
    By leereg in forum C Programming
    Replies: 6
    Last Post: 01-29-2002, 06:04 AM
  4. SSCANF help
    By mattz in forum C Programming
    Replies: 7
    Last Post: 12-10-2001, 04:53 PM
  5. Validating the contents of a char buffer
    By mattz in forum C Programming
    Replies: 3
    Last Post: 12-09-2001, 06:21 PM