Sponsored Content
Top Forums Programming kill(0,-9) don't kill the process Post 302122062 by ilko_partizan on Tuesday 19th of June 2007 03:57:54 AM
Old 06-19-2007
You can get a error in string format from your programme with function 'strerror'.
This is part of code you needed:

Code:
#include <errno.h>
#include <stdio.h>

fprintf(stderr, "Error: %s\n", strerror(errno));

This man page describes 'errno'.
http://www.freebsd.org/cgi/man.cgi?q...SE&format=html

This man page describes 'strerror'.
http://www.freebsd.org/cgi/man.cgi?q...SE&format=html

Best regards,
Iliyan Varshilov

Last edited by ilko_partizan; 06-19-2007 at 05:07 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

When kill doesnt work, how to kill a process ?

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. Shell Programming and Scripting

how to start a process and make it sleep for 5 mins and then kill that process

how to start a process and make it sleep for 5 mins and then kill that process (6 Replies)
Discussion started by: shrao
6 Replies

3. Shell Programming and Scripting

Kill a process without using kill command

Sorry, posted the question in other forum. (0 Replies)
Discussion started by: sudhamacs
0 Replies

4. Linux

Kill a process without using kill command

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

5. Shell Programming and Scripting

Shell Script to Kill Process(number of process) Unix/Solaris

Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies

6. UNIX for Dummies Questions & Answers

Script to start background process and then kill process

What I need to learn is how to use a script that launches background processes, and then kills those processes as needed. The script successfully launches the script. But how do I check to see if the job exists before I kill it? I know my problem is mostly failure to understand parameter... (4 Replies)
Discussion started by: holocene
4 Replies

7. Windows & DOS: Issues & Discussions

Kill a process

Hi, How can I terminate process using vbscript. PLEASE NOTE, I need to terminate process that runs under windows 64-bit environment as native 64 (not using select * from win_32_Process) (3 Replies)
Discussion started by: cratercrabs
3 Replies

8. Solaris

Cannot kill a process with kill -9

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

Kill an specific process ID using the KILL and GREP commands

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. Shell Programming and Scripting

Why don't kill the script after 5s?

# watchdog process mainpid=$$ (sleep 5; kill $mainpid) & watchdogpid=$! sleep 100 kill $watchdogpid The sleep isn't be killed, I want the script to be killed ---------- Post updated at 03:03 AM ---------- Previous update was at 12:04 AM ---------- I just modify the format of my... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
DACS_GROUP(8)						     DACS Web Services Manual						     DACS_GROUP(8)

NAME
dacs_group - DACS group administration SYNOPSIS
dacs_group [dacsoptions[1]] DESCRIPTION
This web service is part of the DACS suite. The dacs_group web service displays DACS group definitions and membership and performs administrative functions on them. Note This web service may eventually be replaced by the dacs_admin(8)[2] web service. Web Service Arguments Besides the standard CGI arguments[3], dacs_group understands the following CGI arguments: OPERATION This argument is required and selects one of the following functions. Additional arguments, if any, are function-dependent. o SHOW_GROUP_MEMBERSHIP Arguments: GROUP_NAME, JURISDICTION (optional) o LIST_GROUPS Arguments: JURISDICTION o SHOW_GROUP_DEFINITION Arguments: GROUP_NAME, JURISDICTION (optional) o SHOW_ROLES Display the roles associated with the caller. o TEST_GROUP_MEMBERSHIP Test whether the caller is in the group specified by GROUP. o LIST_GROUP_MEMBERSHIP Show which groups user MEMBER_NAME belongs to, as known by the receiving jurisdiction. MATCH_JURISDICTION (optional) can be set to limit testing to those groups defined by the given jurisdiction. MATCH_GROUP_NAME (optional) can be set to a regular expressions, applied to each known group name from any jurisdiction, to limit testing to those groups that match the given regex. o CREATE_GROUP Arguments: GROUP_NAME, GROUP_TYPE o DELETE_GROUP Arguments: GROUP_NAME, MEMBER_NAME o ADD_GROUP_MEMBER Arguments: GROUP_NAME, MEMBER_NAME, MEMBER_TYPE, DACS o DELETE_GROUP_MEMBER Arguments: GROUP_NAME, MEMBER_NAME o PURGE_GROUP Delete the specified cached group definition. JURISDICTION, GROUP_NAME o CHANGE_GROUP_DEFINITION Arguments: GROUP_NAME, NEW_GROUP_NAME o RECEIVE_GROUP_DEFINITION The jurisdiction receiving the request is being asked to cache one or more group definitions, passed as a groups element (groups.dtd[4]) that is the value of GROUPS. o SEND_GROUP_DEFINITION Reply with one or more group definitions (master or cached copies). GROUP_NAME_LIST is a comma-separated list of group names. o APPLY_DELTAS DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred. SEE ALSO
dacs(1)[5], dacs.groups(5)[6], regex(3)[7] AUTHOR
Distributed Systems Software (www.dss.ca[8]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[9] file that accompanies the distribution for licensing information. NOTES
1. dacsoptions http://dacs.dss.ca/man/dacs.1.html#dacsoptions 2. dacs_admin(8) http://dacs.dss.ca/man/dacs_admin.8.html 3. standard CGI arguments http://dacs.dss.ca/man/dacs.services.8.html#standard_cgi_args 4. groups.dtd http://dacs.dss.ca/man/../dtd-xsd/groups.dtd 5. dacs(1) http://dacs.dss.ca/man/dacs.1.html 6. dacs.groups(5) http://dacs.dss.ca/man/dacs.groups.5.html 7. regex(3) http://www.freebsd.org/cgi/man.cgi?query=regex&apropos=0&sektion=3&manpath=FreeBSD+9.0-RELEASE&format=html 8. www.dss.ca http://www.dss.ca 9. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACS_GROUP(8)
All times are GMT -4. The time now is 01:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy