[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ssic-linux-devel
Subject:    [SSI-devel] A way to hang a process (and subsequent ps, top, etc.)
From:       "Walker, Bruce J" <bruce.walker () hp ! com>
Date:       2004-08-17 21:45:58
Message-ID: 3689AF909D816446BA505D21F1461AE4C7512B () cacexc04 ! americas ! cpqcorp ! net
[Download RAW message or body]

From the shell,=20
Cd /proc/$$
Echo 2 >goto

Note it seems to work find to echo 2 >/proc/$$/goto
But if you do the cd first, hang.

Bruce


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>A way to hang a process (and subsequent ps, top, etc.)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">From the shell, </FONT>

<BR><FONT SIZE=2 FACE="Arial">Cd /proc/$$</FONT>

<BR><FONT SIZE=2 FACE="Arial">Echo 2 &gt;goto</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Note it seems to work find to echo 2 &gt;/proc/$$/goto</FONT>

<BR><FONT SIZE=2 FACE="Arial">But if you do the cd first, hang.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Bruce</FONT>
</P>

</BODY>
</HTML>
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
ssic-linux-devel mailing list
ssic-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ssic-linux-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic