Sponsored Content
Top Forums Shell Programming and Scripting Script to Send Email to a user when an admin kills process Post 302552312 by psshah on Friday 2nd of September 2011 10:33:35 AM
Old 09-02-2011
Yes, it is possible.
But, I am afraid, no one has enough time to write down a script for you.
Why don't you try out by yourself and reply back if you face any issue?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Send email to user when condition met

Hi all, I plan to write a shell script to inform users on their task when certain condition met. example: If a then email user on action a else email user on action b. I'm pretty new in scripting, appreciate any suggestions. Thanks. (4 Replies)
Discussion started by: *Jess*
4 Replies

2. Shell Programming and Scripting

How to get rid of message when script kills process it started?

When I run the following script I get the following error message whcih I would like to suppress when the kill is issued: ./kill.sh: line 13: 31854 Killed nc -l -p 12345 Script: #!/bin/bash echo running nc in the background nc -l -p 12345 & PID=$! echo nc pid: $PID ... (1 Reply)
Discussion started by: cmarkle
1 Replies

3. UNIX for Advanced & Expert Users

Send email as a different user than the user logged in

Hi I am using mailx to send email and am wondering if there is a way I can send the email from a different user than the user logged in. something like do-not-reply@xyz.com Thank you. (1 Reply)
Discussion started by: rakeshou
1 Replies

4. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

5. Shell Programming and Scripting

Write a scripts to kill idle user for 60 min. & email user list to admin in text file

Folks, I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3) List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
Discussion started by: sumit30
4 Replies

6. Red Hat

Postfix - want to send email to some non-existent user using alias

Hi, I know how to use email redirection using /etc/aliases file + postfix combination and it is working fine for existing users. The question I have is: I want to send an email to tony@server1.example.com while tony user is actually not there. Rather, I want to redirect that email to... (0 Replies)
Discussion started by: freebird8z
0 Replies

7. Shell Programming and Scripting

Send one email per user

I created a bash script that gets a file formats it, sends an email to the user(s), however, for whatever reason, it will send an email per line with all of the lines in it, so essentially the user will get 10 duplicate emails with the same 10 results. I've modified the script to put the results of... (2 Replies)
Discussion started by: hotdang
2 Replies

8. Red Hat

Problem with Script to email Admin users with expired passwords writed byygemici

Hi, I have problem with a script, it was working for 6 month and suddenly I started getting strange expire times example: # chage -l wXXp Last password change : Oct 28, 2014 Password expires : Nov 27, 2014 Password... (3 Replies)
Discussion started by: redmansas
3 Replies

9. Shell Programming and Scripting

Automated script once user send email to UNIX server

is there any possibility to trigger a script. once the user send email to the unix server box with specific subject line. My script will search for the specific word in the unix email and run the shell script if the specific keyword is sent in the email to the unix email box. so that it can... (3 Replies)
Discussion started by: ramkumar15
3 Replies

10. Shell Programming and Scripting

Script to send email if Java process was done

Hi Team, I need script to send notification if java process was down. Can you please help on this. Thanks in adance. Regards, Nagesh (1 Reply)
Discussion started by: Nageswara Reddy
1 Replies
xcb_glx_get_materialfv(3)					   XCB Requests 					 xcb_glx_get_materialfv(3)

NAME
xcb_glx_get_materialfv - SYNOPSIS
#include <xcb/glx.h> Request function xcb_glx_get_materialfv_cookie_t xcb_glx_get_materialfv(xcb_connection_t *conn, xcb_glx_context_tag_t context_tag, uint32_t face, uint32_t pname); Reply datastructure typedef struct xcb_glx_get_materialfv_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint8_t pad1[4]; uint32_t n; xcb_glx_float32_t datum; uint8_t pad2[12]; } xcb_glx_get_materialfv_reply_t; Reply function xcb_glx_get_materialfv_reply_t *xcb_glx_get_materialfv_reply(xcb_connection_t *conn, xcb_glx_get_materialfv_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_glx_float32_t *xcb_glx_get_materialfv_data(const xcb_glx_get_materialfv_request_t *reply); int xcb_glx_get_materialfv_data_length(const xcb_glx_get_materialfv_reply_t *reply); xcb_generic_iterator_t xcb_glx_get_materialfv_data_end(const xcb_glx_get_materialfv_reply_t *reply); REQUEST ARGUMENTS
conn The XCB connection to X11. context_tag TODO: NOT YET DOCUMENTED. face TODO: NOT YET DOCUMENTED. pname TODO: NOT YET DOCUMENTED. REPLY FIELDS
response_type The type of this reply, in this case XCB_GLX_GET_MATERIALFV. 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). n TODO: NOT YET DOCUMENTED. datum TODO: NOT YET DOCUMENTED. DESCRIPTION
RETURN VALUE
Returns an xcb_glx_get_materialfv_cookie_t. Errors have to be handled when calling the reply function xcb_glx_get_materialfv_reply. If you want to handle errors in the event loop instead, use xcb_glx_get_materialfv_unchecked. See xcb-requests(3) for details. ERRORS
This request does never generate any errors. SEE ALSO
AUTHOR
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_glx_get_materialfv(3)
All times are GMT -4. The time now is 10:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy