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
1
vote
1 answer

How does this NAWK script work to show the ports being used by a process on Solaris?

I am trying to understand how the following command works (from here): pfiles /proc/* 2>&- | nawk 'END { if (f) print p } /^[0-9]/ { if (f) print p, RS p = $0 f = 0 } /INET / { …
user3104542
1
vote
0 answers

Why the DTrace doesn't output function return log?

When my program receives a TCP connection request, it calls spawn_thread() to add the total thread number, and spawns a child thread to handle TCP connection.When the child thread complete the task, it closes the TCP connection, and calls…
Nan Xiao
  • 16,671
  • 18
  • 103
  • 164
1
vote
3 answers

Portable packaging technology

I am looking for a good portable technology that would allow for unified way to package software that runs on five different platforms. The platforms are Solaris10/SPARC, Solaris10/X86, Solaris11/SPARC, Solaris11/X86, and RHEL6.4/X86. About 95% of…
evolvah
  • 625
  • 4
  • 15
1
vote
1 answer

SUNWspro compiled file - detect verison of compiler

I have a file, compiled by SUNWspro (Sun pro complier) for SPARC/Solaris. How can I detect version of compiler used to build this binary?
osgx
  • 90,338
  • 53
  • 357
  • 513
1
vote
2 answers

How do I get the .profile file to work on Solaris machine?

This has been frustrating me for two days and it seems like it should be a very simple thing. I was just created an account on a Solaris machine. Sun OS 5.10 I believe. The default is Bourne shell which I don't want. I did a cat /etc/shells…
noblerare
  • 10,277
  • 23
  • 78
  • 140
1
vote
1 answer

Solaris equivalent to OS X's pbcopy / pbpaste?

OS X has nice commands for manipulating the clipboard: pbcopy and pbpaste I could really use something similar in Solaris 10. I've checked for xsel and xclip, and Solaris 10 doesn't have them. Am I completely out of luck?
1
vote
2 answers

Detecting broken pipe in Solaris send() call

In solaris how to detect broken socket in send() call? i dont want to use signal. i tried SO_NOSIGPIPE and MSG_NOSIGNAL but both are not available in Solaris and my program is getting killed with "broken pipe" error. Is there any way to detect…
Adil
  • 2,418
  • 7
  • 34
  • 38
1
vote
2 answers

Undefined symbol error with inline function Solaris(SunOS 5.9)

I have defined an inline function copy_string in file cpstr.c and created .so file (libtest.so) for cpstr.c file. While trying to link this libtest.so for test.c, I am getting an error as ild: (undefined symbol) char*copy_string(char*,const char*)…
1
vote
1 answer

Memcache installation on Solaris

I was trying to compile memcache with pear on solaris, but ended up with below error. I'm new to solaris could not able to figure out the issue. -bash-3.2$ sudo pecl install memcache Password: downloading memcache-2.2.7.tgz ... Starting to…
Swaroop Kundeti
  • 515
  • 4
  • 11
  • 25
1
vote
0 answers

How to find max number of thread in solaris

How to get the max number of thread supported by Solaris application, as in linux we can find out by using command cat /proc/sys/kernel/threads-max
rajenpandit
  • 1,265
  • 1
  • 15
  • 21
1
vote
1 answer

symbol not found (ldd), but it's there (nm)

My application complains about a symbol that it cannot find: fatal: relocation error: file /foo/libxslt4c.so.113: symbol __1cDstdEcout_: referenced symbol not found (bar.c:1330) And ldd says the same: ldd -d /bar/libxmllib.so libc.so.1 => …
thorstenhirsch
  • 199
  • 3
  • 14
1
vote
2 answers

How can I grap resident set size from Python on Solaris?

Calling resource.getrusage() from Python returns a 0 value for resident set size on Solaris and Linux systems. On Linux you can pull the RSS From /proc//status instead. Does anybody have a good way to pull RSS on Solaris, either similar or not to…
jasonjwwilliams
  • 2,541
  • 3
  • 19
  • 14
1
vote
1 answer

mkfifo command failing on clearcase vobs

I am trying to create named pipe in a directory which is created under clearcase's vobs tree (/vobs/something/something) but not checked-in. I am getting this error: "mkfifo: No such device or address" I am not able to understand why pipe creation…
dvai
  • 1,953
  • 3
  • 13
  • 15
1
vote
0 answers

MongoDB on Solaris 10 undefined symbol

we want to use MongoDB for one of our projects. According to best practices, the query router of a sharded cluster shall stay with the app servers (Java). These are running on Solaris 10 (Intel, 64bit). I downloaded the Solaris build 2.4.9, added…
user2722141
  • 33
  • 1
  • 4
1
vote
2 answers

Unable to compile T1 Architecture and Simulation modelling tool

First of, I am very new to this. I am trying to compile the T1 Architecture and Simulation modelling tool (http://www.oracle.com/technetwork/systems/opensparc/opensparc-t1-page-1444609.html), using Sun Studio 12.3 as compiler on Solaris 10 with…
user3285014
  • 319
  • 1
  • 3
  • 12