home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10396 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  2.1 KB

  1. Xref: sparky comp.unix.questions:10396 comp.unix.internals:1749 comp.unix.admin:4689 comp.unix.misc:3371 comp.unix.wizards:3694
  2. Path: sparky!uunet!mcsun!sun4nl!orcenl!jhelberg
  3. From: jhelberg@nl.oracle.com (Joost Helberg)
  4. Newsgroups: comp.unix.questions,comp.unix.internals,comp.unix.admin,comp.unix.misc,comp.unix.wizards
  5. Subject: Re: Questions About Unix
  6. Message-ID: <2749@nlsun1.oracle.nl>
  7. Date: 26 Aug 92 11:40:22 GMT
  8. References: <37090@sdcc12.ucsd.edu>
  9. Followup-To: comp.unix.questions
  10. Organization: Oracle Europe
  11. Lines: 43
  12. X-Newsreader: Tin 1.1 PL3
  13.  
  14. X-Disclaimer: This message was written by an unauthenticated user
  15.               at Oracle Corporation.  The opinions expressed are those
  16.               of the user and not necessarily those of Oracle.
  17.  
  18. bsuresh@cs.ucsd.edu (Suresh Bollapragada) writes:
  19. : Hi,
  20. :  I have a couple of questions about Unix. 
  21. : 1. can a program crash the processor on which it is running ? if so how?.
  22.  
  23. No, it shouldn't be capable to do so. You might try generating a lot of
  24. signals (preferably recursive) to let the kernel-stack of the process grow,
  25. this crashes some machines.
  26.  
  27. : 2. the machines (sunSparcs) in my lab are connected through an ethernet cable.
  28. :    how can i simulate a break in the cable on a machine. what i mean is  the
  29. :    machine whose cable is broken (simulated to be) should not be able to
  30. :    communicate with the rest of the world. 
  31.  
  32. ifconfig <ethernet interface> down
  33. ethernet interface is something like 'le0'.
  34. try netstat -i to get some names.
  35.  
  36. : i am writing an application in which i need to simulate both 1 and 2. i would
  37. : appreciate if any of you could answer these.
  38.  
  39. 1) try your best
  40. 2) there are ioctl's to do that, however it is not 'simulating'!
  41.  
  42. : please send ur replies to bsuresh@cs.ucsd.edu
  43. maybe this is of general interest?
  44.  
  45. --  
  46.    Joost Helberg                                Rijnzathe 6
  47.    jhelberg@oracle.nl                           NL-3454 PV De Meern
  48.    jhelberg@nl.oracle.com                       The Netherlands
  49.  
  50.    Oracle Europe BV                             Product Line Development    
  51.    Phone: +31 3406 94211                        Fax:   +31 3406 65609
  52.