07-02-2005
Re: Automatic Kill -help
Hi,
here is the output
SCO_SV new 3.2 5.0.6 i386
Thanks
![Wink Smilie](https://www.unix.com/images/smilies/wink.gif)
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages.
How can i terminate this daemon ? ? ?
Regards,
Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies
2. UNIX for Dummies Questions & Answers
Hello everyone
I am using HP Ux and had run a find command. Now I am trying to kill it with kill or kill -9 but it is not getting killed and still running. Any clues ?
Thanks
Sidhu (5 Replies)
Discussion started by: Amardeep
5 Replies
3. Programming
Hi all
i have simple c program , when i wish to kill the app
im using kill(0,-9) , but it seams this command don't do any thing and the program.
just ignore it .
what im doing wrong here ?
im using HP-UX ia64
Thanks (9 Replies)
Discussion started by: umen
9 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have a process with say pid x. What is the difference b/n
kill x and kill -9 x in unix
Thanks
Ammu (2 Replies)
Discussion started by: ammu
2 Replies
5. Shell Programming and Scripting
Sorry, posted the question in other forum. (0 Replies)
Discussion started by: sudhamacs
0 Replies
6. Linux
I want to Kill a process without using kill command as i don't have privileges to kill the process. I know the pid and i am using Linux 2.6.9 OS. (6 Replies)
Discussion started by: sudhamacs
6 Replies
7. Shell Programming and Scripting
HI,
I'm using CentOS 5.1 x86_64, CPanel ..
a lot of my users used too much resource, i want to write a script to kill all of them.
Eg: LFD always notify me:
Time: Sun Apr 27 07:40:08 2008
Account: xxxx (my user)
Resource: Virtual Memory Size
Exceeded: 110 > 100 (MB)... (3 Replies)
Discussion started by: onisoc
3 Replies
8. Solaris
Hello everyone,
I have a process that I want to kill. I have tried kill-9 PID but it doesn't work. I have tried preap PID but it doesn't work too.
The parent of my process is the process whose PID is 1, so I can't kill it.
My OS is a Solaris 9.
Can anyone help me understand what's going... (3 Replies)
Discussion started by: adilyos
3 Replies
9. Shell Programming and Scripting
Good afternoon
I need to KILL a process in a single command sentence, for example:
kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'`
That sentence Kills the process ID corresponding to the program CAL255.4ge.
However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies
10. HP-UX
Hi All,
One of our servers stopped responding , unable to take any logins into it, the response is almost nil...later it resumed
Also during this time one of our application processes which was costly on memory got killed..is it an OOM kill?
Would like to know to know how to avoid such... (4 Replies)
Discussion started by: baanprog
4 Replies
LEARN ABOUT NETBSD
i386_get_ldt
I386_GET_LDT(2) BSD/i386 System Calls Manual I386_GET_LDT(2)
NAME
i386_get_ldt, i386_set_ldt -- manage i386 per-process Local Descriptor Table entries
LIBRARY
i386 Architecture Library (libi386, -li386)
SYNOPSIS
#include <sys/types.h>
#include <machine/segments.h>
#include <machine/sysarch.h>
int
i386_get_ldt(int start_sel, union descriptor *descs, int num_sels);
int
i386_set_ldt(int start_sel, union descriptor *descs, int num_sels);
DESCRIPTION
i386_get_ldt() will return the list of i386 descriptors that the process has in its LDT. i386_set_ldt() will set a list of i386 descriptors
for the current process in its LDT. Both routines accept a starting selector number start_sel , an array of memory that will contain the
descriptors to be set or returned descs , and the number of entries to set or return num_sels.
The argument descs can be either segment_descriptor or gate_descriptor and are defined in <i386/segments.h> .
These structures are defined by the architecture as disjoint bit-fields, so care must be taken in constructing them.
RETURN VALUES
Upon successful completion, i386_get_ldt() returns the number of descriptors currently in the LDT. i386_set_ldt() returns the first selector
set. Otherwise, a value of -1 is returned and the global variable errno is set to indicate the error.
ERRORS
i386_get_ldt() and i386_set_ldt() will fail if:
[EINVAL] An inappropriate parameter was used for start_sel or num_sels.
[EACCES] The caller attempted to use a descriptor that would circumvent protection or cause a failure.
REFERENCES
i386 Microprocessor Programmer's Reference Manual, Intel
WARNING
You can really hose your process using this.
BSD
September 20, 1993 BSD