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