A locate command for solaris

Hi all,
does anyone know any equivalent to the locate command for Solaris?
Thanks all
Here I'm helping others to find it faster than me :-)
locate for solaris
locate equivalent for solaris
how to find files in solaris
how to find directories in solaris
find filenames quickly

This would be a good question for one of the forums on opensolaris.org, you might
get better answers there. If the file you are looking for was installed via packages,
then you can use the package database to look it up.
I think you have to be root (which is lame). Here is an example for
the file "libxil.so.1"
# pkgchk -l -P libxil.so.1
Pathname: /opt/SUNWits/Graphics-sw/xil/lib/libxil.so
Type: symbolic link
Source of link: /usr/openwin/lib/libxil.so.1
Referenced by the following packages:
SUNWxilrl
Current status: installed
Pathname: /opt/SUNWits/Graphics-sw/xil/lib/libxil.so.1
Type: symbolic link
Source of link: /usr/openwin/lib/libxil.so.1
Referenced by the following packages:
SUNWxilrl
Current status: installed
Pathname: /usr/lib/libxil.so
Type: symbolic link
Source of link: ./libxil.so.1
Referenced by the following packages:
SUNWxwrtl
Current status: installed
Pathname: /usr/lib/libxil.so.1
Type: symbolic link
Source of link: ../openwin/lib/libxil.so.1
Referenced by the following packages:
SUNWxwrtl
Current status: installed
Pathname: /usr/openwin/lib/libxil.so
Type: symbolic link
Source of link: libxil.so.1
Referenced by the following packages:
SUNWxilrl
Current status: installed
Pathname: /usr/openwin/lib/libxil.so.1
Type: regular file
Expected mode: 0755
Expected owner: root
Expected group: bin
Expected file size (bytes): 952740
Expected sum(1) of contents: 59048
Expected last modification: Jan 22 19:00:53 2005
Referenced by the following packages:
SUNWxilrl
Current status: installed

Similar Messages

  • Is there chatr command for solaris??

    Hi Everybody,
    In HP-UX, I use chatr command for finding the library dependencies and for changing their flags dynamically.
    Can you please let me know if there is any such command in solaris 10??
    I know ldd command, but it does not allow me to change the library loading flags.
    Thanks in advance
    Durga Prasad

    Solaris will always use your LD_LIBRARY_PATH to find the location of your dynamic libraries. If you haven't defined any LD_LIBRARY_PATH the systems settings are used instead. You may alter the default settings of your system by running the crle utility.
    As far as i understand; if you build a static library under Solaris, the executable will actually contain the static libraries which you linked into it so it won't have to load external libraries.
    7/M.

  • Command for Solaris Interactive (IA) priority class or  Timesharing

    Hello All,
    I need to find command which willgive me whether solaris is using Solaris Interactive (IA) priority class or Timesharing (TS) class
    Winston

    Well, if your system is using a non-standard schedulingclass its normally specified in /etc/system .
    The command which controls the scheduling classes is priocntl
    To check which class your processes are using you can use ps, for example you could type:
    ps -eo user,pid,comm,class
    .. to display username,pid, command and the scheduling class of each process.
    //Magnus

  • [svn:bz-trunk] 21277: Added ds-console source to package-oem and removed copy command for datavisualization .swc which doesn't exist in the specified location.

    Revision: 21277
    Revision: 21277
    Author:   [email protected]
    Date:     2011-05-18 11:35:28 -0700 (Wed, 18 May 2011)
    Log Message:
    Added ds-console source to package-oem and removed copy command for datavisualization.swc which doesn't exist in the specified location. I do not find it in the most recent package-oem.zip neither
    Modified Paths:
        blazeds/trunk/build.xml

    Gusar wrote:No, it's not. I have actually seen cases where software rendering gave a higher glxgears score than hardware rendering (and no, it wasn't about vsync). Of course, with *actual* apps on the same machine, software rendering sucked compared to hardware rendering.
    Please do not jump to conclusions and make assumptions here like 'when will people finally get it??'.  I never said it was a benchmark.  I have also seen many examples of where it's results do not go with conventional performance.  I have a Radeon 9000 that goes faster on glxgears than a Geforce FX 5600 running Nouveau.  Which is the faster card?  The FX by miles.  It is not a benchmark as it can not be compared between configurations.  What I know is that on this individual system, from prior experience over many years when 3D acceleration is working glxgears gets between 300 and 400 fps.  When it is not working it gets less than 10.  That is a fact but does not mean it is benchmarkable.  Yes, a Quake 3 timedemo (I have these numbers too and they very much correlate to glxgears performance for this system given just how slow it is) would be a benchmark but when it runs less than 0.1fps and even the 2D rendering means that navigating the menu is impossible, there just isn't the time to find out.  Hence if playing around with drivers on this system I would use glxgears to check that 3D acceleration is working but not to benchmark.  Glxinfo does not give you all this evidence.
    But to clarify, I wouldn't use glxgears as a benchmark, benchmarking is different and I do a lot of that too.

  • Solaris commands for SPARC servers

    Hello fnds,
    Can anybody provide me the document for solaris commands necessary for SPARC based servers.
    BR//
    Vinod

    Hello.
    Have you checked [http://docs.sun.com/]?
    Martin

  • Unix Solar commands for Oracle

    Can any body forward me Unix/solars main commands for Oracle Use.
    Arif

    The main ones are
    sqlplus
    emctl
    lsnrctl
    Use and syntax are in the documentation at http://docs.oracle.com

  • Need Agent Installer for Solaris (SPARC)

    Hi All,
    I have downloaded Grid Control Agent Installer for Solaris from http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html.
    When I tried to extract the zip file, I am getting the following error message.
    "Can not open file. It does not appear to be a valid archive. If you downloaded this file, try downloading the file again."
    Even I tried using http://sac.us.oracle.com/download/index.html also but getting the same error.
    Please send me the location if you have,
    Thanks
    Sumathi

    Most commands are identical. Performance analysis, loading all are similar. Tape interaction, creation of tape devices is going to be pretty much the same.
    The differences show up a lot at the hardware level. HBAs aren't usually the same, many drivers (and their quirks) are different between the architectures. If you're debugging connectivity to a tape library, those differences may be critical.
    So you can't get as close as you may want, but I'll bet it would still be helpful.
    Darren

  • Sysdef command in Solaris 10.

    Hi All,
    sysdef command in Solaris 10 ( 5.10, s10_58 ) no more reports the message queue related Kernel
    parameters i.e msgsys:msginfo_msgmax ( MSGMAX ) etc. For more info refer the link below :
    http://docs.sun.com/db/doc/816-7137/6md5paukq?a=view
    Since sysdef command no more reports the above parameters, what is the other way we can get the
    same in Solaris 10? We have written our script in such a way that it greps for MSGMAX from the outcome
    of sysdef and gets its value and perform certain operations. Quick reply would be greatly appreciated.
    Thanks

    We have written our script in such
    a way that it greps for MSGMAX from the outcome
    of sysdef and gets its value and perform certain
    operations. Quick reply would be greatly appreciated.msgmax (maximum per-message size) has been removed completely -- there is no equivalent on Solaris 10. Instead, the
    maximum total bytes on the queue, process.max-msg-qbytes (previously msginfo_msgmnb) is the only restriction on what can be placed in a SysV message queue.
    To retrieve the current value of this in a script, you can use:prctl -P -n process.max-msg-qbytes -t privileged $$ | tail -1 | read x x value x x xNote that this is no longer a system-wide tunable -- the administrator can control this on a per-project basis. (see projects(1))
    - jonathan

  • How can I use custom WLST commands for Oracle SOA Suite in Weblogic

    Hi There,
    I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
    I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
    However, my WLST shell is not recognizing the commands and giving me the NameError!
    wls:/devDomain1/domainRuntime> listLogs()
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: listLogs
    I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
    I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
    - Launched the WLST shell from Oracle Home.
    cd ORACLE_HOME/common/bin
    ./wlst.sh
    - Tried to run the listLogs command from domainRuntime()
    I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
    I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
    There is no SOA Suite installed.
    Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
    Please advise if this is possible and how?
    Cheers.
    Satish

    I have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
    CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
    The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
    I hope this can help

  • ORACLE CLIENT 9.2.0.6.0 for Solaris

    I need to download ORACLE CLIENT 9.2.0.6.0 for solaris. I could not locate the link online.
    Can somone provide me the link from where this can be done?
    regards
    akshay
    IT Analyst
    Morgan Stanley.

    9.2.0.6 is not a basic release,it's a patchset and available on metalink only. You need a valid support contract.
    Werner

  • The deployment process seems to die or get stuck, iAS 6 SP3 for Solaris 8?

    When I deploy my application in iAS 6 SP3 for Solaris 8 the deployment process seems to die or get stuck. In the shell window i get the messages
    iasdeploy for iPlanet Application Server 6.0 SP3
    Connected to LDAP server on sstu15.auto.com port 389
    iPlanet Application Server is running in international mode
    sstu15:null
    sstu15:10 kas> deployment action ''J2EEInstallEar'' (/u02/home/iplanet/JAR/SSS.ear) running.
    sstu15:10 kas> deployment action ''J2EEInstallEar'' (/u02/home/iplanet/JAR/SSS.ear) running.
    After this nothing happens for a really long time.
    When starting the deployment I get in the beginning of kas.log two entries
    ADMIN-168: kas> deployment get log ''J2EEInstallEar''
    GDS-007: finished a registry load
    but suddenly the second line disappears and the only message I get is the first entry. I need to break the deployment process and kill the processes manually.
    When starting the application server I get two error messages:
    Connected to LDAP server on sstu15.auto.com port 389
    iPlanet Application Server is running in international mode
    Connected to LDAP server on sstu15.auto.com port 389
    iPlanet Application Server is running in international mode
    iPlanet Administrative Server
    Version 6.0 SP3, Build 20010704
    Copyright (c) 1996-1997 KIVA Software Corporation.
    Copyright (c) 1998-1999 Netscape Communications Corporation.
    Copyright (c) 2000-2001 Sun Microsystems, Inc. Some preexisting portions Copyright (c) 2000 Netscape Communications Corp
    . All rights reserved.
    Use of this software is governed by the terms of the executed license agreement between you and iPlanet E-Commerce Solutions.
    [14/Feb/2002 11:02:12:7] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''0'' (CCS0)
    [14/Feb/2002 11:03:08:8] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''1'' (CCS0)
    I think all processes starts OK, I get one for .kas and one for kas, one for .kxs and one for kxs and finally one for .kjs and one for kjs.
    Is someone familiar with this/these problem(s)?

    It seems you are deploying a very big application. Try to deploy this application with following command
    j2eeappreg <filename>
    It should work fine. It was a bug with iasdeploy command in iAS SP3 which had been fixed in iAS SP4.

  • Ps (list process) command in Solaris 10

    Dear all
    I'm upgrade from Solaris 9 to Solaris 10 and recently I meet one problem:
    In solaris 9, If I want to check the complete command for the running process, I could use
    /usr/ucb/ps -auxww
    then, the system could gives me everything.
    But in Solaris 10, I use the same command, but it seems that system has "cut" the args and I can't get the expected result anymore.
    Anybody ever meet such a problem before? could you give me some hints?
    Cheers
    Shen

    Under normal circumstances, the /usr/ucb/ps command is attempting to read the ARGV[0] from the process itself. This string can be long, but is under the control of the process (it can change it while it runs). Also, because of security issues, reading this data requires process privileges (usually have to be the owner or root).
    If privileges do not exist, ps will fall back to using the kernel buffer holding the first 80 characters of the exec string. This string is potentially shorter, but not under the control of the process, and no security restrictions exist for reading it.
    Besides /usr/ucb/ps, you can use 'pargs <PID>' to view this string. Of course if privileges aren't held, it won't tell you anything new. But it may be more explicit in telling you that fact, rather than silently substituting the kernel string instead.
    $ pargs 597
    pargs: cannto examine 597: permission denied
    Darren

  • Also I need ndiswrapper support for solaris 10

    I have a linksys -G type router and my computer uses a Linksys Wireless-G PCI Adapter with SpeedBooster
    which works in Linux like mandrake , debian systems like knoppix and kanotix but their are some buggy like debian also that don't let me change the essid in debian but most linux works with the drivers for my card which are
    04/13/2004 10:01 AM 7,870 BCM43XX.CAT
    03/31/2004 08:44 AM 11,960 BCMWL5.INF
    02/19/2004 11:51 AM 300,928 BCMWL5.SYS
    normally you install the drivers with ndiswrapper -i BCMWL5.INF then use -m to add it too the model loader program in linux which adds wlan0 to ifconfig and iwconfig programs
    which also ndiswrapper requires the source code of the kernel to install the ndiswrapper right , it req. it too compile the drivers, and using the linux gui programs to setup essid and key wep info
    also I use a script in kanotix to use /etc/network/interfaces to load the info on bootup etc.. to get my wireless network card up in linux.
    also how the support for soundblaster sound cards in solaris 10, I have not fingured out if theirs sound yet. freebsd 5.4 seemed to be missing the sound support
    one more thing in bootup of the install program for Solaris 10 my geforce 6800 card detected right but my tv output was all wrong in since the picture , was only on the monitor and tv had stange graphics on it which did not look right I hope nvidia drivers fix this problem , Is their any different command needed for clone mode in Solaris 10 then free86 nd xorg scripts use?

    I got the solutiion from Canon Customer Serivce, temporary until the 10.10 download is released.  It works:
    "You can download the latest software updates at this address:
    http://www.usa.canon.com/cusa/support/professional/professional_cameras/eos_digital_slr_cameras/eos_...
    Please select "OS X Mavericks v10.9" using the drop-down menu on the page.  You have to pick the previous version of Mac OS, because the options for OS X 10.10 Yosemite have not yet been populated.  I sincerely apologize for any confusion this may cause.  After selecting OS X 10.9, please click on the red triangle next to the word "Software" to see the software updates available for your computer.  I would recommend updating all of your software including EOS Utility and Digital Photo Professional."
    I never did find the drop-down menu, but I went into the site map and found what I needed.
    Barry

  • 64-bit WLS 11G for Solaris?

    I can not locate the 64-bit version of WLS 11G for Solaris. When I go to the download page all I see are 32-bit versions (at least they look like 32-bit version as denoted by the filenames such as wls1031_solaris32.bin).
    I have attempted to go through the e-delivery site but do not want to download a 21 part 11Gig file if it is not the correct one.
    I would appreciate any help at all.

    I am pretty confident that you need the 64 bit JVM for your platform, then you need to use the generic installer, this is based on how it has been done in prior releases.
    So you can find the available JVM's for your platform here:
    http://www.oracle.com/technology/software/products/ias/files/oracle%20fusion%20middleware%2011gr1%20(11%201%201%201%200)%20certification%20matrix.xls
    In this case that would be Sun JVM 1.6.0_11+
    OR
    JRockit 6 Update 5 R27.6.2+
    Then you should be able to run the generic installer here with that downloaded supported JDK:
    http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html
    I was not able to find anything specific on the documentation pages that described this process in detail, but you can always open a support case to get some assistance. I will check with the documentation team to see if that is going to be documented or already is.
    If you look at the 10gR3 releases, it shows how the generic installer is used, for example:
    http://e-docs.bea.com/platform/suppconfigs/configs/solaris/solaris10_103.html#104355

  • Reconfigure reboot for Solaris 10 u5 x86 guest in VirtualBox

    Hello,
    I just installed the new kernal patch into a Solaris 10 u5 x86 32-bit guest OS in VirtualBox 2.0.4 on a WinXP 32-bit host. I need to do a reconfigure reboot. I can't seem to get to the ok prompt from which to use boot -r. init 0 does not work, it only offers a "push any key to reboot."
    What is the optimal way to initiate a reconfigure reboot for Solaris 10 in my setup?
    I tried the grub-based technique in which, upon reboot, I get the grub menu and push "e." That gets me to another grub screen with 3 entries. I selected the kernal entry, pushed "c" to add "-r" to the end of the line, and then "b" to reboot. Is that the best way to reconfigure reboot for Sol 10 x86.
    The above method did configure devices on reboot, but I'm not sure that is the best way to boot -r
    Thank you in advance...

    x86 machines (including virtual machines) do not have an OBP or an 'ok' prompt.
    You have to manipulate the GRUB either through interactive commands like you've shown, or by editing the menu.lst file to change boot parameters.
    Of course for reconfiguration, you also have the option of touching '/reconfigure' and doing a normal reboot.
    Darren

Maybe you are looking for

  • I updated  my Iphone 4 to IOS 7.1.2 and i loss all my Pictures

    Hi When I did update to my iPhone (IOS 7.1.2) the phone automatically turn off and then ask my to connect with iTunes I don't know why ? that is a first time always just do the update from phone, I connect the iPhone with iTunes and ask me to do back

  • Can you revert back to an older version of I tunes?

    I have OS X 10.4 and tried to download the latest version of Itunes. Under system requirements, I thought it said you must have OSX 3.9 or later . . .so I downloaded it. Now when I try to open I tunes on my computer it says "you must have OS X 4.2 or

  • Run-Time Errors cause wierdness

    I have a remote object call that sends a query string to a database. I am trying to catch errors coming from the database because of bad sql statements. In my code there is an IF statements that checks if the first row returned is an object by trying

  • Using aniPod with no computer?

    Sounds crazy, but I am inquiring for an aquaintence who has won an iPod and a radio/alarm/ipod player. He is completely computer illiterate and has no direct access to a computer. Someone had mentioned to him that he may be able to send his iPod out

  • Available Serial Numbers

    Hi all, In case, an Item Master Data has no Serial Numbers Management ( Serial Manage Item by : None) , and there is stock into the warehouse (either by transactions or  by initial quantities)  and it decided change of  Serial Numbers Management Stat