How to get link_status in solaris 10?

ndd -get $interface link_status used to show link status of an interface. but it is no longer available in solaris 10. anyone know the alternative?

'ndd' is very interface dependent. Some interfaces support it (sometimes in different ways), and some don't at all (and this has nothing to do with Solaris 10).
So, what interface are you referring to?
Also, you may simply be able to use 'kstat' instead.
kstat -n '<interface>' will give stats in most cases, including link status.
Darren

Similar Messages

  • How to get the user piveliges in Solaris

    Dear All,
    In solaris how to get the user priveliges,
    Example:lsuser -f "user name"
    In AIX the above command will show the user priveliges,that user having su access or not like that,I want to know in Solaris,i gone through "ppriv" it not giving the valid information.
    Kindly tell me how to get the user priveliges.
    Regrads,
    Venkatachalam.M

    -K- (!),
    I followed your suggestions and it works well now. Do you know why I prefer to see the UI in english ? Because the help and everything else (documentation) is in english making very difficult to find in the french UI what is referred to in the english on-line help.
    Merci de votre aide !
    Christian

  • How to get cwd of the current process in the kernel in Solaris 8

    Hi, everyone
    Does any one know how to get the path name of the current working directory of the current process in the kernel in Solaris8 ?
    I searched the forum and got some related links, but none of them gives a clear solution.
    Sample code can help a lot!
    Thank you!

    NiuLin wrote:
    Thanks for the reply.
    What the user structure contains is the vnode pointer of the cwd, but I want go get the pathname of it, like /export/home/abc/.First, all you can get is a path name - there can be more than one. And then there's the problem of determining the path name you want if the process is running under chroot.
    Assuming you don't have to deal with those, there's this thread:
    http://forum.java.sun.com/thread.jspa?threadID=5084620&messageID=9298124
    Of course, that thread doesn't say how to do that. But it appears to be part of Solaris 10.
    I once had to solve this same problem for a Linux kernel module I wrote, so I know it's theoretically possible. But I also know it's not as simple as it seems it should be, and any results you do get are not guaranteed to be unique and, IIRC, not even correct in some cases.
    Sorry I can't be more specific than that right now.

  • How to get the sparc c compiler in solaris 9.

    How to get the sparc c compiler in solaris9 is the licence one?. If it is license what was the procedure to get the software.

    The gcc compiler is available on the "extra" disk in Solaris 9, but we don't recommend using gcc for Solaris development. (You can if you want to, but you will get better performance using the Studio C compiler.
    For Solaris 9, which is now obsolete, the most recent version of Studio that supports it is Sun Studio 12 (released in 2007). You can download it here:
    http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/ss12-136026.html
    Patches for Studio 12 are available to fix known bugs, but you need a service contract with Oracle to get them. Click on the "Support" tab for details.

  • How to get the Solaris 10 HW1

    Dear Gents,
    Please advice on how to get the Solaris 10 HW1 release OS release. i could not find it in the internet.
    Appreciate your help as i am planning to install it on Sun V490 1.5GHz CPU server.
    Best Regards and Thank you very much
    Hisham

    Hello Hisham,
    Solaris 10 HW 1 was a (minor) update to Solaris 10 3/05 (GA) to add support for certain hardware (e.g. these 1.5GHz modules) until Solaris 10 1/06 was released. Therefore this release is more than 4 years old. Just download the current release (Solaris 10 10/9).
    Please be aware that due to recent changes in licensing Solaris 10 requires a support contract. If you're plannung to upgrade to faster cpu modules with Solaris 10 already installed, this is covered by your license.
    Please update to the current release before swapping the CPU/Memory Board(s).
    Michael

  • How to get the amount of free physical memory?

    How to get the amount of free physical memory?
    (without sudo or root)

    vmstat will give it to you.
    Although the question depends a bit on what you mean by free memory.
    The figure vmstat labels free (in any reasonably recent version of solaris) actually represents memory mostly filled with cached file contents. So it represents memory that can be easily released if needed by something more important.
    Like most unix versions, solaris will use any free memory to cache files thats have been read/written previously just in case they are needed again

  • How to get the size of physical memory by using system call ?

    how to get the size of physical memory by using system call ?What system call can be used for me to get the size of physical memor? thanks.

    %vmstat 3
    procs memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 -- -- -- in sy cs us sy id
    0 0 0 3025816 994456 4 19 6 0 0 0 0 8 0 0 0 459 253 139 1 1 99
    0 0 0 2864688 777408 0 2 0 0 0 0 0 3 0 0 0 428 134 175 0 1 99
    0 0 0 2864688 777408 0 0 0 0 0 0 0 7 0 0 0 448 112 166 0 0 100
    one interesting observation about vmstat I found out is (mostly on Solaris)
    the first line of information always off chart, so I usually do a few interval to get constant result.
    if you use linux
    just
    cat /proc/meminfo

  • How to get 10g SDK

    It is not at all clear how to get the 10g SDK.
    In a previous thread it was suggested by Jean-Marc Robillard:
    "The Calendar SDK in part of the Oracle Universal Installer package with 10g, so when you select "calendar" as part of the installation, you have an option for the SDK pacakage, including the client-side libraries."
    This doesn't really explain what is required to download or what cd/s are required.
    Can you get the SDK without the Calendar Server ie. We want to use the 10g SDK with the 9.0.4 Calendar Server.
    Also if you are installing 10g Calendar Server on say HP/UX but want the SDK for Windows how does this work?
    Regards
    George Richardson

    To add another voice to the growing number of requests for a separate SDK package for various platforms ...
    A colleague installed the 10gr1 server package on Solaris. In the ... oracle/product/10gr1 directory installed locally are multiple directories containing various shared library (.so) files and Java libraries (.jar) in the hierarchy. No 'readme' file, comparable to that found in the 9.0.4.2 distributions and the 10g SDK distribution for Mac OS X, could be found within that hierarchy. And it isn't clear which of these library directories and/or files should be referenced in the LD_LIBRARY_PATH environment variable.
    Presumably, as a result of referencing one or more inappropriate directories, we've already received some comical errors, such as:
    java.lang.UnsatisfiedLinkError: [...]/libcsdkjni.so: ld.so.1: java: fatal: [...]/libclntsh.so.10.1: wrong ELF class: ELFCLASS64
    Presumably, a packaged 10g SDK would mitigate some of these types of errors. :-)
    For starters, where can the 'readme' files for the various SDK distributions, other than the one included with the relatively cohesive Mac OS X distribution, be found?

  • How to get information about file owner in UNIX

    Dear all
    I would like to write a file management program in Solaris 8 using Java.
    However, I don't know how to get the file owner and file permission information
    by any Java class. Please advise.
    Sincerely Yours
    Mr. Voravit H.

    I fear there will be no pure java solution, because file owner and file permissions are platform-dependent issues, especially about the gory details (groups, executable / sticky / setuid-bits, ACL etc.)
    AFAIK java supports only the notion of a file's being readable or writeable but nothing further.
    On the other hand, some (even popular and wide-sprread) platforms / file systems do not have the notion of the owner of a file.
    So you will need some platform-specific solution like running an external command or calling the C function "stat".

  • How To: Mylex 170 RAID + Solaris 8 x86

    Hi,
    My hardware:
    1. Intel SAI2 Server Board
    http://developer.intel.com/design/servers/sai2/
    2. Mylex 170 RAID Adapter
    http://www.mylex.com/products/acceleraid/datasheets/aclrd170.html
    it always tell me "no disk found" when install Sol8 x86 (10/01). i already try to install from Software #1 but also don't work. i also try the Solaris 7 driver from Mylex website
    http://www.mylex.com/support/productgd/index.html
    it's don't work too. Anyone can help me? 1,000,000 Thanks
    Chris

    Hello Michael,
    thanks for the information.
    There is no support for the Promise Ultra 133 IDE controller listed.
    Also, searching the internet for a private developed driver was not
    successful.
    Anyway, I have tried to make a test installation on a hard disk
    connected to the primary IDE controller and I detected a lot of
    further installation problems with my equipments because of
    missing or not properly identified drivers.
    So I think I have to make further investigations on concepts
    how to get Solaris 8 run in the best way.
    Thanks again for your help,
    Thomas

  • How to get certificate from sun one directory server

    I have installed sun one directory server 5.2. Now in order to connect to the server through ldap protocol i need certificate on the client side.
    How to get the certificate from the sun one directory server...??
    ( Earlier i tried the same procedure with active directory .and i got the certificate successfully ...as well as ldap authentication..but don't know what to do with the sun one..???)
    Any tips on this issue will be helpful
    thank you

    You didn't make mention of setting up ssl on the server side, so search these boards for openssl. Some nice person uploaded an nice example of how do use openssl to do this.
    To get the ssl certs for the solaris-client ssl authentication ( tls:simple ) to work you will need to use netscape to connect to the ssl port to get the right format. There are comments in that same doc on how to do that.

  • How to sign applet on Solaris

    Can somebody help me figure out the applet signing procedure/utility for the solaris platform ASAP. We got the following error message if we try now:
    When trying to start MainMenu (converted Oracle form) on Solaris from panda using JDK1.3 plug-in, I am getting the
    following exception:
    "java.security.cert.CertificateException: Unable to verify the certificate with root CA"

    Rajesh.Rathod wrote:
    Hi All,
    i have a 1og database on solaris os.
    How to access isqlplus on Solaris.
    Thanks in advance.
    Regards,
    Rajeshisqlplus is a web-based app. Fire up any browser and point to the appropriate ipaddress:port.

  • How to get the roles/quotas

    Hi all,
    Db:oracle 9.2.0.6
    os:solaris 8
    can anyone please tell me.....how to get below details all of database users..like user roles,quotas....
    userid,default tablespace,default tablespace quota,system roles,other roles,password expairy.
    thanks,
    kk.

    kk001 wrote:
    Hi all,
    Db:oracle 9.2.0.6
    os:solaris 8
    can anyone please tell me.....how to get below details all of database users..like user roles,quotas....
    userid,default tablespace,default tablespace quota,system roles,other roles,password expairy.
    thanks,
    kk.
    You can query,
    -dba_users
    -dba_profiles
    -dba_roles
    -dba_tab_privs
    -etc
    Cheers

  • How to get the values from table SKB1 R/3  to SRM

    Hi Gurus,
    My requirement is to get all the values from the table SKB1 to SRM (i.e. in to an internal table) for doing some validation(G/L account XXXXXX requires an assignment to a CO objectXXXXXX.)
    Like wise I have many tables for doing validation in SRM
    Help me how to get this, suggest me any Function module with sample code.
    OR
    Any Standard FM which will give all the values of the fields in the table SKB1 when I pass the key fields G/L account & company code alone so that I can improve the performance.
    Suggest me.
    Regards
    Paul

    Hi,
    You can use the FM 's META_READ_TABLE Or RFC_READ_TABLE
    Which SRM / Backend system version are you using ?
    Are you taking care of the Importing paramater - DELIMITER in this case.. ??*
    See related links ->
    Re: Retrieving data from R/3 into SRM
    Re: Product Search TIME lag
    Else you can just call the remote enabled  FM "BAPI_GL_ACC_GETDETAIL"  from SRM.
    BR,
    Disha.
    Do reward points for useufl answers.

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

Maybe you are looking for

  • Layout Issue In ALV Grid

    Dear All, I have made an editable ALV andafter entreing data and successful update it will show another ALV. The issue is that user has saved different Layouts for the 2 ALV's and made it user specific. But again when the report is executed then the

  • Error: sql.SQLError: [-4008] (at 1) Unknown user name/password combination

    Hello Experts, After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error: Logical Command: DBMRFC Parameter: exec_lc

  • Connect to wlan using eaptls

    I prepared a configuration profile in ICU for authentication of my MAC in WLAN using EAP TLS with certificate. On MAC (Lion and Mountain Lion) it works well. I applied the same profile to my iPhone (iOS 6.1.3) and Iphone does not join WLAN. On debug

  • How do i get my imovie dvd to play on my dvd player

    I have made a movie on my imovie, and it will play on my macmini and my laptop but when I put it in my dvd player it says disc error.  How do I get it to play on all dvd players?

  • Running 10.5.8  Virus is attacking my address book.  Help please.

    running 10.5.8   Virus is attacking my address book. help please.