08-02-2005
Posting
First off I posted in the wrong area on the first post. SORRY!!!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
2. UNIX for Advanced & Expert Users
root@INTSETICADB # su - oracle
Killed
root@INTSETICADB # su - selectica
Killed
root@INTSETICADB # man prstat
Reformatting page. Please Wait...Segmentation Fault - core dumped
sys(cd /usr/man; /usr/lib/sgml/sgml2roff /usr/man/sman1m/prstat.1m > /tmp/sman_iUaW5x) fail!
aborted (sorry) (3 Replies)
Discussion started by: abhijeetkul
3 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to set up x2x between my desktop and laptop, and as a precondition to that, I'm just trying to get each to be able to display programs on the other (e.g. "desktop$ xterm -display laptop:0").
OS is Ubuntu 5.10 and X version is X.org 6.8.2
I've set up X to run without -nolisten, and... (1 Reply)
Discussion started by: vertigo23
1 Replies
4. Programming
hi
i have written a program to display files in a directory
but it doesnt compile on the sun/solaris system....
im using gcc(inbuilt compiler)
im generally used to working on a windows environment so maybe im overlookiing something
ive added comments to help readability of the program
i also... (2 Replies)
Discussion started by: anything2
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all, dummy here.... I have major errors on entering the shell. On login I get:
-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies
6. Programming
Problem background:
gcc v 4.1
2 .cpp files, 2 .h files
Files:
main.cpp
a.cpp
a.h
b.h
Organization:
main.cpp includes a.h (because it calls a.cpp code)
a.cpp includes a.h
a.h includes b.h (because a class in a.h uses a b.h class)
There is no inheritance between a.h or b.h or any of... (1 Reply)
Discussion started by: johnqsmith
1 Replies
7. Hardware
How do I configure my wireless adapter to access the internet? I am running PCLinuxOS 2010. (0 Replies)
Discussion started by: ryan352333
0 Replies
8. Shell Programming and Scripting
ln: Filename1 and Filename2 are identical.
Seems to be an error.. Unable to proceed further
Can you ppl help me? (5 Replies)
Discussion started by: DevM
5 Replies
9. AIX
Hi Can any suggest me how to work on this particular issue i am facing.
Below is the error message received on vio servers.
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
4B436A3D 0326102912 T H fscsi1 LINK ERROR
4B436A3D 0325212712 T H fscsi1 LINK ERROR
4B436A3D... (2 Replies)
Discussion started by: ganiiee
2 Replies
10. UNIX for Advanced & Expert Users
Any help appreciated just logging in to this server which is a front end for Rocks Cluster 6.1.1. Getting the below errors:
ldconfig
ldconfig: /usr/lib/libX11.so.6 is not a symbolic link
ldconfig: /usr/lib/libjpeg.so.62 is not a symbolic link
ldconfig: /usr/lib/libpng12.so.0 is not a symbolic... (3 Replies)
Discussion started by: RobbieTheK
3 Replies
postwait(2) System Calls Manual postwait(2)
NAME
postwait: pw_getukid(), pw_wait(), pw_post(), pw_postv(), pw_getvmax() - lightweight synchronization mechanism
SYNOPSIS
DESCRIPTION
Postwait is a fast, lightweight sleep/wakeup mechanism that can be used for synchronization by cooperating kernel threads within a single
process or between separate processes.
A thread calls to block. It resumes execution when it is posted by another thread, the call expires, or is signaled. If one or more posts
are already pending, returns immediately.
Threads using postwait are identified by their ukid. A thread retrieves its ukid by calling It shares this ukid with anyone it chooses by
any means it considers appropriate (for example, shared memory).
is called with a timeout ts. If ts is NULL, the thread will not timeout. It will remain blocked until posted or a signal wakes it up.
If ts points to a zero-valued timespec, will return immediately with a value (and indicating whether or not it was posted.
If ts points to a timespec whose value is greater than zero, the thread will block for that amount of time unless it is posted or inter-
rupted by a signal, in which case the timespec pointed to by ts is updated with the remaining time. The return value and are set to indi-
cate the reason the call returned.
is used to post many threads with a single call. It posts to all threads in the targets array. An value for each target is returned in
the errors array. (0 indicates success.) If the errors pointer is zero, no target-specific errors are copied out.
There is a maximum number of threads that can be posted with a single call. This value is returned by
Posts sent to a kernel thread that already has a post pending against it are discarded.
RETURN VALUE
returns 0 if it succeeds, -1 otherwise.
returns 0 if posted, -1 otherwise.
returns 0 if the post succeeds, -1 otherwise.
returns 0 if every post succeeds, -1 otherwise.
returns the maximum number of kernel threads that can be posted with a single call to
ERRORS
sets to one of the following values if it fails:
ukid points to an illegal address. The reliable detection of this error is implementation dependent.
sets to one of the following values if it fails:
was called with a timeout of 0 but the caller has no post(s) pending.
was called with a timeout that expired.
ts points to an illegal address. The reliable detection of this error is implementation dependent.
was interrupted
by a signal.
The timespec pointed to by ts is invalid.
sets to one of the following values if it fails:
The ukid refers to a non-existent kernel thread.
sets to one of the following values if it fails:
targets points to an illegal address. The reliable detection of this error is implementation dependent.
errors points to an illegal address. The reliable detection of this error is implementation dependent.
count is less than 0.
count exceeds the maximum value (as returned by
A ukid refers to a non-existent kernel thread.
postwait(2)