This coordinates three scripts 1.sh, 2.sh, 3.sh the way you describe
This runs 1.sh, then runs 2.sh and 3.sh at the same time and waits until they both finish.
Can we run a script in nohup which calls another script in nohup.
eg
Script1.sh
#Script1 start
nohup script2.sh
.
.
.
#end script1.sh
Now can I do this
nohup script1.sh
Also is all scheduled processes (crontab entries) will run as nohup?
Would appreciate if any one can... (3 Replies)
I have a script that runs continuously and will deliver a file to multiple servers via scp. On occasions one of the scp's will hang and as a result not complete in sending the remaining files and not loop around again.
If I run the scp commands with a & they'll complete, but I want to make sure... (2 Replies)
I'm doing a script with the Shell. I need that it only show the number of running processes.
Ex:
echo "There are `command` running processes"
Thnx!
Pd: Sorry the idiom. I'm spanish. (2 Replies)
I'm doing a script with the Shell. I need that it only show the number of running processes.
Ex:
echo "There are `command` running processes"
Thnx!
Pd: Sorry the idiom. I'm spanish. (5 Replies)
Hi can anybody help me regarding this..
i want know the output of ps -ef with explanation.
how can we know the running processess.
this is the output of ps -elf
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
19 T root 0 0 0 0 SY ... (1 Reply)
Hi All!
I am trying to get sendmail to work but unsuccessfull...when I run ps -ef | grep sendmail
root 10578 10561 0 11:01:24 pts/1 0:00 grep sendmail
I do not see its processes
When I run the following commands:
bash-3.00# svcs sendmail
svcs: Pattern 'sendmail' doesn't match... (9 Replies)
I want to check how many processes are running with same names and get their respective counts.
ps -ef|grep -Eo 'process1|process2|process3| '|sort -u | awk '{print $2": "$1}'
Output would look like :
$ ps -ef|grep -Eo 'process1|process2|process3| '|sort | uniq -c | awk '{print $2":... (8 Replies)
Discussion started by: simpltyansh
8 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)