Questions tagged [solaris]

Solaris is a commercial Unix operating system sold by Oracle, previously (before 2010) from Sun Microsystems. It can run on SPARC or x86 hardware.

Solaris is a Unix operating system originally developed by Sun Microsystems as a successor to SunOS. Oracle Solaris, as it is now known, has been owned by Oracle Corporation since Oracle's acquisition of Sun in January 2010. OpenSolaris (the open-source version of Solaris) was abandoned at that point.

Solaris is known for its scalability, especially on SPARC systems (), and for originating many innovative features such as DTrace, ZFS and Time Slider. Solaris supports SPARC-based and x86-based workstations and servers from Sun and other vendors.

Resources

2780 questions
9
votes
7 answers

Where to set LD_LIBRARY_PATH on Solaris?

What is the best place to set up application specific LD_LIBRARY_PATH variable on Solaris? How does LD_LIBRARY_PATH variable work? We currently set it up in .kshrc, but different applications need different versions of messaging framework, but…
Ville M
  • 2,009
  • 7
  • 30
  • 45
9
votes
6 answers

Is there a way to read environment variables of other processes using Perl and in a Linux or Solaris environment?

In Perl, I need to read the environment of other processes. The script is running with root privileges. The script will be running in both Linux and Solaris. I would like a solution that's mostly platform agnostic, at least between Linux and…
jac_no_k
  • 237
  • 3
  • 4
  • 7
9
votes
3 answers

High availability and scalable platform for Java/C++ on Solaris

I have an application that's a mix of Java and C++ on Solaris. The Java aspects of the code run the web UI and establish state on the devices that we're talking to, and the C++ code does the real-time crunching of data coming back from the devices.…
Andrew
  • 11,894
  • 12
  • 69
  • 85
9
votes
2 answers

Hide symbol(s) in Shared Object from LD

I have two third-party libraries occasionally having the same symbol name exported. When the executable is loaded, ld usually picks the wrong one and I getting crash as a result. I cannot do too much about the content of these libraries, so may be…
Dmitry Khalatov
  • 4,313
  • 3
  • 33
  • 39
9
votes
3 answers

Mini Project: Change the color of the terminal based on the time of day

Good Evening, I am pretty new to Unix so maybe this mini project is too ambitious. Hoping someone could point in in the right direction. Working in a cubicle and I can't see how light it is outside. In general I use a yellow terminal in the…
sixtyfootersdude
  • 25,859
  • 43
  • 145
  • 213
9
votes
1 answer

What causes ECONNREFUSED on UNIX Domain Sockets?

In TCP servers, I understand that a Connection Refused would either be because the The process stopped listening, by calling close on the server-socket (existing connections stay open, and new connections are refused), or The process ended, or The…
700 Software
  • 85,281
  • 83
  • 234
  • 341
9
votes
2 answers

quickest way to count the number of files in a directory containing hundreds of thousands of files

In a solaris system that processes large numbers of files and stores their information in a database (yes i know that using the database is the quickest way to get information about the number of files we have). I need fast way to monitor the files…
Andrew
  • 397
  • 1
  • 3
  • 13
9
votes
5 answers

expect utility is not working when executing from jenkins

we have a unix script which uses expect utility for interactive execution. This script works well when we run from unix server. If we run this script from Jenkins, it is not working. Below is the script var="xxxxx" expect -c " spawn sudo cp…
Kishore Tamire
  • 2,054
  • 5
  • 23
  • 25
9
votes
1 answer

Does Boost C++ library support Solaris on Sparc?

I have been looking at Boost libraries for development of a cross-platform network server library. It is supposed to be used on Windows/Linux/Solaris. Does boost support these three? Only thing i can find by googling is some build trouble and that…
Allman
  • 290
  • 2
  • 12
8
votes
1 answer

Solaris 11 seems to be missing system header files

I've installed Solaris 11 x86 (in a qemu environment) from here: http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html I've untar'd into /opt Sun Studio 12.3 x86 for Solaris 11 from here:…
Z.T.
  • 939
  • 8
  • 20
8
votes
3 answers

How do I modify my user PROFILE file to append a scripts folder I created to the end of my PATH variable?

How do I modify my user PROFILE file to append a scripts folder I created to the end of my PATH variable? I am not totally sure what this means. Can anyone explain?
user1221987
  • 121
  • 1
  • 2
  • 5
8
votes
4 answers

Setting java to use one cpu

I have an application that has a license for a set number of cpus and I want to be able to set the number of cpus that java runs in to 1 before the check is done. I am running Solaris and have looked at pbind but thought that if I started the…
Henry B
  • 7,947
  • 10
  • 42
  • 46
8
votes
3 answers

How to debug JNI/C library?

We have system here that uses Java JNI to call a function in a C library. Everything running on Solaris. I have a problem somewhere with string encoding. An arabic character is returned by the function written in C, but the JNI methods receives a…
hooray
  • 266
  • 6
  • 14
8
votes
8 answers

Hard drive device name on Solaris

I need to figure out the hard drive name for a solaris box and it is not clear to me what the device name is. On linux, it would be something like /dev/hda or /dev/sda, but on solaris I am getting a bit lost in the partitions and what the device is…
Dan Littlejohn
  • 529
  • 2
  • 6
  • 7
8
votes
6 answers

Bash: How to make short delay?

How to make a short delay (for less than a second) in bash? The smallest time unit in sleep command is 1 sec. I am using bash 3.0 in SunOS 5.10.
Raihan
  • 10,095
  • 5
  • 27
  • 45