Hi
I have a problem in installing solaris 9 in a ULTRA Enterprise 2 machine.
The cdrom does not keep the cd in. When I put the installtion cd 1 and close the tray, I can see the led blinks three times and then the tray comes out. I borrowed a set of installtion cd s from one of my friends (they... (3 Replies)
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Hi,
I have a Python unit test cases source code file which contains more than a hundred test case methods. In that, some of the test case methods already have prefix 'test' where as some of them do not have. Now, I need to add the string 'test' (case-sensitive) as a prefix to those of the... (5 Replies)
Hi Team,
I have a file named as follows: aaa.tar.gz
Now I need to verify if the untar fails, then the script has to send a mail. In order to check this condition, I need a tar.gz file which is unable to untar it. Can anyone help me to create a file which I will be able to unzip successfully... (2 Replies)
Discussion started by: kmanivan82
2 Replies
6. Forum Support Area for Unregistered Users & Account Problems
After inputted all required fields in registration page, the below message is shown and cannot go on.
A required field called Custom Date & Time Formats is missing or has an invalid value. (2 Replies)
Discussion started by: Unregistered
2 Replies
LEARN ABOUT NETBSD
schedctl
SCHEDCTL(8) BSD System Manager's Manual SCHEDCTL(8)NAME
schedctl -- control scheduling of processes and threads
SYNOPSIS
schedctl [-A cpus] [-C class] [-P pri] [-t lid] -p pid | command
DESCRIPTION
The schedctl command can be used to control the scheduling of processes and threads. It also returns information about the current schedul-
ing parameters of the process or thread. Only the super-user may change the scheduling parameters. schedctl can also be used to start a new
command using the specified parameters.
Available options:
-A cpus Set of the processors on which process or thread should run, that is, affinity. Processors are defined as numbers (starting from
zero) and separated by commas. A value of -1 is used to unset the affinity.
-C class Scheduling class (policy), one of:
SCHED_OTHER Time-sharing (TS) scheduling policy. The default policy in NetBSD.
SCHED_FIFO First in, first out (FIFO) scheduling policy.
SCHED_RR Round-robin scheduling policy.
-P pri Priority for the process or thread. Value should be in the range from SCHED_PRI_MIN (0) to SCHED_PRI_MAX (63). Setting of prior-
ity for the process or thread running at SCHED_OTHER policy is not allowed.
-p pid The target process which will be affected. If the process has more than one thread, all of them will be affected.
If -p is not given, a command to execute must be given on the command line.
-t lid Thread in the specified process. If specified, only this thread in the process will be affected. May only be specified if -p is
also given.
EXAMPLES
Show scheduling information about the process whose ID is ``123'':
# schedctl -p 123
Set the affinity to CPU 0 and CPU 1, policy to SCHED_RR, and priority to 63 for thread whose ID is ``1'' in process whose ID is ``123'':
# schedctl -p 123 -t 1 -A 0,1 -C SCHED_RR -P 63
Run the top(1) command with real-time priority:
# schedctl -C SCHED_FIFO top
SEE ALSO nice(1), getpriority(2), setpriority(2), psrset(8), renice(8)HISTORY
The schedctl command first appeared in NetBSD 5.0.
BSD March 21, 2011 BSD