03-06-2014
This second issue doesn't seem to have anything to do with the abstract now. Is this an actual sparc or is it a VM. It looks like it's hanging on booting after attempting to correct the condition. Take a look at your output. Does this sequence happen everytime?
10 More Discussions You Might Find Interesting
1. Linux
hi
i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots
i mean whenever my system starts that application must also start
thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies
2. Windows & DOS: Issues & Discussions
Is it possible to install closed-source applications on CygWin? (7 Replies)
Discussion started by: Xterra
7 Replies
3. Shell Programming and Scripting
Can anybody help me with this small script , the script works fine and launches the IE from
c:\documents and settings \test\my documents>ksh prompt
$RunURL1.sh
this scitpt works and launches the ie from ksh , but when i schedule it to run the script then i get the error box saying command:1... (2 Replies)
Discussion started by: venu
2 Replies
4. UNIX for Advanced & Expert Users
Hi All,
wget http://<username>:<password>@<hostname>:<port>/manager/list -O - -q using this command i can able to stop , start , reload everything i can able to do once i start the tomcat , now i have some doubt legends.
1. Is this is a secure way using wget to start, stop, reload the... (0 Replies)
Discussion started by: anishkumarv
0 Replies
5. UNIX for Dummies Questions & Answers
Dear all
i am new to linux/debian
i run my application on the computer...during startup in bashrc i wrk wid dis script to invoke startx..i do this above command and it works perfectly...
if && ; then
startx -- -br 1>/dev/null
exit 0
fi
i use winscp for file transfer and putty for... (1 Reply)
Discussion started by: venkat_330
1 Replies
6. Shell Programming and Scripting
Hello,
I work on Windows and I use Putty to access a remote UNIX server.
I am trying to build a shell script that will have as main task to open the
Windows command prompt (cmd) and run some Windows commands thereafter. The commands are actually file transfer commands that will download a file... (14 Replies)
Discussion started by: rookie2785
14 Replies
7. UNIX Desktop Questions & Answers
Hi all,
I wish to know whether Unix can access window's file in Unix's terminal?
Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies
8. Windows & DOS: Issues & Discussions
How can I start an application sitting on a windows machine (XP) from Unix shell script (AIX server) ? (6 Replies)
Discussion started by: pkan
6 Replies
9. UNIX and Linux Applications
I have windows XP machine.
Today i have tried to install Cygwin, I've downloaded all the packages then ran the setup. It's showed completed.
But when i try to open this it's not working.
Do i need to do anything extra for this..?
Please help... (3 Replies)
Discussion started by: pamu
3 Replies
10. Shell Programming and Scripting
I would like to the the windws8/cygwin/bash shebang feature to start a powershell script.
I do a "chmod +x set-sound.ps1"
and then at a bash prompt I do
./set-sound.ps1
The first line of ./set-sound.ps1
#!powershell.exe -ExecutionPolicy unrestricted
The result is the result:
... (5 Replies)
Discussion started by: siegfried
5 Replies
LEARN ABOUT OSF1
msem_unlock
msem_unlock(3) Library Functions Manual msem_unlock(3)
NAME
msem_unlock - Unlocks a semaphore
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/mman.h>
int msem_unlock ( msemaphore *sem, int condition );
PARAMETERS
Points to an msemaphore structure which specifies the semaphore to be unlocked. Determines whether the msem_unlock() function unlocks the
semaphore if no other processes are waiting to lock it.
DESCRIPTION
The msem_unlock() function unlocks a binary semaphore.
If the condition parameter is 0 (zero), the semaphore is unlocked, whether or not any other processes are currently attempting to lock it.
If the condition parameter is MSEM_IF_WAITERS, and another process is waiting to lock the semaphore or it cannot be reliably determined
whether some process is waiting to lock the semaphore, the semaphore is unlocked by the calling process. If the condition parameter is
MSEM_IF_WAITERS, and no process is waiting to lock the semaphore, the semaphore will not be unlocked and an error will be returned.
All calls to the msem_lock() and msem_unlock() functions by multiple processes sharing a common msemaphore structure behave as if the calls
were serialized.
If the msemaphore structure contains any value not resulting from a call to the msem_init() function followed by a (possibly empty)
sequence of calls to the msem_lock() and msem_unlock() functions, the results are undefined. The address of an msemaphore structure may be
significant. If the msemaphore structure contains any value copied from an msemaphore structure at a different address, the result is
undefined.
NOTES
Trial use
RETURN VALUES
On successful completion, the msem_unlock() function returns 0 (zero). On error, the msem_unlock() function returns -1 and sets errno to
indicate the error.
ERRORS
If the msem_unlock() function fails, errno may be set to one of the following values: MSEM_IF_WAITERS was specified and there were no wait-
ers. The sem parameter points to an msemaphore structure which specifies a semaphore which has been removed, or the condition parameter is
invalid.
RELATED INFORMATION
Functions: msem_init(3), msem_lock(3), msem_remove(3) delim off
msem_unlock(3)