solaris

Solaris Core dump analysis

I use pstack to analyze core dump files in Solaris How else can I analyze the core dump from solaris? What commands can be used to do this? What other information will be available from the dump? ...

open solaris code vs solaris code

How compatible is code written under Solaris with Open Solaris ? I would be interested specifically in some kernel modules . ...

How do you pre allocate memory to a process in solaris?

My problem is: I have a perl script which uses lot of memory (expected behaviour because of caching). But, I noticed that the more I do caching, slower it gets and the process spends most of the time in sleep mode. I thought pre-allocating memory to the process might speed up the performance. Does someone have any ideas here? Update:...

error installing RMagick from gem

Hello, Trying to install the RMagick gem is failing with an error about being unable to find ImageMagick libraries, even though I'm sure they are installed. The pertinent output from gem install rmagick is: checking for InitializeMagick() in -lMagick... no checking for InitializeMagick() in -lMagickCore... no checking for InitializeMa...

Sun Solaris IDE/Source Control Choices

At my new job I'm getting acclimated with the IDE we have Visual SlickEdit 8.0 installed on our sun solaris workstation that we telnet into(lol yes ssh is turned off). Now it does the basics but is missing many things I considered must haves like code hiding and parenthesis matching. Are there any alternatives to constantly ftping my wo...

Are there any tools for auditing Solaris servers?

I want to audit my Solaris server using any auditing tools. ...

Solaris timezone in C (missing %z on strftime)

I have an application that writes to another application and needs to provide the date + timezone of the system. I have been using strftime with the %z argument to get the timezone, and it has been working very well on Linux. However, last week we decided to merge it to solaris just to find out that %z is not present. Someone suggested...

How to use the tar -I option

I'm trying to tar up all the *.class files only on a Solaris box under a certain directory. Reading the man pages for tar made it seem like the -I option is what I wanted. This is what I've tried from the dir in question: find . -name "*.class" >> ~/includes.txt tar cvf ~/classfiles.tar -I ~/includes.txt From that I get: tar: Removi...

Java: AWT on Solaris

How is AWT implemented for Solaris? ie: What native libraries, if any, is it dependent on. ...

How can I setup a proxy connection in Solaris server?

I need to set up a proxy connection to access the internet. I am using Solaris server. How can I accomplish this? ...

Proxy choices: mod_proxy_balancer, nginx + proxy balancer, haproxy?

We're running a Rails site at http://hansard.millbanksystems.com, on a dedicated Accelerator. We currently have Apache setup with mod-proxy-balancer, proxying to four mongrels running the application. Some requests are rather slow and in order to prevent the situation where other requests get queued up behind them, we're considering opt...

How to get the status of a JBOSS server

I am working on writing a Highly Available agent for JBOSS to run on Solaris Open HA Cluster. As I don't know much of JBOSS, can someone please tell me how can I probe the status of the JBOSS server. I want to know the health of JBOSS server, ie, whether it is currently running or not. -Abhishek ...

Command Line limit for Solaris

I have an app that executes commands on a Linux server via SSH just fine. When I connect to a Solaris server, things don't work. It seems that the Solaris command line is limited to 267 characters. Is there a way to change this? Update: As was pointed out before, this is a limit to the default shell for Solaris (sh) vs Linux (bash)....

How does the 'ls' command work in Linux/Unix?

I would like to know exactly how the "Is" command works in Linux and Unix. As far as I know, ls forks & exec to the linux/unix shell and then gets the output (of the current file tree. eg./home/ankit/). I need a more detailed explanation, as I am not sure about what happens after calling fork. Could any one please explain the function...

How do I get the output of iostat as a graph in Solaris 9

Is there a built-in/custom script available? ...

how to get as much as possible from dbx

I do TDD on a daily basis for my C++ development on Solaris10. It has greatly reduced the time I have to spend using my debugger but sometime this is the only option. DBX is pretty powerful but not that user friendly. Note that I'm talking about console DBX not the SunStudio GUI for DBX). What are the best productivity tips you can giv...

How to select dvorak layout in Solaris 10 Java Desktop

I am learning to use the Dvorak keyboad layout, but I am not good enough to enter passwords yet, so I need to be able to switch back to qwerty occasionally. In KDE this works very well, Windows fudges this in a way I can live with for the little time I spend on it, but I can't change my work box which runs Solaris 10 Java desktop. It d...

Java application failing on special characters.

An application I am working on reads information from files to populate a database. Some of the characters in the files are non-English, for example accented French characters. The application is working fine in Windows but on our Solaris machine it is failing to recognise the special characters and is throwing an exception. For example...

Best OS for java development?

What is the best OS for Java development? People from Sun are pushing the Solaris, yes Solaris have some extra features included in itself such as (dTrace, possibility for Performance tuning the JVM, etc.. ). Some friends of mine, had port their application on solaris, and they said to me that the performances was brilliant. I'm not happ...

System Calls: UNIX, Linux, BSD and Solaris variations

Are there differences between the amount of syscalls in the major *NIX variants ? Which syscalls would be supported universally ? ...