Hello,
I cant get the perl script to pull the information from
Sark DNS 4.X Options
ACL Templates=
and other=
Can someone look at the script to see why and fix it please.
FYI..Under Sark DNS 4.x ACL Templates= and other= has an indent/tab, not sure if thats the reason my the script... (24 Replies)
Hi all,
I have a bit of a problem with a loop that extracts repetitive text.
Running /bin/index executable outputs this text to terminal:
testing index 'scanthread'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.012 sec, 0 bytes/sec, 0.00 docs/sec
testing index 'scanpost'...... (6 Replies)
Hi,
I'm trying to download a compatible Oracle Client software for a HP-UX machine. I'd like to know if ...
1) HP-UX is 32 bit or 64 bit?
2) Processor type - Itanium or regular?
when I execute uname -a I get
HP-UX B.11.11 U 9000/800 728684161 unlimited-user license
Based on the... (7 Replies)
For people who want to pull a number of lines from a long file using a specific formula
n (number of iterations in a loop)
a (offset number)
b (stretch factor)
example with n {1..100}
for (( n=1; n<101; n++ )); do awk -v n=$n 'NR==a+(b*n)' a=0 b=1 inputfile >>outputfile (2 Replies)
Hi,
I have a file with multiple columns and for column 5 I want to extract that row into another file if it is equal to or greater than a certain value.
For example:
FAR 4 5 7 LOP
GAT 3 3 3 POL
I want values that are greater than 5 for column 4. So the final file will look like... (1 Reply)
There is another post in the forums that is similar to what I am trying to do, however, the thread is closed. So, I am creating this new one to see if someone could help. I am trying to use the code Ahamed posted, and tweak it.
With the info from the forum, I recreated the scenario the person... (8 Replies)
I do have a file of the following format
file 1
>SAM
ATGCTCCTTAGCTACGTAGCAAGTAGAAAAAA
AGCGCGAGCATTGAAGCGGAGGAGAGGAGGA
TGAGATGATGACCCAGTATAAAGAGTGATGAT
like this above file. file 1 has 1000's of lines. I would like to edit this file1 using the information from file2 (see below), by... (16 Replies)
I am having a file called variable_info.ksh in that file I am having following global variable information like…
EMAIL_PATH=/var/mail
TMP_PATH=/home/tmp
And we are having another temporary parameter file abcd.txt, in that file we are having the following information like…
EMAIL|EMAI_PATH
I... (4 Replies)
Dear Experts,
I need your help here. I have lot of teradata DDL's as follows, i want to extract field names , field attributes and NOT NULL information from DDL.Could you please help here.
Sample DDL:
CREATE MULTISET TABLE APS_CALL_IN_PICKUP_CANCELED ,NO FALLBACK ,
NO BEFORE... (2 Replies)
My scenario is as follows.
1. I have a reference file with the IP addresses and names
$ cat ref.list
10.11.xxx.xxx AA
10.12.xxx.xxx BB
10.13.xxx.xxx CC
10.14.xxx.xxx DD
2. A script runs and gets me one of the IP addresses and puts it in a separate file, for e.g... (2 Replies)
Discussion started by: Nagesh_1985
2 Replies
LEARN ABOUT REDHAT
pthread_setschedparam
PTHREAD_SETSCHEDPARAM(3) Library Functions Manual PTHREAD_SETSCHEDPARAM(3)NAME
pthread_setschedparam, pthread_getschedparam - control thread scheduling parameters
SYNOPSIS
#include <pthread.h>
int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param);
int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param);
DESCRIPTION
pthread_setschedparam sets the scheduling parameters for the thread target_thread as indicated by policy and param. policy can be either
SCHED_OTHER (regular, non-realtime scheduling), SCHED_RR (realtime, round-robin) or SCHED_FIFO (realtime, first-in first-out). param spec-
ifies the scheduling priority for the two realtime policies. See sched_setpolicy(2) for more information on scheduling policies.
The realtime scheduling policies SCHED_RR and SCHED_FIFO are available only to processes with superuser privileges.
pthread_getschedparam retrieves the scheduling policy and scheduling parameters for the thread target_thread and store them in the loca-
tions pointed to by policy and param, respectively.
RETURN VALUE
pthread_setschedparam and pthread_getschedparam return 0 on success and a non-zero error code on error.
ERRORS
On error, pthread_setschedparam returns the following error codes:
EINVAL policy is not one of SCHED_OTHER, SCHED_RR, SCHED_FIFO
EINVAL the priority value specified by param is not valid for the specified policy
EPERM the calling process does not have superuser permissions
ESRCH the target_thread is invalid or has already terminated
EFAULT param points outside the process memory space
On error, pthread_getschedparam returns the following error codes:
ESRCH the target_thread is invalid or has already terminated
EFAULT policy or param point outside the process memory space
AUTHOR
Xavier Leroy <Xavier.Leroy@inria.fr>
SEE ALSO sched_setscheduler(2), sched_getscheduler(2), sched_getparam(2), pthread_attr_setschedpolicy(3), pthread_attr_setschedparam(3).
LinuxThreads PTHREAD_SETSCHEDPARAM(3)