I have automated some checks - and I want to send a email when there is an issue.
This is fine and I can send the email.
However - I want to generate the email in html format so I can highlight any issues to a reader..
ie. If there is a disk space issue - then the email will highlight the... (2 Replies)
Hi,
I have a UNIX script which calls SQL Select statement:
Now i want to use the output of that select statement within my UNIX script so as to call different shell script depending upon the output of the select statement.
Can anyone help me in this regard.
TIA
Akhil Goel (4 Replies)
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
I am pretty new to Unix shell scripting, but wondered if anyone could help (in layman's terms if possible!!) :)
I have a shell script which ultimately sends an alert to an email address if part of a batch of programs fails. Here's the script that sends the email:
Script: 6check.csh... (8 Replies)
Dear Friends,
I am working on IBM AIX. I have written one script and kept in the crontab as to run daily at 11:38 AM. and the output of the script to be appended to the file generated with the month name. but my file deleting daily and the new file is creating with the output of the shell... (2 Replies)
Hi
i have a script which executes daily through cron. The output of the script is appended to a log file everyday
It also emails me the output of the logfile as we have the mailx command in the script
The below is my requirement :
Normally When I get the email it sends the entire content... (3 Replies)
Hi,
I need to connect to the database and retrieve two variables from the database and store them in a variable,out of these two variables I need to get lastdigit appended to the variable 1 retrieved and variable 2 with out any modification
in short
select var,data from usage;
o/p=... (1 Reply)
Hi,
I've a list of files
ac_info.tps, subscription_array.tps, .......and many other files
one of the file, bin_range_list.tps has the following content
CREATE OR REPLACE TYPE "BIN_RANGE_LIST" AS TABLE OF BIN_RANGE_ELEM;
/
grant execute on... (4 Replies)
HI,
I want to connect to database and fetch the count from a table.
The sql query is as below :
select count(*) from table_test where test_column='read';
How can I print the output of this statement using shell script.
Thanks in advance. (4 Replies)
cd /opt/et/WAS/apps/8.0
find . -name "HostIntegration.properties" -o -name "HostSocket.properties" -o -name "environment.properties" 2> /dev/null | awk -F '' '{print $4}'|awk '!x++' | cat>/home/cbadmin/file1.txt
cd /home/cbadmin/
PS3='Please enter a number from list of applications==>:'
select... (3 Replies)
Discussion started by: bhas85
3 Replies
LEARN ABOUT DEBIAN
cgrulesengd
CGRULESENGD(8) libcgroup Manual CGRULESENGD(8)NAME
cgrulesengd - control group rules daemon
SYNOPSIS
cgrulesengd [options]
DESCRIPTION
cgrulesengd is a daemon, which distributes processes to control groups. When any process changes its effective UID or GID, cgrulesengd
inspects the list of rules loaded from the cgrules.conf file and moves the process to the appropriate control group.
The list of rules is read during the daemon startup is are cached in the daemon's memory. The daemon reloads the list of rules when it
receives SIGUSR2 signal.
The daemon opens a standard unix socket to receive 'sticky' requests from cgexec.
OPTIONS
-h|--help
Display help.
-f <path>|--logfile=<path>
Write log messages to the given log file. When '-' is used as <path>, log messages are written to the standard output. If '-f' and
'-s' are used together, the logs are sent to both destinations.
-s[facility]|--syslog=[facility]
Write log messages to syslog. The default facility is DAEMON. If '-f' and '-s' are used together, the logs are sent to both destina-
tions.
-n|--nodaemon
Don't fork the daemon, stay in the foreground.
-v|--verbose
Display more log messages. This option can be used twice to enable more verbose log messages.
-q|--quiet
Display less log messages. This option can be used twice to enable even less log messages and to only log errors.
-Q|--nolog
Disable logging.
-d|--debug
Equivalent to '-nvvf -', i.e. don't fork the daemon, display all log messages and write them to the standard output.
-u <user>|--socket-user=<user>
-g <group>|--socket-group=<group> Set the owner of cgrulesengd socket. Assumes that cgexec runs with proper suid permissions so it
can write to the socket when cgexec --sticky is used.
FILES
/etc/cgrules.conf
the default libcgroup configuration file
SEE ALSO
cgrules.conf (5)
Linux 2009-02-18 CGRULESENGD(8)