f

#### using 'kill -9' can't kill the process

Hi:
On my AIX 4.3.1, I can see some processes with the name "[]", and their
parent process is 1. I using 'kill -9' can't kill them. If they used the
resouse of the pty, then  the pty can't be used. how can I deal with them?

Thanks


 0
cheng
10/14/2003 4:15:46 PM
comp.unix.aix 10963 articles. 1 followers. drkirkby (98) is leader.

3 Replies
1130 Views

Similar Articles

[PageSpeed] 42

cheng wrote:

> Hi:
>   On my AIX 4.3.1, I can see some processes with the name "[]", and their
> parent process is 1. I using 'kill -9' can't kill them. If they used the
> resouse of the pty, then  the pty can't be used. how can I deal with them?

be harvested.  There was likely a fix for this problem, but it's
inclear whether it is available.  4.3.1 is remarkably old.

--
Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
________________________________________________________________________


 0
nospam5818 (273)
10/14/2003 7:12:17 PM
On Tue, 14 Oct 2003 19:12:17 GMT,
Gary R. Hook <nospam@nospammers.net> wrote:

>cheng wrote:
>
>> Hi:
>>   On my AIX 4.3.1, I can see some processes with the name "[]", and their
>> parent process is 1. I using 'kill -9' can't kill them. If they used the
>> resouse of the pty, then  the pty can't be used. how can I deal with them?
>
>be harvested.  There was likely a fix for this problem, but it's
>inclear whether it is available.  4.3.1 is remarkably old.
>

If the parent process is 1 the init process will take care of harvesting
the exit status.  If it doesn't do that then either the process isn't a
zombie (defunct) yet, or the init process got stuck doing something else.

Another posibility is that the process is stuck trying to close devices.
If the device driver puts the process into an uninterruptible sleep, you
can't do anything about it until the device driver wakes up the process
again or you reboot.

Villy

 0
vek (278)
10/15/2003 10:30:09 AM
Villy Kruse wrote:
>
> If the parent process is 1 the init process will take care of harvesting
> the exit status.  If it doesn't do that then either the process isn't a
> zombie (defunct) yet, or the init process got stuck doing something else.

I think that was my point.  It would be a bug.

--
Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
________________________________________________________________________


 0
nospam5818 (273)
10/15/2003 3:34:16 PM

Similar Artilces:

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal''''''''''''''
Hello fellow programmers, I am trying to run an append/update query from code, a command button on a form initiates the queries. the format i am using is; _____________________________________________________ SELECT "criteria" FROM "criteria" WHERE "criteria" UPDATE/APPEND "field selections" RecordSource "qryExample" = above text strings" _______________________________________________________________________ When i am running a SELECT query in this manner it works fine with no problems, and accepts the values of specified linked form fields. This never works when doing an APPEND/UPDATE query. It can never find the values of linked form fields, Access always asks for the parameter value of the field(s) in question, or Access comes up with an error 3323 - No recordset. I am sure there are other people that have had this problem. What is the difference between Select queries and append/update queries? the append/update queries never seem to be able to find values in linked form fields. Can anyone shed any light on this or point to a knowledgebase Item, or even recommend a book focusing on this subject, I will go and buy it now. I have been for up 2 nights trying to acomplish this and now considering suicide, please help. Thanks In advance, Aaron. I know of two ways you can accomplish this. 1. You can create the SQL script for you append or update query and run the script with DoCmd.RunSQL. 2. You can create a...

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal'''''''''''''' #2

'^=' and '~='?
Hello, What is the difference between '^=' and '~='? Thanks, Duckhye ...

'is not' or '!='
A newbie question to you; what is the difference between statements like: if x is not None: and if x != None: Without any context, which one should be preferred? IMHO, the latter is more readable. On 2014-08-18 21:35, ElChino wrote: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: > > Without any context, which one should be preferred? > IMHO, the latter is more readable. > "x == y" tells you whether x and y refer to objects that are equal. "x is y" tells you whether x and y actually refer to the same object. In the case of singletons like None (there's only one None object), it's better to use "is". "ElChino" <elchino@cnn.cn>: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: Do the following: take two \$10 bills. Hold one bill in the left hand, hold the other bill in the right hand. Now, the bill in the left hand "is not" the bill in the right hand. However, the bill in the left hand "==" the bill in the right hand. > Without any context, which one should be preferred? > IMHO, the latter is more readable. In almost all cases, both tests would result in the same behavior. However, the "is not" test is conceptually the correct one since you want...

Removing the letters 't' 'i' 'x' and 'y'
Im having trouble with figuring out how to write a function which will remove the letters 't' 'i' 'x' and 'y' from any input string in matlab. for example modstr(pixy) should result in ans = 'p' or modstr(picture) should result in ans = 'pcure' if anyone could offer any help or hints i would really appreciate it. Thank You >> modstr=@(s) s(~ismember(s,'tixy')) modstr = @(s)s(~ismember(s,'tixy')) >> modstr('picture') ans = pcure % Bruno ...

In replies, using 'To:' as 'From:'

Why use '==' instead of '==='?
I have noticed that there are some on the news group here who prefer the use of '==' when it is known [by the coder] that both sides of the equation are strings. Example from one of David Mark's recent posts: >>if ( typeof selector === "string" ) { > > One equal sign too many, requiring the reader to pause and ponder what > the author's intentions were. Are they ignorant of the fact that the > resultof a typeof operation is a string (as is a string literal). I find it it just the reverse. I know exactly what the authors intent was ...

if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.') Any shorter ?
Hi, there. =20 I'm just curious if it ever dawned on anybody how to abbreviate this line : if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.')=20 =20 Igor Kurbeko Clinical Programmer Analyst 678 336 4328 ikurbeko@atherogenics.com =20 no brain no pain =20 how about: if not (str_mo in ('','.') or str_da in ('','.') or str_yy in ('','.')) OR if not (missing(str_mo) or missing(str_da) or missing(str_yy)) Eric On 22 Oct 03 21:13:37 GMT, ikurbeko@ATHER...

When CANNOT use 'first'/'rest' in place of 'car'/'cdr'?
If I'm not mistaken, 'first' and 'rest' seem like modern user friendly replacements for 'car' and 'cdr'. Is it true that car and cdr are only in Common LISP to be able to run ancient LISP code? Is there any time I cannot use 'first' and 'rest' instead?/ Chris seberino@spawar.navy.mil wrote: > If I'm not mistaken, 'first' and 'rest' seem like modern user friendly > replacements for 'car' and 'cdr'. > > Is it true that car and cdr are only in Common LISP to be able > to run ancient LISP code? I use first and rest whenever those are the only ones I care about (or if I'm actually going to use second, third, etc). However, car and cdr won't be disappearing anytime soon simply because of their combinatory (?) abilities: cadr cddar .... I can just very quickly look at it and know what is going on. Jeff M. -- http://www.retrobyte.org mailto:massung@gmail.com seberino@spawar.navy.mil wrote: > If I'm not mistaken, 'first' and 'rest' seem like modern user friendly > replacements for 'car' and 'cdr'. > > Is it true that car and cdr are only in Common LISP to be able > to run ancient LISP code? > > Is there any time I cannot use 'first' and 'rest' instead?/ > > Chris > There shouldn't be anywhere that you _cannot_ use FIRST rather than CAR or REST rather than CDR. It's m...

can't include 'http...foo.php', but can include 'http...foo.txt'
This seems weird, but when I use the following code, include 'http://www.foo.com/includes.php'; includedfunction(); I am told that it is a call to an undefined function, but 'includedfunction' is on the server. the following includes work fine, and the run the called function with no trouble: include 'http://www.foo.com/includes.phtml'; include 'http://www.foo.com/includes.txt'; all three include.php,.phtml & .txt are on the server and are exactly identical. I am running php version 4.1.1. Anyone have any ideas? In article <768682d0.0308190004.dd35f7c@posting.google.com>, googlegroups@paul13.com (paul13) wrote: > This seems weird, but when I use the following code, > > include 'http://www.foo.com/includes.php'; > > includedfunction(); > > I am told that it is a call to an undefined function, but > 'includedfunction' is on the server. The include statement is include()'ing the _output_ of http://www.foo.com/includes.php, not the contents of the file. To demonstrate thist point, load http://www.foo.com/includes.php in your browser and look for your function definitions. Then load http://www.foo.com/includes.txt. You'll see the difference. hth -- Bulworth : funha@fung.arg | My email address is ROT13 encoded, decode to mail --------------------------|-------------------------------------------------- <http://www.phplabs.com/> | PHP scripts and thousands of webmas...

Unix Command use about 'ls' and 'rm'
Dear Everyone: Who know 1. How to list contents of directory, but only regular files that haven't been accessed in the last 2 days? 2. What utility would be used to delete all files older than 1 year from a directory? Thank for help. best regards, Jacob -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jacob wrote: > Dear Everyone: > > Who know > 1. How to list contents of directory, but only regular files that > haven't been accessed in the last 2 days? > > 2. What utility would be used to delete all files older than 1 year > from a directory? > Thank for help. Hope your exam goes well Answer 1: find Answer 2: find with rm - -- Lew Pitcher, IT Consultant, Enterprise Application Architecture Enterprise Technology Solutions, TD Bank Financial Group (Opinions expressed here are my own, not my employer's) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFAvMy0agVFX4UWr64RAt9YAJ9P6ju584Khp5nLcWxkec9T0ZadvgCgq2pd daMOYsF2dZpQDTmqIeFJoHM= =ssgJ -----END PGP SIGNATURE----- Hi, Check the manual pages for find, ls, xargs and rm... George Lekeas GK wrote... >Date: 1 Jun 2004 11:25:27 -0700 >From: Jacob <yanli5@yahoo.com> >Newsgroups: comp.unix.questions >Subject: Unix Command use about 'ls' and 'rm' > >Dear Everyone: > >Who know >1. How to list contents of directory, but only regular files that >haven't been accessed in the last 2 days? > >2. What u...

Can't cd , can't use wildcard
Hi , I am running Windows 2000 service pack 4.Whenever I try to "cd" into some of the directories(which exist), I get an "Invalid directory". I can use to get into few of the directories(using cd) but for other it just says "Invalid directory". Moreover, I can't use any wildcard characters..(*, ? etc) at all.. Any idea what is wrong? Thanks Arun On Sun, 31 Aug 2003 17:13:52 GMT, Arun Goel <arun.goel@sbcglobal.net> wrote the following to comp.os.msdos.misc: > Hi , > > I am running Windows 2000 service pack 4.Whene...

A function with 'and' , 'not' , 'null' , 'car' and 'cdr'
What's this ? (defun enigma (x) (and (not (null x)) (or (null (car x)) (enigma (cdr x))))) "I suppose I should learn Lisp, but it seems so foreign." - Paul Graham, Nov 1983 On Wed, Oct 07 2015, CAI GENGYANG wrote: > What's this ? > > > (defun enigma (x) > (and (not (null x)) > (or (null (car x)) > (enigma (cdr x))))) Bad taste? It returns T if the list X contains nil as an element. It would be clearer to write (some #'null x). Helmut CAI GENGYANG ...

can I 'group' and 'concat' (instead of 'sum') ?
Hello, I know commands : select number, count(*) from db group by number and : select number, sum(size) from db group by number but is there the same command for the 'concat' function ? Something like : select number, concat(tag) from db group by number If not, how can I do it ? For example, I have a table (number, tag) : (1, 'EX11'), (1, 'EX12'), (2, 'EX21'), (3, 'EX31'), (3, 'EX32'), (3, 'EX33')... I'd like to have a result : (1, 'EX11EX12') (2, 'EX21') (3, 'EX31EX32EX33') How to do ? Thanks. Jean-Claude Unfortunately we can create aggregate functions, you can do this with playing with joins if you want headache or you can create a table function and call it like this select * from table(nicolas.concattags()) as rs; CREATE function NICOLAS.CONCATTAGS() RETURNS TABLE (NUMBER DEC(3, 0), TAGS VARCHAR(100)) LANGUAGE SQL MODIFIES SQL DATA NO EXTERNAL ACTION NOT DETERMINISTIC DISALLOW PARALLEL SET OPTION DBGVIEW = *SOURCE BEGIN DECLARE v_number dec(3, 0); DECLARE w_lastnumber dec(3, 0) default -1; DECLARE v_tag char(10); DECLARE w_tags VARCHAR(100) default ''; DECLARE at_end SMALLINT DEFAULT 0; DECLARE c1 CURSOR FOR select number, tag from nicolas.test; DECLARE CONTINUE HANDLER FOR NOT FOUND SET at_end = 1; DECLARE GLOBAL TEMPORARY TABLE t_TAGS (NUMBER DEC(3, 0), TAGS VARCHAR(100)) WITH REPLACE; ...

error: expected '=', ',', ';', 'asm' or '__attrib
Hi I'm trying to compile an ADC Driver & come acrosss the following error. I've no experience writing drivers before, and hence have no clue how to fix it. Hope someone out there has encountered the problem & suggesst a fix for the same. The Error is I get is : qadc.c: At top level: qadc.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'qadc_read' make: *** [qadc.o] Error 1 [root@localhost qadc]# ########################################################################### ADC Driver Code ##...

error: expected '=', ',', ';', 'asm' or '__attrib
Hi I'm trying to compile an ADC Driver & come acrosss the following error. I've no experience writing drivers before, and hence have no clue how to fix it. Hope someone out there has encountered the problem & suggesst a fix for the same. The Error is I get is : qadc.c: At top level: qadc.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'qadc_read' make: *** [qadc.o] Error 1 [root@localhost qadc]# ########################################################################### ADC Driver Code ########################################################################### #define MODULE #define __KERNEL__ #include <linux/config.h> #include <linux/module.h> #include <linux/kernel.h> /* printk */ #include <linux/fs.h> / #include <linux/errno.h> /* error codes */ #include <linux/types.h> /* size_t */ #include <linux/proc_fs.h> /* proc file system */ #include <linux/fcntl.h> #include <asm/system.h> /* cli, flags */ #include <asm/uaccess.h> /* copy from/to user */ /*Registers to get qadc access*/ volatile unsigned short * qadcmcr = (unsigned short *)0x40190000; volatile unsigned short * qacr0 = (unsigned short *)0x4019000a; volatile unsigned short * qacr1 = (unsigned short *)0x4019000c; volatile unsigned short * qacr2 = (unsigned short *)0x4019000e; volatile unsigned short * qasr0 = (unsigned short *)0x40190010; volatile unsigned short * qasr1...

Difference between 'is' and '=='
Hey guys, this maybe a stupid question, but I can't seem to find the result anywhere online. When is the right time to use 'is' and when should we use '=='? Thanks alot~ mwql: >Hey guys, this maybe a stupid question, but I can't seem to find the >result anywhere online. When is the right time to use 'is' and when >should we use '=='? http://docs.python.org/ref/comparisons.html -- Ren� Pijlman mwql wrote: > Hey guys, this maybe a stupid question, but I can't seem to find the > result anywhere online. When is the right time to ...

why function 'mesh' can't be used when array is large
when the array length exceeds 20,function 'mesh' can't plot the array. Mesh function requires a 2-d array. I usually use mesh function to plot array 2048 X 2048. liw wrote: > when the array length exceeds 20,function 'mesh' can't plot the array. I suspect you're running into an issue with OpenGL. Read this: http://www.mathworks.com/support/tech-notes/1200/1201.shtml -- Steve Lord slord@mathworks.com Steven Lord wrote: > > > liw wrote: >> when the array length exceeds 20,function 'mesh' can't plot the > array. > > I...

logical to 'on' / 'off'
Hi, is there a function implemented doing this conversion? my Problem is, that I want to use the following code: set(handles.edit_curr_trq_sl,'Enable',get(hObject,'Value')) where get(hObject,'Value') gives the state of a checkbox thank you! function [str]=tf2oo(logic) switch logic case 0 str='off'; case 1 str='on'; end%switch end%function tf2oo() while i do not know a built in function, I use my own:) meisterbartsch wrote: > > > function [str]=tf2oo(logic) > switch logic > case 0 > str='off'; &g...

Does '!=' equivelent to 'is not'
I'm a bit confusing about whether "is not" equivelent to "!=" if a != b: ... if a is not b: ... What's the difference between "is not" and "!=" or they are the same thing? pirata wrote: > I'm a bit confusing about whether "is not" equivelent to "!=" > > if a != b: > ... > > if a is not b: > ... > > > What's the difference between "is not" and "!=" or they are the same thing? No, they are not the same thing. == and != test to see if the *value* of two variables are the same. Like so: >>> a = 'hello world' >>> b = 'hello world' >>> a == b True a and b both have the value of 'hello world', so they are equal is and is not, however, do not test for value equivalence, they test for object identity. In other words, they test to see if the object the two variables reference are the same object in memory, like so: >>> a is b False a and b are assigned to two different objects that happen to have the same value, but nevertheless there are two separate 'hello world' objects in memory, and therefore you cannot say that a *is* b Now look at this: >>> c = d = 'hello world' >>> c == d True >>> c is d True In this case, they are again the same value, but now the is test also shows that they are the same *object* as well, because...

can't use 'theta' as a variable in symbolic expression
Hi, This statement radius_eqn = sym('r = a*(1-e^2)/(1+e*cos(theta))'); produces this error message: ??? Error using ==> sym.sym>expression2ref at 2408 Error: argument must be of type 'Type::Arithmetical' [cos] Error in ==> sym.sym>char2ref at 2378 s = expression2ref(x); Error in ==> sym.sym>tomupad at 2147 S = char2ref(x); Error in ==> sym.sym>sym.sym at 102 S.s = tomupad(x,''); whereas radius_eqn = sym('r = a*(1-e^2)/(1+e*cos(t))'); works fine (but is less readable). F...

difference between ',' and 'a,'
Small question. In gforth is there a difference between the words ',' and 'a,'? I'm thinking not, so perhaps another question, why have both ',' and 'a,'? Thanks Should be the same, in gforth: see , : , here cell allot ! ; ok see a, : , here cell allot ! ; ok On Friday, January 9, 2015 at 5:46:04 AM UTC-8, beeflo wrote: > Small question. In gforth is there a difference between the words ',' and 'a,'? > > I'm thinking not, so perhaps another question, why have both ',' and 'a,'? > > Thanks beeflo <beeflobill@gmail.com> writes: >Small question. In gforth is there a difference between the words ',' and 'a,'? > >I'm thinking not, so perhaps another question, why have both ',' and 'a,'? In Gforth itself, there is no difference. In Gforth's cross compiler, "a," is there for addresses, and "," is there for other cells; addresses can then be relocated when loading the image. - anton -- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: http://www.forth200x.org/forth200x.html EuroForth 2014: http://www.euroforth.org/ef14/ ...

replacement for '{' and '}' ?
I am still playing around with what kind of syntax I would like to mark up my documents. Are there equivalent long substitutes for { and } when they are not used to describe arguments to functions? Something like \begin{group} and \end{group}. In other words, if I could force myself to write, say, \begin{group} \it ... \end{group} instead of {\it ... }, then I believe I could identify from the markup context what is an argument that belongs to a just invoked macro and what is text. {Of course, in this context, \textit{...} would be better.} No more ambiguity whether a in \myfunction{a} is an argument or just text. Is there a way to make latex barf when it sees an ordinary '{' in text, rather than \begin{group}, but not barf when I want it (to denote macro arguments)? Regards, /iaw On Aug 16, 6:01=A0pm, "ivo...@gmail.com" <ivo...@gmail.com> wrote: > Is there a way to make latex barf when it sees an ordinary '{' in > text, rather than \begin{group}, but not barf when I want it (to > denote macro arguments)? What do you mean exactly? I don't understand. Do you have in mind your- to-be-new-syntax or just regular latex? Cheers, Tomek ivowel@gmail.com wrote: > I am still playing around with what kind of syntax I would like to > mark up my documents. > > Are there equivalent long substitutes for { and } when they are not > used to describe arguments to functions? Something like \begin{group} > and \end{gr...

Override 'and' and 'or'
Is it possible to override 'and' and/or 'or'? I cannot find a special method for it... __and__ and __rand__ and __or__ and __ror__ are for binary manipulation... any proposals? Have marvelous sunday, Marco Dekker <m.aschwanden@gmail.com> wrote: > Is it possible to override 'and' and/or 'or'? I cannot find a special > method for it... __and__ and __rand__ and __or__ and __ror__ are for > binary manipulation... any proposals? If you want to customize the truth value testing you have to implement __nonzero__ " __nonzero__( self) Call...

'kill' does not reclaim the process' resources, causes memory leak
This is my problem on a number of systems (including embedded): I have to run arbitrary binary programs, killing each "from outside". This is done for a few hundred times, under speed measurements. It seems that each 'kill'/'killall' causes the system to leak memory. Thus, the system slows down and speed measurements degrade. Did somebody encounter such or similar problem? Any solution? Is there some trick to kill a process and reclaim all its resources? guybas@yahoo.com wrote: > > This is my problem on a number of systems (including embedded): > > I have to run arbitrary binary programs, killing each "from outside". > This is done for a few hundred times, under speed measurements. > > It seems that each 'kill'/'killall' causes the system to leak memory. > Thus, the system slows down and speed measurements degrade. > > Did somebody encounter such or similar problem? Any solution? > Is there some trick to kill a process and reclaim all its resources? > What is happening to the process when you kill it? Does it remain in the process list as a zombie? Is its parent cleaning up after it? What is its parent? If you could show or tell more about it, that'd be helpful. - Mike Michael Trausch wrote: > guybas@yahoo.com wrote: > >>This is my problem on a number of systems (including embedded): >> >>I have to run arbitrary binary programs, killing each &q...

Web resources about - using 'kill -9' can't kill the process - comp.unix.aix

Resources last updated: 3/27/2016 12:12:28 AM