08-19-2008
Thanks. I've found the answer.
echo "250 32000 100 128"> /proc/sys/kernel/sem
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hello,
Pls change my login name to Awadhesh instead of awadhesh if possible. it will be more better if it become Awadhesh Pandey.
Thanks a lot.
Awadhesh (2 Replies)
Discussion started by: Awadhesh
2 Replies
2. Shell Programming and Scripting
Hi,
I would like realize a script that it can change " wc -l" with "wc -l | sed 's/ //g'", but my problem is that i can have
a pipe ,a variable ( many variable different) or a file after wc -l ?how i could test this several case ?
wc -l | cut -d' ' -f1`
if
wc -l ${F} | awk... (1 Reply)
Discussion started by: francis_tom
1 Replies
3. Homework & Coursework Questions
bh,lg.yu.,fgh,ry,.tyl,tyk,ty,ty,ty,. (7 Replies)
Discussion started by: frankycool
7 Replies
4. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
5. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies
6. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies
7. SCO
Hello
I'm trying to virtualize an instance of Sco Unix 5.0.5 in VirtualBox (called VM-A) , but sco I have problems set to launch with the new raid controller .
The physical machine has a raid controller adaptec (alad driver) but VirtualBox uses buslogic (blc driver)
What ... (3 Replies)
Discussion started by: flako
3 Replies
LEARN ABOUT FREEBSD
sem_destroy
SEM_DESTROY(3) BSD Library Functions Manual SEM_DESTROY(3)
NAME
sem_destroy -- destroy an unnamed semaphore
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <semaphore.h>
int
sem_destroy(sem_t *sem);
DESCRIPTION
The sem_destroy() function destroys the unnamed semaphore pointed to by sem. After a successful call to sem_destroy(), sem is unusable until
re-initialized by another call to sem_init(3).
RETURN VALUES
The sem_destroy() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to
indicate the error.
ERRORS
The sem_destroy() function will fail if:
[EINVAL] The sem argument points to an invalid semaphore.
[EBUSY] There are currently threads blocked on the semaphore that sem points to.
SEE ALSO
sem_init(3)
STANDARDS
The sem_destroy() function conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
POSIX does not define the behavior of sem_destroy() if called while there are threads blocked on sem, but this implementation is guaranteed
to return -1 and set errno to EBUSY if there are threads blocked on sem.
BSD
February 15, 2000 BSD