Application in Solaris 10

Hi,
I am new to Solaris10, just want to confirm if following applications are provided in Solaris 10.
Clock
Perf Meter
Audio Tool
Snapshot
Answerbook
If yes please provide me with path.
Thank You

Hi
I'm not sure exactly which apps you're after.
There are, amongst others
/usr/openwin/bin/xclock
[JDS uses clock-applet]
/usr/dt/bin/sdtperfmeter
/usr/dt/bin/sdtaudio
/usr/dt/bin/sdtimage
I think that answerbok has gone (if you are net connected, there's docs.sun.com).
Paul

Similar Messages

  • Migrating Legacy Applications to Solaris 10 Containers

    Hi, Good Day,
    We have some customers who are keen to migrate their legacy banking systems to run on Solaris 10 containers. We intend to assess the feasibility of the project.
    Kindly advice the considerations/potential pitfalls(if any) of running legacy Solaris 8 applications on Solaris 10 containers. Kindly advice those types of applications that cannot run on Solaris 10 containers?
    What kind of information should we extract from the customer to understand these considerations?
    Thank-you and Best Regards,
    Siong Guan

    Oracle migration workbench solve only the technical point of the migration. That won't solve the data mapping you have to define on your own.
    Data mapping is the most important task of a migration, totally depending of the source and target systems. You need expertise on both of them and discuss with the business and functional experts people.
    Then, and only after defining the data mapping, you can go for the technical migration.
    Nicolas.

  • Generating 32 bit applications on Solaris 9 / UltraSparc III+

    Hallo.
    I wish to generate some 32 bit applications on Solaris 9 and UltraSparc III+ platform. I need to do that as my process have to dinamically link a 32 bit shared object previosuly installed by another software (to be precise, the library is an "ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped").
    After my generation, some executables that runned perfectly on my previous UNIX SCO platform, now crash when exiting.
    Moreover I find out that my master process correctly launches the execution of a slave process (I traced the values of the paramters passed to the execv() system call) but the slave process immediatly exits because it gets wrong parameters (I found out that in the main() function within the slave program, the argc parameter is 0 (!!) that sounds really really strange!!)
    Is there anyone able to help me?
    For your information, when I compile my objects I use the following options:
    cc -g -xc99=none -xtarget=ultra -xchar -c <source>
    and when I link them I use the following:
    /usr/ccs/bin/ld -z defs -z verbose -dy -B dynamic -o <processname> <object list> <shared library> -lm -lc
    Doing so, both the master and slave process are "ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, UltraSPARC1 Extensions Required, dynamically linked, not stripped"
    Thank you in advance!!
    Gianni

    Why do you want to make your own link lines?
    Use cc to link, not ld. You ask for trouble.
    I made the following program:
    int main(int argc, char **argv) { return argc;}
    % cc -c t.c
    Then used your link line to link it:
    % /usr/ccs/bin/ld -z defs -z verbose -dy -B dynamic -o a.out t.o -ln -lc
    % a.out
    Segmentation fault (core dumped)
    Use cc to link. Do not try to use ld. Or if you really, really think you have to use ld yourselves, run cc -### ... first to se what link line it uses, and try to make the variation you need yourselves. But all kind of options to ld can also be given to cc.

  • Technical query w.r.t running C++ applications on Solaris 9.

    Hi,
    We have an C++ application which is compiled with Sun compiler 5.3 which comes along with Forte6 Update2. The application is compiled and linked on Solaris 9 platform. Will there be any issues while running this application on Solaris 8? Are applications built on Solaris 9 safely run on Solaris 8?
    Thanks,
    Vinay

    Sun supports moving old programs and binary files forward from old Solaris and compiler versions to be used with newer Solaris and compiler versions, but not the reverse. (Supporting the reverse would mean never providing new or improved features.)
    If you build an application on one Solaris version, you can run it on that version or later versions. In general it will NOT run on earlier Solaris versions.
    SImilarly if you create an object file (.o, .a, .so) on one Solaris version, you cannot use that file on an earlier Solaris version.
    When you plan to deploy an application on different versions of Solaris, you must build the entire application, including shared libraries that are part of the application, on the earliest version of Solaris that you intend to support.

  • Compiling C++ application for Solaris 5.8

    Hi,
    How can we build/compile C++ application to be deployed on Solaris 5.8 OS? Which compiler should be used for the same?
    We are exploring how this can be done. Request your help to identify the mechanism in which we can achieve this.
    We explored following but it didnt worked -
    - Using Studio 12 we build application on Solaris 10 but it is giving error at execution time
    ld.so.1: ./distmgr: fatal: libCrun.so.1: version `SUNW_1.5' not found (required by file ./distmgr)
    Questions -
    - Is Studio 12 supported on Solaris 5.8?
    - If ready made binaries are not available of Studio 12 then can be build this for 5.8? IS the source code of Studio 12 available?
    - Can Studio 12 on Solaris 10 cross complie for OS Solaris 5.8
    Thanks and Regards,
    vinit.

    I strongly advise against using WS62. Studio 11 is superior to WS6u2 by any reasonable measure. Valid source code that compiled with older compilers should continue to work correctly with later compilers. Any problems are usually due to invalid code that was incorrectly accepted by the earlier compiler. In some cases we provide compiler options to reproduce the old compiler behavior, but it is better to fix the code so that it is valid and has well-defined semantics.
    Consider also whether you would wind up mixing binaries built by WS6u2 with binaries built by a later compiler. If so, you must use the later (or latest) compiler involved to perform any link steps. That is, steps that create shared libraries or executable programs.
    We strive to maintain forward binary compatibility, meaning old binaries can be linked into new programs, but there are some issues with C++ compilers older than Studio 7 that can cause compatibility problems when the code is mixed with C++ code from newer compilers. In the worst case, a multi-threaded program can compile and link, but fail at run time, depending on compilation options used with WS6u2. It is safer to rebuild such old binaries using the newer compiler. Binaries created by Studio 7 or later compilers should not have that problem.
    I'm sorry to have to list so many caveats, but continuing to use obsolete software creates its own problems. We bring out new versions and retire old software for good reasons.

  • Using getRuntime().exec() with Serlvet to run applications in Solaris

    I am currently doing a project which requires the execution of Solaris applications through the use of Java Servlet with this Runtime method - Runtime.getRuntime.exec()
    This means that if the client PC tries to access the servlet in the server PC, an application is supposed to be executed and launched on the server PC itself. Actually, the servlet part is not an issue as the main problem is the executing of applications in different platforms which is a big headache.
    When I tried running this program on a Windows 2000 machine, it works perfectly fine. However, when I tried it on a Solaris machine, nothing happens. And I mean nothing... no errors, no nothing. I really don't know what's wrong.
    Here's the code.
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    Process process; Runtime runtime = Runtime.getRuntime();
    String com= "sh /opt/home/acrobat/";
    String program = request.getParameter("program");
    try
    process = runtime.exec(com);
    catch (Exception e)
    out.println(e);
    It works under Windows when com = "c:\winnt\system32\notepad.exe"
    When under Solaris, I have tried everything possible. For example, the launching of the application acrobat.
    com = "/opt/home/acrobat"
    com = "sh /opt/home/acrobat"I have also tried reading in the process and then printing it out. It doesn't work either. It only works when excuting commands like 'ls'
    BufferedReader read = new BufferedReader(new InputStreamReader(process.getInputStream()));Why is it such a breeze to execute prgrams under Windows while there are so many problems under Solaris.
    Can some experts please please PLEASE point out the errors and give me some advice and help to make this program work under Solaris! Please... I really need to do this!!
    My email address - [email protected]
    I appreciate it.
    By the way, I'm coding and compiling in a Windows 2000 machine before ftp'ing the .class file to the Solaris server machine to run.

    Hi!
    I'm no expert, but I think I remember doing something similar a few months ago, and I think the problem was that the UNIX server does not know which shell to use. The solution was this:
    Create a script that starts the program on the server, and be sure to include a first row saying:
    #!/bin/ksh
    to specify which shell to use (in this case Korn shell). Then call the script from Runtime.getRuntime().exec()

  • How to execute an application in Solaris using Runtime.getRuntime.exec() ?

    I am currently doing a project which requires the execution of Solaris applications through the use of Java Servlet with this Runtime method - Runtime.getRuntime.exec()
    This means that if the client PC tries to access the servlet in the server PC, an application is supposed to be executed and launched on the server PC itself. Actually, the servlet part is not an issue as the main problem is the executing of applications in different platforms which is a big headache.
    When I tried running this program on a Windows 2000 machine, it works perfectly fine. However, when I tried it on a Solaris machine, nothing happens. And I mean nothing... no errors, no nothing. I really don't know what's wrong.
    Here's the code.
    public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException
         response.setContentType("text/html");
         PrintWriter out = response.getWriter();
              Process process;                                                       Runtime runtime = Runtime.getRuntime();
              String com= "sh /opt/home/acrobat/";
              String program = request.getParameter("program");
              try
                        process = runtime.exec(com);
              catch (Exception e)
                   out.println(e);
    It works under Windows when com = "c:\winnt\system32\notepad.exe"
    When under Solaris, I have tried everything possible. For example, the launching of the application acrobat.
    com = "/opt/home/acrobat"
    com = "sh /opt/home/acrobat"I have also tried reading in the process and then printing it out. It doesn't work either. It only works when excuting commands like 'ls'
    BufferedReader read = new BufferedReader(new InputStreamReader(process.getInputStream()));Why is it such a breeze to execute prgrams under Windows while there are so many problems under Solaris.
    Can some experts please please PLEASE point out the errors and give me some advice and help to make this program work under Solaris! Please... I really need to do this!!
    My email address - [email protected]
    I appreciate it.
    By the way, I'm coding and compiling in a Windows 2000 machine before ftp'ing the .class file to the Solaris server machine to run.

    it is possible that you are trying to run a program that is going to display a window on an X server, but you have not specified a display. You specifiy a display by setting the DISPLAY environment variable eg.
    setenv DISPLAY 10.0.0.1:0
    To check that runtime.exec is working you should try to run a program that does not reqire access to an X Server. Try something like
    cmd = "sh -c 'ls -l > ~/testlist.lst'";
    alternatively try this
    cmd = "sh -c 'export DISPLAY=127.0.0.1:0;xterm '"
    you will also need to permit access to the X server using the xhost + command

  • Signals in Multithreaded Application on Solaris 10.

    HI All,
    I need to know are the signal handlers are inherited by threads.
    Assume I have defined a signal handler (assume for SIGCHLD )in main function before the creation of threads, and after that I create 5 threads. Can anyone please tell me if the signal SIGCHLD comes to any of the 5 threads will it be handled as signal handler defined earlier.
    Any comments will be appreciated.
    Regards,
    Rahul.

    What do you mean by 'linux application'? Right now, you'd have to recompile the program from source on Solaris or install a precompiled Solaris package.
    After the release of project Janus, you might have some other choices to run Linux binaries directly on a Solaris (x86) machine.
    Darren

  • Migrate solaris 8 oracle applications to solaris 10 using oracle vm

    Hi,
    I have Oracle Applications 11.5.8 running on Solaris 8 on SPARC machine (the forms and concurrent servers) and Linux SLES9 for the Oracle 9i database server.
    I am exploring if it's possible to migrate the forms and concurrent tier from Solaris 8 on SPARC to a Solaris 10 Oracle VM running on x86 platform. That is, 1) install Oracle VM on x86 platform 2) install solaris 10 on the solaris container of this VM (solaris 8 not supported) 3) try to move forms and concurrent application tier to this solaris 10.
    Has anyone tried this before or know whether it can be done?

    Moderator Action:
    This thread has been moved from the Solaris On x86 forum space,
    to the Oracle Applications Server forum space,
    for closer topic alignment.

  • Multicore on a Java application on solaris 8, JVM 1.4.2_12 64bits ?

    Hello,
    We have a solaris 8 server with eight Ultrasparc-III+ processors (8 cores/threads), so normally 64 logical cpu's.
    We have a java application multithreaded ( actually NLWP is reporting 46 threads ).
    What Solaris 8 command could I use to see if the JVM is using the cores of my 8 processors ?
    I tried to use prstat -L -p <pid> but I only see at maximum 6 different cpuname in the state column. Other threads are in the sleep state, stop state, others in the run state.
    For my understanding run state tell that the thread is waitting for cpu time (Runnable: process in on run queue. ).
    But why don't I see more than a thread running on the same cpu, it's like only 8 threads can be ran at the same time, it's like the cores were not used ?
    Thanks for your advises,
    Best regards,
    Francois

    Interdit wrote:
    But why don't I see more than a thread running on the same cpu, it's like only 8 threads can be ran at the same time, it's like the cores were not used ?What is the real question?
    The OS controls thread scheduling for threads that need to do actual work.
    If your threads are not doing actual work then they won't be doing anything. And you control the work with your code, neither the VM nor the OS controls that.

  • How to Debug C++ Multithreaded Application in Solaris

    Hi All,
    I am working in Solaris Sparc 5.8 Machine. I need to debug Multithreaded C++ Application in Unix Environment.
    I am using dbx debugger.
    Please explain me how to debug multithreaded applications. if possible please explain me with example.
    Thanks in Advance.
    Thanks & Regards,
    Vasu

    1. Look over the dbx manual that comes with Sun Studio. Dbx includes many features for debugging MT code.
    2. If you have specific questions after reading the manual and trying out the features, ask them in the debugger forum:
    http://forum.sun.com/forum.jspa?forumID=257

  • Linking applications for Solaris 2.5.1 using Forte C 6

    Hello,
    We still need to provide applications that have to run on 2.5.1. Is there a way to compile C code using Forte C 6 on Solaris 7, and deliver executables that successfully run on 2.5.1 ?
    Any help would be appreciated.
    Thanks.
    Yves.

    Ordinarily, the same source files and makefiles that work with C++ 5.0 on Solaris 2.6 should work with C++ 5.3 on Solaris 8.
    You didn't say what you did to "adapt the makefile" when changing compilers and OS versions. If the compiler was installed in the default /opt location on each system, we don't think any makefile change would be required. (You might want to make changes for performance or program organization reasons, but we don't think any changes are required just to repeat a working program build.)
    What happens if you use the original files that worked with C++ 5.0 on Solaris 2.6?
    Are C++ 5.0 and C++ 5.3 are both installed in the same /opt directory? That isn't allowed, and will lead to strange behavior.
    Are you continuing a build using the new compiler and OS in a directory containing old binary files or template cache? When changing OS and compilers, it is safest, but not strictly necessary, to rebuild all your binary files. At a minimum, you must delete the old template cache.
    Are you still using C++ 5.0 in the build process? If so, you must isolate the use of C++ 5.0 and 5.3. The compilers cannot share a template cache, so you must run compiles in different locations.
    Anything beyond these hints will require more support and analysis than we could provide in the Forum. You will probably need to generate a .i file from the compilation and have a support engineer look at it. If you have contract with Sun, please follow the service channel.
    - Rose

  • Delivering applications for Solaris 2.5.1 using Forte C 6

    Is it possible, using Forte C 6 as the development environment, on Solaris 7, to produce applications that will successfully run on Solaris 2.5.1 ?
    Any help will be appreciated.
    Thanks.
    Yves.

    Ordinarily, the same source files and makefiles that work with C++ 5.0 on Solaris 2.6 should work with C++ 5.3 on Solaris 8.
    You didn't say what you did to "adapt the makefile" when changing compilers and OS versions. If the compiler was installed in the default /opt location on each system, we don't think any makefile change would be required. (You might want to make changes for performance or program organization reasons, but we don't think any changes are required just to repeat a working program build.)
    What happens if you use the original files that worked with C++ 5.0 on Solaris 2.6?
    Are C++ 5.0 and C++ 5.3 are both installed in the same /opt directory? That isn't allowed, and will lead to strange behavior.
    Are you continuing a build using the new compiler and OS in a directory containing old binary files or template cache? When changing OS and compilers, it is safest, but not strictly necessary, to rebuild all your binary files. At a minimum, you must delete the old template cache.
    Are you still using C++ 5.0 in the build process? If so, you must isolate the use of C++ 5.0 and 5.3. The compilers cannot share a template cache, so you must run compiles in different locations.
    Anything beyond these hints will require more support and analysis than we could provide in the Forum. You will probably need to generate a .i file from the compilation and have a support engineer look at it. If you have contract with Sun, please follow the service channel.
    - Rose

  • Regarding java application in solaris server

    Hi,
    I did some modifications in a java application located in solaris server by doing some validations in a java file and put the compiled class file back in to the solaris server.If i need to see the modifications which i did in the java file, do i need to restart the application server ?If yes , please tell me Why should i do it ?Also Please tell me the procedure how to do it as well?

    What about hosting a Solaris server and Running Windows server inside it using virtualization?
    Edited by: Abh_kol on Jun 11, 2009 9:30 PM

  • Compiling an application for Solaris 9 on a Solaris 10 system

    Hi,
    I was wondering if it's possible to compile an application Solaris 10 in such a way that it will run on Solaris 9.
    I'm building a set of library tools and they need to run on Solaris 9 and 10, but it'd be nice if I could build this on a Solaris 10 box.
    Is this possible, and if so, how do you do it?
    thanks,
    Trevor

    I'm working on this same issue. Unfortunetly, it appears that my only option is to compile on a Solaris 10 box for running on a Solaris 8 box. Thankfully this doesn't look too bad because after doing a 'ldd', I get that the only file I'm missing is the libm.so.2. If I can specify in the makefile to use libm.so.1 only, then all should be ok.
    So I guess my question would be: What exactly do I need to do in my makefile to explicitly link to libm.so.1? I've tried the following with no luck.
    /opt/SUNWspro/bin/cc -xCC -Bdynamic -g \
    /usr/lib/libm.so.1 \
    /opt/mylibs/my_compiled_lib.lib \
    first_obj.o \
    second_obj.o \
    -o my_program
    The above returns:
    ld: fatal: file /usr/lib/libm.so.1: open failed: No such file or directory
    ld: fatal: File processing errors. No output written to macsruntime
    However, if I change my link to /usr/lib/libm.so everything works but it is linked with the /usr/lib.libm.so.2. Any help would be appreciated.

Maybe you are looking for