Sponsored Content
Top Forums Shell Programming and Scripting Kill all processes belonging to one user Post 302345323 by narayanv on Wednesday 19th of August 2009 02:00:59 AM
Old 08-19-2009
Thanks for the reply.But is it possible that I can get the output and run it?As I'm working as a dba this may not be always feasible.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

kill all processes

i have a very short file that has in it a line for a find command. now, when i run this script and I kill the script later, using the ps -ef | grep scriptname. i noticed kill -9 kills the script itself but does not kill the internal find command that it gave birth to. say theres a file... (0 Replies)
Discussion started by: Terrible
0 Replies

2. Solaris

how do I kill defunct processes?

mqm 17700 16815 0 0:00 <defunct> kill -9 does not work, even as root (10 Replies)
Discussion started by: csaunders
10 Replies

3. Solaris

kill processes

how to kill the processes of aperticular user? because i have nearly 25000 process are there for perticular user. i need to kill. Please provide the information? Regards, Rajesh (3 Replies)
Discussion started by: pmrajesh21
3 Replies

4. HP-UX

Read/kill processes

Hi, I read a set of processes with: ps -eaf|grep oracleTRLV The result is: oracle 23253 1 0 15:14:11 ? 0:00 oracleTRLV (LOCAL=NO) oracle 23301 1 0 15:15:07 ? 0:00 oracleTRLV (LOCAL=NO) oracle 22914 1 0 15:11:19 ? 0:00 oracleTRLV (LOCAL=NO) How to I kill the "oracleTRLV" ones? Is there... (17 Replies)
Discussion started by: NicoMan
17 Replies

5. Solaris

kill the processes seen under ptree

Hi, How to kill the processes running under ptree ? I am noticing lot of processes running under ptree with ssh ? I tried to kill with -9 option which is not working ? Thanks, Radhika. (2 Replies)
Discussion started by: radhirk
2 Replies

6. UNIX for Dummies Questions & Answers

Need help to kill parent and all of its sub processes

Hi, I am writing korn shell script. My requirement is, i have to kill the parent process and all of its child processes. Can some one please help me on this? Thanks in advance for your help.. (1 Reply)
Discussion started by: Sheethal
1 Replies

7. Shell Programming and Scripting

Kill processes

for i in 'ps -f | grep textedit' do kill $i done I wrote this but it wont work. I am trying to find processes and kill them. Any help would be welcome. (1 Reply)
Discussion started by: hawaiifiver
1 Replies

8. Shell Programming and Scripting

kill all user processes

Hi there, i've been searching all over and i thought i had understood the way i should go to kill all the processes related to a user. But i'm getting more confused then i was. By lunch time i have to make a database backup, and for that all the users shoul logout. The problem is that many users... (4 Replies)
Discussion started by: vascobrito
4 Replies

9. AIX

How to find out and kill all processes for a user?

Hi! We are using AIX 5.3. Can anyone please guide me to find out all the running processes for a specific user, say ' admin' and also kill them by force. Thanks! atech (9 Replies)
Discussion started by: atechcorp
9 Replies

10. UNIX for Advanced & Expert Users

Kill a list of processes

I am trying to kill a list of processes. I have found these two ways to list a group of process id's on a single line. How would I go about killing all of these processes all on one line? $ ps aux | grep 6243 | grep "a.out" | awk '{printf "%s ",$2}'ps aux | grep 6243 | grep "a.out" | awk... (8 Replies)
Discussion started by: cokedude
8 Replies
xcb_randr_get_output_info(3)					   XCB Requests 				      xcb_randr_get_output_info(3)

NAME
xcb_randr_get_output_info - SYNOPSIS
#include <xcb/randr.h> Request function xcb_randr_get_output_info_cookie_t xcb_randr_get_output_info(xcb_connection_t *conn, xcb_randr_output_t output, xcb_timestamp_t config_timestamp); Reply datastructure typedef struct xcb_randr_get_output_info_reply_t { uint8_t response_type; uint8_t status; uint16_t sequence; uint32_t length; xcb_timestamp_t timestamp; xcb_randr_crtc_t crtc; uint32_t mm_width; uint32_t mm_height; uint8_t connection; uint8_t subpixel_order; uint16_t num_crtcs; uint16_t num_modes; uint16_t num_preferred; uint16_t num_clones; uint16_t name_len; } xcb_randr_get_output_info_reply_t; Reply function xcb_randr_get_output_info_reply_t *xcb_randr_get_output_info_reply(xcb_connection_t *conn, xcb_randr_get_output_info_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_randr_crtc_t *xcb_randr_get_output_info_crtcs(const xcb_randr_get_output_info_request_t *reply); int xcb_randr_get_output_info_crtcs_length(const xcb_randr_get_output_info_reply_t *reply); xcb_generic_iterator_t xcb_randr_get_output_info_crtcs_end(const xcb_randr_get_output_info_reply_t *reply); xcb_randr_mode_t *xcb_randr_get_output_info_modes(const xcb_randr_get_output_info_request_t *reply); int xcb_randr_get_output_info_modes_length(const xcb_randr_get_output_info_reply_t *reply); xcb_generic_iterator_t xcb_randr_get_output_info_modes_end(const xcb_randr_get_output_info_reply_t *reply); xcb_randr_output_t *xcb_randr_get_output_info_clones(const xcb_randr_get_output_info_request_t *reply); int xcb_randr_get_output_info_clones_length(const xcb_randr_get_output_info_reply_t *reply); xcb_generic_iterator_t xcb_randr_get_output_info_clones_end(const xcb_randr_get_output_info_reply_t *reply); uint8_t *xcb_randr_get_output_info_name(const xcb_randr_get_output_info_request_t *reply); int xcb_randr_get_output_info_name_length(const xcb_randr_get_output_info_reply_t *reply); xcb_generic_iterator_t xcb_randr_get_output_info_name_end(const xcb_randr_get_output_info_reply_t *reply); REQUEST ARGUMENTS
conn The XCB connection to X11. output TODO: NOT YET DOCUMENTED. config_timestamp TODO: NOT YET DOCUMENTED. REPLY FIELDS
response_type The type of this reply, in this case XCB_RANDR_GET_OUTPUT_INFO. This field is also present in the xcb_generic_reply_t and can be used to tell replies apart from each other. sequence The sequence number of the last request processed by the X11 server. length The length of the reply, in words (a word is 4 bytes). status TODO: NOT YET DOCUMENTED. timestamp TODO: NOT YET DOCUMENTED. crtc TODO: NOT YET DOCUMENTED. mm_width TODO: NOT YET DOCUMENTED. mm_height TODO: NOT YET DOCUMENTED. connection TODO: NOT YET DOCUMENTED. subpixel_order TODO: NOT YET DOCUMENTED. num_crtcs TODO: NOT YET DOCUMENTED. num_modes TODO: NOT YET DOCUMENTED. num_preferred TODO: NOT YET DOCUMENTED. num_clones TODO: NOT YET DOCUMENTED. name_len TODO: NOT YET DOCUMENTED. DESCRIPTION
RETURN VALUE
Returns an xcb_randr_get_output_info_cookie_t. Errors have to be handled when calling the reply function xcb_randr_get_output_info_reply. If you want to handle errors in the event loop instead, use xcb_randr_get_output_info_unchecked. See xcb-requests(3) for details. ERRORS
This request does never generate any errors. SEE ALSO
AUTHOR
Generated from randr.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_randr_get_output_info(3)
All times are GMT -4. The time now is 06:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy