What is a POSIX equivalent of ipcs -m ?

Hi All,
Is there any equivalent method in POSIX to find out the ipc information for sharedmemory or semaphores?
Like if we execute this command:"
ipcs -m
We get the following output:
T ID KEY MODE OWNER GROUP
Shared Memory:
m 0 0x50000dcb --rw-r--r-- root root
Similarly, Do we have any such equivalent way to determine the ipcs facilites for POSIX calls? If there is no equivalent command then can we write any program ourselves to determine all these information?
Any help on this will be highly appreciated.
Thanks
barkha

<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
This can be used in place of :display.session in workflows

Similar Messages

  • What is the Oracle equivalent of the Microsoft Access FIRST function?

    Using: Oracle 10gR2 RAC on SUSE Linux 9 (10.2.0.3)
    In the process of converting a Microsoft Access database to Oracle, an Access query is using the FIRST function.
    What is the Oracle equivalent of the Microsoft Access FIRST function?
    In the attempt to convert, the Oracle FIRST_VALUE function was used. However, the same results was not achieved.
    Thanks,
    (BLL)
    Query:
    h2. ACCESS:
    SELECT
         TRE.GCUSNO,
         UCASE([DCUSNO]) AS DCUSNO_STD,
         *FIRST(UCASE([DNAME])) AS DNAME_STD*,
         *FIRST(UCASE([DADDR])) AS DADDR_STD*,
         *FIRST(UCASE([DCITY])) AS DCITY_STD*,
         TRE.DSTATE,
         FIRST(TRE.DZIP) AS DZIP,
         TRE.DREGN,
         TRE.DDIST,
         TRE.DSLSMN,
         TRE.DCHAIN,
         TRE.MARKET,
         TRE.MKTPGM,
         TRE.EUMKT
    FROM
         TRE
    GROUP BY
         TRE.GCUSNO,
         UCASE([DCUSNO]),
         TRE.DSTATE,
         TRE.DREGN,
         TRE.DDIST,
         TRE.DSLSMN,
         TRE.DCHAIN,
         TRE.MARKET,
         TRE.MKTPGM,
         TRE.EUMKT;
    h2. ORACLE:
    SELECT DISTINCT
    TRE.GCUSNO,
    UPPER(TRIM(TRE.DCUSNO)) AS DCUSNO_STD,
    UPPER(TRIM(TRE.DNAME)) AS DNAME_STD,
    UPPER(TRIM(TRE.DADDR)) AS DADDR_STD,
         FIRST_VALUE(UPPER(TRIM(TRE.DNAME)) IGNORE NULLS) OVER (ORDER BY TRE.GCUSNO) AS DNAME_STD,
         FIRST_VALUE(UPPER(TRIM(TRE.DADDR)) IGNORE NULLS) OVER (ORDER BY TRE.GCUSNO) AS DADDR_STD,
         FIRST_VALUE(UPPER(TRIM(TRE.DCITY)) IGNORE NULLS) OVER (ORDER BY TRE.GCUSNO) AS DCITY_STD,
    TRE.DSTATE,
    TRE.DZIP,
    FIRST_VALUE(UPPER(TRIM(TRE.DZIP)) IGNORE NULLS) OVER (ORDER BY TRE.DZIP ASC) AS DZIP,
    TRE.DREGN,
    TRE.DDIST,
    TRE.DSLSMN,
    TRE.DCHAIN,
    TRE.MARKET,
    TRE.MKTPGM,
    TRE.EUMKT
    FROM CRM.TREUP100R TRE
    GROUP BY
    TRE.GCUSNO,
    UPPER(TRIM(TRE.DCUSNO)),
    TRE.DNAME,
    TRE.DADDR,
    TRE.DCITY,
    TRE.DSTATE,
    TRE.DZIP,
    TRE.DREGN,
    TRE.DDIST,
    TRE.DSLSMN,
    TRE.DCHAIN,
    TRE.MARKET,
    TRE.MKTPGM,
    TRE.EUMKT;

    A slight correction to odie's post. I think you want min not max to replicate the Access first function, but see below to be sure. So:
    min(upper(trim(tre.dname))) keep (dense_rank first order by tre.gcusno) as dname_std
    user10860953 wrote:How does one ignore null values?The min and max functions will ignore nulls automatically, so if there is a null value in tre.dname, it will not be be returned, unless all of the values are null. For example:
    SQL> WITH t AS (
      2     SELECT 65 id, 'ABCD' col FROM dual UNION ALL
      3     SELECT 37, 'DEFG' FROM dual UNION ALL
      4     SELECT 65, 'DEFG' FROM dual UNION ALL
      5     SELECT 65, null FROM dual UNION ALL
      6     SELECT 70, null FROM dual UNION ALL
      7     SELECT 70, null FROM dual UNION ALL
      8     SELECT 37, 'ABC' from dual)
      9  SELECT id,
    10         MIN(col) keep (DENSE_RANK FIRST ORDER BY id) min_dname_std,
    11         MAX(col) keep (DENSE_RANK FIRST ORDER BY id) max_dname_std
    12  FROM t
    13  GROUP BY id;
            ID MIN_ MAX_
            37 ABC  DEFG
            65 ABCD DEFG
            70John

  • What is the mac equivalent to adobe acrobat?

    what is the mac equivalent to adobe acrobat?

    Adobe Acrobat. http://www.adobe.com/products/acrobatpro/tech-specs.html
    Stedman

  • OT: What is CS6's equivalent to the "Donut"?

    CS6 is out, the best roundup I've seen is at InDesign Secrets.  It all looks great especially creating forms!  BTW if you want to moan about the endnotes ommision I truly sympathise with you but start a new thread!
    However just for fun my question is - what is the CS6 equivalent to the universally despised and never used Content Grabber tool, aka as the "Donut"?
    My pick is it's the Content Collector and Placer Tools.  I haven't used it, but just looking at it my first thought is why the heck can't you just use the standard selection tool?  And why two tools?  Perhaps it's different in actual practise.  I don't know.  But it sure looks awkward....

    I've not tried InDesign CS6 yet but here's my take on some of the noted new features
    Creating Interactive Forms
    So what? You get a "Sample Library" you get some additions to the Buttons panel? Big whoop. I bet it doesn't work very well for complex forms.
    Alternate Layouts
    Sounds great, I'm not sure if the alternate layouts are dynamic (make one change in one layout and it happens in the other, or if content can be unlinked between documents, or if they're standalone documents residing in one document?) But it sounds promising.
    Liquid Layout
    An improvement to "Layout Adjustment" by the looks of it.
    Content Collector/Content Placer tools
    A fancy Copy and Paste - that a lot of people can't really see the point of this feature
    On-object Link Status and Control
    They added a node to the frame to let you know if a link isn't working - AMAZING
    Primary Text Frame
    Finally got the Master Text Frame working properly - and renamed it
    Text Frames that Auto-Size
    Something that a plugin developer did a while ago - it was good, looks like they've adapted it.
    Flexible Columns
    Great - it seems to be related to the Text Frame Auto size though.
    Still can't have different WIDTHS for each column though!
    Improved EPUB 2 Export, new EPUB 3 Export
    To be expected - it wasn't great in CS5.5 and the new stuff for Epub 3 is a work in progress
    Grayscale Preview and Grayscale PDF Export
    Well about time - only took them about 10 years
    Align to Key Object
    Function taken from Illustrator - it's not a big deal - you could make a Key Object by locking an object before - don't see the difference here
    The Little Things
    User Interface tweaks - Wow! They used title case
    Placeholder text language options - AMAZING can get that from the web - took a few seconds
    Split Window- added another icon to split windows - why?
    Complex Calculations in Dialog Boxes and Panels - WOW - a computer doing calculations
    Digital Publishing workspace - they put a bunch of useless tools (probably the wrong set of tools into a workspace - you can do that yourself?)
    Export to PNG (with transparency) - GREAT can't wait to see what pancake way it exports this - I'll probably still have to export to PDF and save as PDF from photoshop for better quality.
    Extension Manager Sets - Eh?
    Accurate screen sizing - seems like they fixed a bug
    Keeps with Spans and Splits - Fixed another bug
    Recent Fonts List - AMAZING
    Save as IDML- Finally make it intuitive for new users!!!
    PANTONE PLUS SERIES color swatch libraries - you can download and install those yourself ...
    Name Ranges in XLSX files - Fixed another bug
    Export to Interactive As Pages - Fixed the Spreads bug as always on!
    Package files includes overlay assets - Surely this should have been already - looks like another Bug Fix.
    Overall - I don't see "New Features" I see mostly Old Features Updated and dressed up - Plus a Lot of "Bug Fixes" since CS5.5
    Will CS5.5 get thes fixes? OR even CS5? I doubt it.
    Nothing really wowing me here.

  • OT: What's the Mac equivalent of Microsoft Paint?

    What's the Mac equivalent of Microsoft Paint?
    It used to be MacPaint, but isn't that long gone?
    Is it iLife? If so, in the specs I don't see any mention of
    basic paint functions although maybe it has them.
    Obviously I don't have a current Mac or I'd know the answer
    to this.
    Thanks.

    http://en.wikipedia.org/wiki/MacPaint
    http://en.wikipedia.org/wiki/QuickDraw
    http://www.pixelpoppin.com/dorena/
    http://sarwat.net/painting/

  • What is the mac equivalent to a right clic on a windows machine

    What is the Mac equivalent to a right click?  I installed Office for Mac 2011 on my macbook pro and I need to right click over a file from an ealier version of Office to make Office 2011 the default version of office.  This is all in preparation to install Lion (Lion won't support Office 2004 and I can't afford to lose access to these files).

    CTRL+click
    CTRL=control (in between the fn and alt/option keys).
    You can also go into System Preferences --> Trackpad and ensure "Secondary Click" is checked so that a two finger tap will act as a "right-click."

  • I'm on a  Mac and I need to know how to go one step back in Lightroom 5.   In other words, what is the Lightroom equivalent of Command Z in Photoshop?

    I'm on a  Mac and I need to know how to go one step back in Lightroom 5.   In other words, what is the Lightroom equivalent of Command Z in Photoshop?

    Command Z works for me on Lightroom - always has.
    Edit>Undo is the Menu command

  • What is the WinRT equivalent of MediaPlayerLauncher

    WP8 has MediaPlayerLauncher, so what is the WinRT equivalent of MediaPlayerLauncher for WP8.1?
    Hong

    Thanks, Rob. That is what I was looking for. This is a universal apps project. I tested this with the Windows version and it launched the default video player as expected.
    Hong

  • What is the Mac equivalent of the command "ctrl shift  I"  for a PC

    HI
    what is the Mac equivalent of the command "ctrl+shift + I"  for a PC to get to the cookies and delete them

    It varies depending on which browser you're using. In Safari, choose Preferences from the Safari menu, click on the Privacy tab, and then on Details.
    (101212)

  • HT2486 What is the Apple equivalent of an address label L7160 ? (21 PER SHEET)

    What is the Apple equivalent of an address label sheet L7160 (21 PER SHEET) ?

    Many thanks for your reply but my problem is that I have sheets of labels already  ........... however on the Apple address Book there seems to be no equivalent of a 3 column x 7rows sheet.
    Any ideas?
    Alan

  • What is apple's equivalent app to LG's smart share app

    What is Apple's equivalent content sharing app to Lg's Smart Share app?  I am looking to watch videos and look at my photos from my iphone4 on my LG Smart TV. 

    The [documentation|http://developer.apple.com/legacy/mac/library/documentation/Coco a/Reference/ApplicationKit/Classes/NSInputManager_Class/Reference/Reference.html ] says this:
    {quote:title=(from the NSInputManager Class Reference)}
    Important: NSInputManager is deprecated in Mac OS X v10.6 and later. Its replacement is NSTextInputContext class, described in NSTextInputContext Class Reference. To create input methods, use the Input Method Kit, described in Input Method Kit Framework Reference.
    {quote}
    ... and Input Manager's don't work with 64-bit applications (with Safari 4, for example, you'd need to use the 32-bit version).
    You might try option (C), create a WebKit plug-in.

  • What's the systemd equivalent of "HIBERNATE_MODE"?

    So my laptop hangs when going into hibernating (Lenovo x120e). The page on it in the Arch Wiki says to get around this, in pm-utils I would have to set the following at
    /etc/pm/config.d/hibernate_mode
    HIBERNATE_MODE="shutdown"
    However, this article is a little outdated, and the cool new thing is to use systemd to handle all this. Unfortunately though, I'm having trouble finding exactly what exactly would be the equivalent to this.
    My first guess would be a service file that specifically tells the computer to power-off after initiating hibernate, but I'm not sure.
    Anyone have any insight on this?

    You can configure the actions for suspend, hibernate and hybrid-sleep using /etc/systemd/sleep.conf, see systemd-sleep.conf (5) for details.
    The defaults are (taken from code):
    * suspend:
    ... no mode
    ... state: try mem then standby then freeze
    * hibernate:
    ... mode: try platform then shutdown
    ... state: disk
    * hybrid-sleep:
    ... mode: try suspend then platform then shutdown
    ... state: disk
    source:
    http://cgit.freedesktop.org/systemd/sys … p-config.c
    explanations for state and mode:
    https://www.kernel.org/doc/Documentatio … states.txt
    https://www.kernel.org/doc/Documentatio … swsusp.txt
    PS: If you want to use uswsusp or tuxonice, you'll have to create a custom executable similar to systemd-sleep, then disable e.g. the systemd-hibernate.service and replace it with a service that calls your custom handler instead.
    Last edited by progandy (2013-08-24 00:59:25)

  • What does this POSIX command find in a GREP style

    Hello..
    I was playing with the POSIX options in the GREP drop down menu and I was wondering what this one did?
    [[:space:]]
    I assumed it would find any whitespace..but it found nothing?
    does anyone know what this command actually finds?
    thanks!!
    babs

    Don't get mixed up in terminology Hexacolor? Presumably you meant Hexachrome®, which is a six colour process system from Pantone, Inc., rather than the standard four colours we all know and love.
    That ain't got nothing to do with GREP though.
    The xdigit GREP command is only of interest for programmers (and low-level ones at that), as it finds all digits of the hexadecimal system. "Hexadecimal" is like decimal, only more so: after counting from 0 to 9, hex goes on with A, B, C, D, E, and F, and only after that you need to add a digit for "10" (which consequentially stands for the decimal value "16"). The idea is that you can assign a simple value to each set of 4 bits, and because a single byte always consists of 8 bits, you only need two hexadecimal digits to represent any value for a byte, all the way from 0 up to 255.
    ... About the only use of hexadecimal is in the hard core field of low level programming. I don't think I've ever found [[:xdigit:]] useful in the field of text processing.

  • What is the mac equivalent of the windows run command

    I am a mac virgin, always used windows based pc's. I am finding it a bit of a struggle. What is the equivalent run command on a mac?

    To launch a program, double-click its icon or CONTROL-click it and select open. In the Terminal.app (CLI program), it's open <path to application>.
    Since you're a newcomer to the Mac, peruse Switching from Windows to Mac OS X and Basic Tutorials on using a Mac
    G4 450 MP Gigabit   Mac OS X (10.4.9)  

  • What is the JSp equivalent method for PHP isset function

    Hai guys,
    can u tell me the JSP equivalent method for PHP isset function.

    isset checks what? parameters?
    if(request.getParameter("paramname") != null) {                                                                                                                                                                               

Maybe you are looking for

  • IOS 5.0.1 on iPhone 4, will not sync at all

    Hello all, I could not find anyone else having this problem, all the problems I found were with battery life, which knock on wood, I have never had an issue with in my iphone 4 history. My problem is that I updated to 5.0.1 on Friday over the wireles

  • Is wrt120n wireless router compatable with befsr41 ver 2 router to connect them together?

    i cant get it to work with my other router and i need to because i have 5 things to connect to the internet and network.  Thanks  Gary Solved! Go to Solution.

  • Block change of Partner details in order

    Dear all, When we go to the Headers-->Partners tab in a sales order in the change mode, and double-click on the Partner mention there, a window opens wherein we can change the partner address and region. And thus make it different from that maintaine

  • Can't login with sqlplus 'sys/password@DEV as sysdba'

    Does anyone has idea why I get error message when I am logging using sqlplus 'sys/password@DEV as sysdba' ERROR: ORA-01031: insufficient privileges But I can login with sqlplus '/ as sysba' to DEV database. Do I need password file for remote as sysdb

  • Po vat problem

    Dear all, We have created po for assets for this  vendor has given vat 12.5%  and again  on vat surcharge cess on vat 5 %  is given& how to  close this po for example total net value-28,095 vat 12.5%-3,511.88 surcharge cess on output vat5%-175.59 toa