02-27-2012
fget_config -Av does not show any output.
Isn't lspath the successor of fget_config in AIX 6?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I executed the following command in the korn shell:
$ variable1="qwerty" ls | sort
and the shell executed the 'ls | sort' command.
I would have expected an error message from the shell, but instead of that the shell ran the 'ls | sort' command and didn't realize the variable assignement. ... (1 Reply)
Discussion started by: PhilippeCrokaer
1 Replies
2. UNIX for Advanced & Expert Users
I have used SAR -b to get some Unix cache / buffer metrics and the results are confusing me a bit.
The pread/s & pwrit/s are showing 0. However the lread/s and lwrit/s are showing figures. I note also that the bread/s and bwrit/s are showing figures. I believe that pread/s and pwrit/s is not... (3 Replies)
Discussion started by: jimthompson
3 Replies
3. AIX
hello
with a sar i have this result:
System configuration: lcpu=48 ent=4.00
14:06:37 %usr %sys %wio %idle physc %entc
14:06:39 26 9 3 62 1.63 40.7
14:06:41 26 9 3 63 1.58 39.4
14:06:43 ... (0 Replies)
Discussion started by: pascalbout
0 Replies
4. IP Networking
Hi Guys,
This is really really urgent. Am looking out for some quick answers.
I'm developing a DNS Resolver client that interprets DNS Query repsonses & pass on the needful to DNS applications.
When an ENUM query(modified to an nslookup naptr query) is issued & an NAPTR RR(Resource Record)... (1 Reply)
Discussion started by: smanu
1 Replies
5. Shell Programming and Scripting
Hi,
I am not sure what I am doing wrong but I am messing up some logic here. The input file is something like this:
*___String Type A Here___String Type B Here___123
*___ ___String Type B Here___123
*___ ___String Type B Here___123
*___ ... (6 Replies)
Discussion started by: Legend986
6 Replies
6. AIX
Can anyone recommend me some reading material surrounding how AIX handles LUNs:
- with and without MPIO installed
- with and without SDD or SDDPCM installed
Where does lspath sit in all of this (MPIO layer?). Can a system be built with just MPIO software? Is MPIO software even needed?
I guess... (0 Replies)
Discussion started by: apra143
0 Replies
7. Solaris
Hi
What means Solaris 10 5/09 and Solaris 10 10/09, I mean the suffix 5/09 and 10/09 ?
thx for help. (1 Reply)
Discussion started by: presul
1 Replies
8. Shell Programming and Scripting
I'm writing a Korn script but am having trouble because the shell interprets the asterisk in this case. Can anyone tell me if there is a way to fix this so that grep takes in STDIN without the interpretation?
line="30 09 * * 1-4 /home/user01/bin/start"
echo "$line" | grep 'start' (16 Replies)
Discussion started by: sprucio
16 Replies
9. UNIX for Advanced & Expert Users
hi, anyone can help on this piece of truss output?
8094: 0.7028 write(4, 0x0043BE90, 236) = 236
8094: T S H \0\0\0EC020101\0\0\0\0\0\0\0\0\0 "02\0\0 303\0\0 I D
8094: \f %\0\0\0\0 2\0F67F\0\0\0\0 @06FFC99A ;
8094: L D6\0 303
8094: ... (6 Replies)
Discussion started by: ghostdog74
6 Replies
LEARN ABOUT REDHAT
swapcontext
MAKECONTEXT(3) Linux Programmer's Manual MAKECONTEXT(3)
NAME
makecontext, swapcontext - manipulate user context
SYNOPSIS
#include <ucontext.h>
void makecontext(ucontext_t *ucp, void *func(), int argc, ...);
int swapcontext (ucontext_t *oucp, ucontext_t *ucp);
DESCRIPTION
In a SysV-like environment, one has the type ucontext_t defined in <ucontext.h> and the four functions getcontext(), setcontext(), makecon-
text() and swapcontext() that allow user-level context switching between multiple threads of control within a process.
For the type and the first two functions, see getcontext(2).
The makecontext() function modifies the context pointed to by ucp (which was obtained from a call to getcontext()). Before calling make-
context(), one should allocate a new stack for this context, assigning to ucp->uc_stack, and define a successor context, assigning to
ucp->uc_link. When this context is later activated (using setcontext() or swapcontext()) then first the function func is called, with the
arguments specified following argc (where argc must contain the number of these arguments), and when this function returns, the successor
context is activated. When the successor context pointer is NULL, the thread exits.
The swapcontext() function saves the current context in the structure pointed to by oucp, and then activates the context pointed to by ucp.
RETURN VALUE
When successful, makecontext() returns 0 and swapcontext() does not return. (But we may return later, in case oucp is activated, in which
case it looks like swapcontext() returns 0.) On error, both return -1 and set errno appropriately.
ERRORS
ENOMEM Insufficient stack space left.
NOTES
The interpretation of ucp->uc_stack is just as in sigaltstack(2), namely, this struct contains start and length of a memory area to be used
as stack, regardless of the direction of growth of the stack. So, it is not necessary for the user program to worry about this direction.
CONFORMING TO
SUSv2, POSIX 1003.1-2001.
SEE ALSO
getcontext(2), sigaction(2), sigaltstack(2), sigprocmask(2), sigsetjmp(3)
Linux 2.4 2001-11-15 MAKECONTEXT(3)