7 More Discussions You Might Find Interesting
1. Linux
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Discussion started by: engineeringme
1 Replies
2. Shell Programming and Scripting
Hi,
I am developing a script that invokes a program, and that program is going to prompt for some input every now and then based on some parameters.
My script shall provide input to the program, automatically, by processing the text output by the program..
say..
when the program asks ... (3 Replies)
Discussion started by: icecoldaswin
3 Replies
3. Shell Programming and Scripting
My input file:
data_5 Ali 422 2.00E-45 102/253 140/253 24
data_3 Abu 202 60.00E-45 12/23 140/23 28
data_1 Ahmad 256 7.00E-45 120/235 140/235 22
data_4 Aman 365 8.00E-45 15/65 140/65 20
data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies
4. UNIX for Advanced & Expert Users
Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications.
For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Discussion started by: gonzofish
2 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I have some UNIX servers (all flavor to be honest: SOLARIS, AIX, HP-UX) running some applications.
I would like to publish these applications to remote client mainly running Windows XP.
I know i can remotely access the desktop thanks to Cygwin,Hummingbird EXCEED...
But I don't... (2 Replies)
Discussion started by: Platinium
2 Replies
6. UNIX for Advanced & Expert Users
Between mmap and shared memory which is the best method of sharing data between multiple applications, interms of speed? (2 Replies)
Discussion started by: nmds
2 Replies
7. UNIX for Dummies Questions & Answers
I am an Oracle DBA who has previously worked only on NT machines. I need to install Oracle on an AIX box. This Unix server has only a CRT monitor. The Oracle installation REQUIRES a graphical means of seeing the Unix machine. I've been told that I should telnet from a PC that can display X... (2 Replies)
Discussion started by: jbrax
2 Replies
__PPC_SET_PPR_MED(3) LinuxProgrammer's Manual __PPC_SET_PPR_MED(3)
NAME
__ppc_set_ppr_med, __ppc_set_ppr_very_low, __ppc_set_ppr_low, __ppc_set_ppr_med_low, __ppc_set_ppr_med_high - Set the Program Priority Reg-
ister
SYNOPSIS
#include <sys/platform/ppc.h>
void __ppc_set_ppr_med(void);
void __ppc_set_ppr_very_low(void);
void __ppc_set_ppr_low(void);
void __ppc_set_ppr_med_low(void);
void __ppc_set_ppr_med_high(void);
DESCRIPTION
These functions provide access to the Program Priority Register (PPR) on the Power architecture.
The PPR is a 64-bit register that controls the program's priority. By adjusting the PPR value the programmer may improve system throughput
by causing system resources to be used more efficiently, especially in contention situations. The available unprivileged states are cov-
ered by the following functions:
* __ppc_set_ppr_med() sets the Program Priority Register value to medium (default).
* __ppc_set_ppr_very_low() sets the Program Priority Register value to very low.
* __ppc_set_ppr_low() sets the Program Priority Register value to low.
* __ppc_set_ppr_med_low() sets the Program Priority Register value to medium low.
The privileged state medium high may also be set during certain time intervals by problem-state (unprivileged) programs, with the following
function:
* __ppc_set_ppr_med_high() sets the Program Priority to medium high.
If the program priority is medium high when the time interval expires or if an attempt is made to set the priority to medium high when it
is not allowed, the priority is set to medium.
VERSIONS
The functions __ppc_set_ppr_med(), __ppc_set_ppr_low() and __ppc_set_ppr_med_low() are provided by glibc since version 2.18. The functions
__ppc_set_ppr_very_low() and __ppc_set_ppr_med_high() first appeared in glibc in version 2.23.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
+---------------------------+---------------+---------+
|Interface | Attribute | Value |
+---------------------------+---------------+---------+
|__ppc_set_ppr_med(), | Thread safety | MT-Safe |
|__ppc_set_ppr_very_low(), | | |
|__ppc_set_ppr_low(), | | |
|__ppc_set_ppr_med_low(), | | |
|__ppc_set_ppr_med_high() | | |
+---------------------------+---------------+---------+
CONFORMING TO
These functions are nonstandard GNU extensions.
NOTES
The functions __ppc_set_ppr_very_low() and __ppc_set_ppr_med_high() will be defined by <sys/platform/ppc.h> if _ARCH_PWR8 is defined.
Availability of these functions can be tested using #ifdef _ARCH_PWR8.
SEE ALSO
__ppc_yield(3)
Power ISA, Book II - Section 3.1 (Program Priority Registers)
GNU C Library 2017-09-15 __PPC_SET_PPR_MED(3)