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

Replacing non-ASCII characters or specific ASCII character with a space in file

I want to replace non-ASCII characters or specific ASCII characters with a space in a file using shell scripting, sed or Perl. First is to replace all non-ASCII characters with space in file. That I know we can do using below command perl -pi -e…
Chkusi
  • 139
  • 1
  • 5
  • 15
1
vote
2 answers

dbx: internal warning writable memory segment of size 0

While trying to load a core file using dbx I get the following warning: dbx: internal warning: writable memory segment 0xfa8b0000[16384] of size 0 in core There doesn't seem to be an explanation in: (dbx) help core What does this message mean?…
Andrejs
  • 26,885
  • 12
  • 107
  • 96
1
vote
0 answers

Daemon::Generic locks disappearing upon daemonization on Solaris

I'm trying to use Daemon::Generic, and it seems to be exactly what I need, except on Solaris it seems that locking the pid file doesn't work. As a result, status always reports the process is dead, even when it is quite clearly alive. For example,…
Clinton
  • 22,361
  • 15
  • 67
  • 163
1
vote
1 answer

How to analyze a memory leak in Java 1.3

I have a WebLogic 7 server, running under j2sdk1_3 on a Solaris platform. Since Java5, I know the jmap command is very usefull for analyzing and troubleshooting a memory leak. Is there a similar tool that can be used on Java 1.3?
Olivier
  • 454
  • 8
  • 19
1
vote
1 answer

process memory size solaris

Running perl script in solaris 10 machine. Know the RAM Size is 25 GB. Have two queries. Normally How much RAM memory a solaris process is allocated. Is it a default value assigned to any script or process. where it can be set? How do i…
Arav
  • 4,957
  • 23
  • 77
  • 123
1
vote
1 answer

How to link two conflict shared library?

My project is using ACE library, and need link another library libsdk.so, it's using another version ACE library. The link order like : ...-lMyAce -lsdk -lAnotherAce When application running, libsdk.so called method in MyAce(I checked the core…
1
vote
2 answers

Obtain LWP id from a pthread_t on Solaris to use with processor_bind

On Solaris, processor_bind is used to set affinity for threads. You need to know the LWPID of the target thread or use the constant P_MYID to refer to yourself. I have a function that looks like this: void set_affinity(pthread_t thr, int…
Wez Furlong
  • 4,727
  • 1
  • 29
  • 34
1
vote
1 answer

Boost library on Solaris

We currently use RogueWave's SourcePro library tools.h++, DB modules. We are looking for open source alternative. Boost is first in sight. But I am not seeing SunStudio compiler in Boost's regression test published on boost.org website. So do boost…
anonymous
  • 1,920
  • 2
  • 20
  • 30
1
vote
2 answers

How to fix SIGBUS on Solaris

I am using atomic_inc_64_nv on 64bit Solaris, returned value is casted to unsigned long. But when I run my app, it crashed and core is claming that the cause of the crash is SIGBUS. I Suspect there are could be alignment issues. How can I fix this…
unresolved_external
  • 1,930
  • 5
  • 30
  • 65
1
vote
0 answers

Sun Solaris Variable not holding value

I am facing a weired problem. its been 2 days i tried so many things but to no success. On sun solaris i have written a script that will check for the total physical memory of the system, then assign it to a variable and then write the value to a…
Yeasir
  • 39
  • 1
  • 5
1
vote
2 answers

How to install 64-bit Python on Solaris?

I am trying to install Python 2.6 on Solaris by building the source on Solaris machine. I installed one this way and it appears that it is 32-bit. I downloaded some source tar ball as Linux or Unix for this purpose. Everything works well but I need…
New to Python
1
vote
2 answers

Evaluate Unix Variable with multiple parts

How can I do the following in Unix: 1) Variable xxx_yyy=12345 2) Variable aaa=yyy How can I evaluate xxx_$aaa to give me 12345. Please advise.
user518066
  • 1,277
  • 3
  • 23
  • 35
1
vote
1 answer

read access to the ROOT/ parent dir in tomcat on Solaris

I'm running tomcat7 on SunOS 5.10 and I'm developping a webapp under the webapp/ROOT/ directory. I'm trying, within the app, to see if the webapp/foo directory is there: String invpath = application.getRealPath( "user" ) //I also use this for…
MacTapin
  • 11
  • 2
1
vote
0 answers

rsh -l login host ls connection refused (Unix Solaris 9)

I currently have an issue when login to a remote server. I can perfectly log in with rsh -l login host. or with rlogin. However, when trying to use an ls command, the server refuse the connection. I do not have the root account. The content of…
Nolafir
  • 11
  • 2
1
vote
1 answer

How to get list of network interface device specific files in Solaris

Possible Duplicate: Solaris: Programmatic interface to ifconfig? How do I get the list of all "/dev/net0 /dev/bge0, Network Interface device file", using C program.
Manya K
  • 33
  • 2