01-05-2015
Hi
here i want to know only what does %idle reflect?
is higher value of %idle is good
or lower value of %idle is good
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a command called
cd $HDRROOT/release/tools/cfg
My query is what it means?
tHat is.... $HDRROOT part is not clear.
If I put this command it says path not found....
I doubt that $HDRROOT is trying to mean smething I am not clear of.
PL help......... (4 Replies)
Discussion started by: rraajjiibb
4 Replies
2. HP-UX
Dear All,
Our HPUX 8 GB 8CPU database server is behaving abnormally for the last 4+ weeks. I have generated a sar output and it is here-
11:46:52 %usr %sys %wio %idle
11:46:53 1 1 6 92
11:46:54 0 1 0 99
11:46:55 0 1 0... (3 Replies)
Discussion started by: Ashrunil
3 Replies
3. UNIX for Dummies Questions & Answers
Can you please tell me what this means?
use grep to find from the file myfile.txt all lines containing the sequence tt but not more 2 ts?
I have no idea. (2 Replies)
Discussion started by: rushhour
2 Replies
4. UNIX for Advanced & Expert Users
:) Hi,
In some script i got these regular expression
like ,
n=$#
and
for i in $*
can anybody let me know, what does it means (5 Replies)
Discussion started by: deb.simply
5 Replies
5. UNIX for Dummies Questions & Answers
I can not find out what the %U means in the following command:
ooffice -calc %U (2 Replies)
Discussion started by: borobudur
2 Replies
6. Shell Programming and Scripting
Hi,
I have seen in some ksh script, that we are executing shell scripts inside other shell script as
. variable.sh
What is . here? Their is space between . and variabloe. And why we are not executing it like ./variable.sh? I know that . signifies current directory , but what its... (2 Replies)
Discussion started by: jatanig
2 Replies
7. Shell Programming and Scripting
what exactly $? and $# means ? (1 Reply)
Discussion started by: mail2sant
1 Replies
8. Programming
#define abc '\xE8' (7 Replies)
Discussion started by: kamlesh33
7 Replies
9. UNIX for Beginners Questions & Answers
HI
what does the $(NF) means.
here i want to understand the working.
what i know is that in awk NF argument will tell number of column in a file
i have below file
alpha
a
beta
b
if i use command cat kv | paste - - | awk '{print $1," "$2 "------>"$(NF)}'
i get the o/p as
alpha ... (3 Replies)
Discussion started by: scriptor
3 Replies
LEARN ABOUT DEBIAN
rtprio
RTPRIO(2) BSD System Calls Manual RTPRIO(2)
NAME
rtprio -- examine or modify a process realtime or idle priority
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <sys/rtprio.h>
int
rtprio(int function, pid_t pid, struct rtprio *rtp);
DESCRIPTION
The rtprio() system call is used to lookup or change the realtime or idle priority of a process.
The function argument specifies the operation to be performed. RTP_LOOKUP to lookup the current priority, and RTP_SET to set the priority.
The pid argument specifies the process to be used, 0 for the current process.
The *rtp argument is a pointer to a struct rtprio which is used to specify the priority and priority type. This structure has the following
form:
struct rtprio {
u_short type;
u_short prio;
};
The value of the type field may be RTP_PRIO_REALTIME for realtime priorities, RTP_PRIO_NORMAL for normal priorities, and RTP_PRIO_IDLE for
idle priorities. The priority specified by the prio field ranges between 0 and RTP_PRIO_MAX (usually 31). 0 is the highest possible prior-
ity.
Realtime and idle priority is inherited through fork() and exec().
A realtime process can only be preempted by a process of equal or higher priority, or by an interrupt; idle priority processes will run only
when no other real/normal priority process is runnable. Higher real/idle priority processes preempt lower real/idle priority processes.
Processes of equal real/idle priority are run round-robin.
RETURN VALUES
The rtprio() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate
the error.
ERRORS
The rtprio() system call will fail if
[EINVAL] The specified prio was out of range.
[EPERM] The calling process is not allowed to set the realtime priority. Only root is allowed to change the realtime priority of
any process, and non-root may only change the idle priority of the current process.
[ESRCH] The specified process was not found.
SEE ALSO
nice(1), ps(1), rtprio(1), setpriority(2), nice(3), renice(8)
AUTHORS
The original author was Henrik Vestergaard Draboel <hvd@terry.ping.dk>. This implementation in FreeBSD was substantially rewritten by David
Greenman.
BSD
July 23, 1994 BSD