LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2016, 09:54 PM   #1
rajkamalhm
LQ Newbie
 
Registered: Apr 2016
Posts: 4

Rep: Reputation: Disabled
How to find free semaphores available


OS - RHEL
ipcs command shows an output like arrays and number of semaphores per array. How to properly read the ipcs -su and ipcs -sl commands output to determine the free semaphores available in the system?

Last edited by rajkamalhm; 10-11-2016 at 09:56 PM.
 
Old 10-13-2016, 09:13 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,576

Rep: Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134
Quote:
Originally Posted by rajkamalhm View Post
OS - RHEL
ipcs command shows an output like arrays and number of semaphores per array. How to properly read the ipcs -su and ipcs -sl commands output to determine the free semaphores available in the system?
Those commands tell you how many used you have, and show you the total....subtract the numbers. Also, since you're using RHEL, you can look up your answer in the Red Hat knowledgebase...you are PAYING FOR RHEL, RIGHT????
 
Old 10-14-2016, 12:14 AM   #3
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Hi... I 'subscribed' to this ZRT last night (because I'm interested in learning ...)
I'm wondering where you found this question? (what computers do you use? for?)
I found some things from this web-search:
Quote:
free|available|usage semaphores intitle:arrays ipcs
What keywords did you use for your web searches on this? Thanks.

Best wishes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] C - Semaphores, initiate semaphores seems to be failing golmschenk Programming 3 06-28-2010 09:32 PM
find out all free leases from dhcpd saavik Linux - Networking 2 07-27-2005 02:03 AM
Where can I find OSS/Free? theteenager Linux - Software 2 07-04-2003 02:03 PM
Where can I find some free clip art? Greenhorn Linux - Software 6 10-16-2002 08:08 PM
Where do I find a free Linux? bbconsul Linux - General 5 06-25-2001 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration