10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
*I want to Write shell script to print the this pattern:
1
22
333
4444
55555
*I want to Write shell... (2 Replies)
Discussion started by: last exile
2 Replies
2. Solaris
The latest crontab entry is disappearing time and again on acceptance and production environment.
the same entry gets deleted.
any pointers to what might be causing this issue? (6 Replies)
Discussion started by: bluenavi
6 Replies
3. Shell Programming and Scripting
hi...
i want to print the below format by using shell scripting...plz help me
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
Thanking u in advance...
regards
ram (1 Reply)
Discussion started by: ram_pl
1 Replies
4. HP-UX
i want working environment hp_unix screen shots ,any one plz send (1 Reply)
Discussion started by: nagi
1 Replies
5. Shell Programming and Scripting
this script reads source.txt and move
and random choice 6 files among 25 txt file
and renmame it..
but it is not executed..
whats problem?
#!/bin/ksh
while read line
do
cd $line/radmin
num=0
/bin/ls *.txt |
while read file_nm ; do
(( check = $RANDOM % 2 ))
if ; then
continue... (1 Reply)
Discussion started by: topic32428285
1 Replies
6. UNIX for Dummies Questions & Answers
unfortunately...i created directory with name "-rf"
but now am unable to remove it. (6 Replies)
Discussion started by: venkatramana
6 Replies
7. Shell Programming and Scripting
Hi, Iam a beginner to UNIX OS.Plz can any body tell me about CRON.Why we use CRON & where it'll be usefull. (1 Reply)
Discussion started by: suneel.abinitio
1 Replies
8. Programming
i'm pretty new to unix programming. i just wanna know how exactly fork(), waitpid() works. i have read some from the book, but it's still confusing. especially with those < 0 and == 0. plz help!!!! (1 Reply)
Discussion started by: ligerdave
1 Replies
9. UNIX for Dummies Questions & Answers
Ok, here's the deal.
I'm running WinXp.
I was merging two partitions using partition magic when I lost power to my box.
I have very IMPORTANT data on one partition and the other is blank, hence the attempted merge.
After the power loss, I booted my system up. Now, I was getting errors... (2 Replies)
Discussion started by: Silicon Demon
2 Replies
10. UNIX for Dummies Questions & Answers
i.e configuration of C compiler :confused: (4 Replies)
Discussion started by: atiato
4 Replies
queuedefs(4) File Formats queuedefs(4)
NAME
queuedefs - queue description file for at, batch, and cron
SYNOPSIS
/etc/cron.d/queuedefs
DESCRIPTION
The queuedefs file describes the characteristics of the queues managed by cron(1M). Each non-comment line in this file describes one queue.
The format of the lines are as follows:
q.[njobj][nicen][nwaitw]
The fields in this line are:
q The name of the queue. a is the default queue for jobs started by at(1); b is the default queue for jobs started by batch (see
at(1)); c is the default queue for jobs run from a crontab(1) file.
njob The maximum number of jobs that can be run simultaneously in that queue; if more than njob jobs are ready to run, only the first
njob jobs will be run, and the others will be run as jobs that are currently running terminate. The default value is 100.
nice The nice(1) value to give to all jobs in that queue that are not run with a user ID of super-user. The default value is 2.
nwait The number of seconds to wait before rescheduling a job that was deferred because more than njob jobs were running in that job's
queue, or because the system-wide limit of jobs executing has been reached. The default value is 60.
Lines beginning with # are comments, and are ignored.
EXAMPLES
Example 1: A sample file.
#
#
a.4j1n
b.2j2n90w
This file specifies that the a queue, for at jobs, can have up to 4 jobs running simultaneously; those jobs will be run with a nice value
of 1. As no nwait value was given, if a job cannot be run because too many other jobs are running cron will wait 60 seconds before trying
again to run it.
The b queue, for batch(1) jobs, can have up to 2 jobs running simultaneously; those jobs will be run with a nice(1) value of 2. If a job
cannot be run because too many other jobs are running, cron(1M) will wait 90 seconds before trying again to run it. All other queues can
have up to 100 jobs running simultaneously; they will be run with a nice value of 2, and if a job cannot be run because too many other jobs
are running cron will wait 60 seconds before trying again to run it.
FILES
/etc/cron.d/queuedefs queue description file for at, batch, and cron.
SEE ALSO
at(1), crontab(1), nice(1), cron(1M)
SunOS 5.10 1 Mar 1994 queuedefs(4)