05-18-2003
Should we create a homework section?
Did we resolve this issue?
Should we create a homework section?
Neo
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Please inform me on how I can resolve the PaTcH_MsG 8 Version message below I am running solaris 9 9/05 HW on a Sun V445. Thank you.
# pkgadd SUNWqlc
Processing package instance <SUNWqlc> from </var/spool/pkg>
Qlogic ISP 2200/2202 Fibre Channel Device Driver
(sparc)... (3 Replies)
Discussion started by: GLJ@USC
3 Replies
2. Shell Programming and Scripting
Hi,
I have automated a build process that does the following activities.
1. check out code from cvs to a specific directory
2. build the revision checked out with 'ANT'
3. integrate the compiled code with the QA/UAT or new environment
(/apps/QA or /apps/UAT or /apps/new directory)
I... (1 Reply)
Discussion started by: yoi2hot4ya
1 Replies
3. Shell Programming and Scripting
Hi guys,
Been sifting through these forums for awhile, but never had an account or needed to post. Shoutouts to a great forum with heaps of useful info.
Now i consider myself a noob when it comes to linux and to bash scripting. I recently started to learn to use Vmware ESX server which uses... (4 Replies)
Discussion started by: ryath
4 Replies
4. IP Networking
I am using freespire 2.0.8 and am unable to get any peer to peer program to work past a firewall. I am not sure where the firewall is ( I didn't set anything up in Freespire). My guess is/was the router as I am using a wireless connection. I just replaced my linksys wrk54G with a Netgear WGR614 and... (1 Reply)
Discussion started by: Paul K
1 Replies
5. Emergency UNIX and Linux Support
We are using the solaris server and if i am using rm -rf to delete the directories its asking the confirmation for each and every file inside the directory.Is there any way to disable ( should not ask the confirmation) only for a particular session? (12 Replies)
Discussion started by: sureshbabuc
12 Replies
6. UNIX and Linux Applications
Hello,
I have been trying to setup the following squid configuration http://veloso.org/SquidConfig/SquidConfig.html
but every time I get to start squid I get the following error-
2012/05/28 10:31:12| WARNING: redirector #1 (FD 7) exited
2012/05/28 10:31:12| WARNING: redirector #2 (FD 9)... (2 Replies)
Discussion started by: jamie_123
2 Replies
7. Shell Programming and Scripting
I've my below script compile.yk. This compiles programs in batch and any failed to compile modules will be mailed to my attention.
cd /inv1/io13000/mbmport/mbmerr
ERRFL=/inv1/io13000/srcport/$$_errorlist.txt
X=`ls *.c?? |wc -l`
if
then
echo "Review library path:... (0 Replies)
Discussion started by: Yuvaraj737
0 Replies
8. Linux
We are using ksh on Linux (Thats what architect told me).
1) When I am using up and down arrow key, I can not navigate to previous and next commands. How can I navigate commands in ksh ? Someone told me that I need to have bash shell installed ? Can I have bash shell installed on ksh ? OR can I... (3 Replies)
Discussion started by: paramshamnani
3 Replies
9. Red Hat
Hi guys,
thanks for your kind assistance. I have a rhel6.4 server. After I did an update, the server does not reboot. Also user logins take for ever.
Please any help on this matter will be appreciated .
Thank you (2 Replies)
Discussion started by: cjashu
2 Replies
LEARN ABOUT HPUX
sem_post
sem_post(2) System Calls Manual sem_post(2)
NAME
sem_post - unlock a POSIX semaphore
SYNOPSIS
DESCRIPTION
is used to post the semaphore referenced by sem. The calling thread will not return from its call to unless it can either: increment the
semaphore value, if there are no blocked threads on this semaphore; give the semaphore to a blocked thread, if there are any blocked
threads on this semaphore; or have an error condition.
If the semaphore value is < 0, the semaphore has blocked threads, waiting for it to become available (the absolute value of the semaphore's
value indicates the number of waiters at that moment). If the semaphore value is >= 0, the semaphore has no waiters.
If the semaphore has no waiters at the time its value is checked, the semaphore's value will be atomically incremented, with respect to the
checking of its value, up to its maximum value as specified by If the semaphore has waiters at the time its value is checked, the semaphore
value is not changed. Instead, the calling thread will attempt to wake up a waiter. If the semaphore has waiters having realtime priori-
ties, the thread must wake up the highest priority waiter. Otherwise the thread at the head of the channel queue is woken up.
When a waiter is successfully woken, the semaphore being posted will be given to the woken waiter. In other words, the state of the sema-
phore remains unchanged. Instead, the semaphore being posted will be inherited by the waiter being woken from this call to
If the specified semaphore referred to by sem is a named semaphore, then this semaphore must have been opened by the calling process with
The calling process must have both read and write permissions on the semaphore to perform this operation. The routine may be called asyn-
chronously, i.e. from a signal handler.
To use this function, link in the realtime library by specifying on the compiler or linker command line.
EXAMPLES
The following call to will post the semaphore sem.
RETURN VALUE
A successful call to will return 0 and the calling thread would have posted the semaphore. Otherwise, the call to will return -1 with
errno set to the appropriate value of the error condition.
ERRORS
fails and does not perform the requested operation if any of the following conditions are encountered:
[EPERM] The calling process does not have the privileges necessary to post the semaphore.
[EINVAL] The argument sem does not refer to a valid semaphore.
SEE ALSO
<semaphore.h>.
STANDARDS CONFORMANCE
sem_post(2)