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 to find uptime, load average for last one hour in Solaris/Unix like OS

I want to find load average of system for last one hour. I could find the command:uptime 07:05:05 up 1151 days, 20:06, 2 users, load average: 0.01, 0.10, 0.29 Where average number of jobs in the run queue over the last 1, 5 and 15 minutes. I want…
1
vote
1 answer

Bad version number error in classfile

I have created a jar file using eclipse. My jdk version is 1.5.0. when i run that jar file on linux machine with the same JDK it works fine. But when I run this jar on solaris machine with JDK 1.5.0_14 installed it gives error as Exception in thread…
Pratik
  • 109
  • 1
  • 5
  • 14
1
vote
3 answers

Difference in struct sizes when #pragma pack(1) is used on Solaris and Linux

I am finding difference in struct size between Solaris and Linux when #pragma pack(1) is used. On Linux Derv is of size 128, but on Solaris it is of size 132. Could someone tell me why that is the case? How can I get it to 128 on Solaris? Below is…
Prashanth
  • 328
  • 2
  • 3
  • 11
1
vote
1 answer

Log4j Maximum String Length OR Java String Concatenation Error?

Running on Solaris 10, I am having problems when I hit a LOG.debug statement using an Apache Log4j logger. The basic scenario is demonstrated in the following code block: public class MyClass { private static final Logger LOG =…
Adam
  • 1,011
  • 2
  • 19
  • 37
1
vote
1 answer

grep command in Solaris x86 to Capture Special character

I want to capture perticular string i.e. "UPDATE kplustp..Service SET Service_Name = "PositionService", ServiceType = 'Z', HostName = "abcd" " in log file with perticular path /home/abc/xyz.log I am using below command to do grep -i "UPDATE…
user3164140
  • 591
  • 2
  • 8
  • 15
1
vote
0 answers

mofcomp on Solaris 10u11 fails with NullPointerException

I created a VirtualBox VM of Solaris 10 1/13 (update 11) using the x86 ISO from http://www.oracle.com/technetwork/server-storage/solaris10/downloads/index.html. I'm trying to get one of the sample WBEM providers to work by following…
1
vote
2 answers

How to get process scheduler history in Solaris?

I would like to know if there is way to get the process sheduler history in Solaris operating system. The output may have the following details. user : user name who invoked the process name : name of the process / command used to invoke the…
Dinesh
  • 1,825
  • 5
  • 31
  • 40
1
vote
2 answers

UNIX: Convert Unix Date in Specific format

I have some date other than current date in unix and I want to convert into a specific format Original Format D="Mon Dec 30 06:35:02 EST 2013" New Format E=20131230063502
Prabhat
  • 45
  • 2
  • 6
1
vote
2 answers

How to handle non-printable ASCII character parameters?

I'm working on a project where we are dealing with importing/exporting data from database tables using ksh scripts and Perl scripts. We have an existing process to export data from a table to a file and it is then imported into another…
Kenny Drobnack
  • 171
  • 2
  • 12
1
vote
1 answer

Update a datetime field with 1 minute older time in pro *C

We have implemented the following query in pro *C with Oracle database, which works properly. update anp set lssn = :ssn, ltd = :td; Here ltd is a datetime field and td is a datetime variable. Now we want to implement this query in such a way that…
user1053588
1
vote
3 answers

How do I build Git on Solaris

I downloaded Git sources from: https://github.com/git/git and now trying to build on Solaris 10g. I'm not sure what I need to change in the Makefile, if anything, since there is no "configure" file. When I run make I get: cc: illegal option…
Ya.
  • 1,671
  • 4
  • 27
  • 53
1
vote
3 answers

Redirecting https requests to two different weblogic servers using the Weblogic proxy and Apache2

I have a server serverA running a weblogic application App1, with base url /app1/ on port 7001, and another server serverB, running a weblogic application App2, with base url /app2/ on port 8001. Both servers run Solaris, Apache2 and Weblogic…
The Archetypal Paul
  • 41,321
  • 20
  • 104
  • 134
1
vote
1 answer

How to exit a shell script without closing the ssh/telnet session in which it is running

I am trying to make a KornShell (ksh) script compile all the Java files in a folder. This script is called by Apache Ant, and hence I need to return an error code, so that it will know when to fail. function check_if_error { if [ $1 != 0 ] …
roymustang86
  • 8,054
  • 22
  • 70
  • 101
1
vote
2 answers

No username when Oracle Forms calls Solaris shell script

Our application has a couple of shell scripts that are called from web-based Oracle Forms 10g, running on multiple Solaris 10 servers. We've discovered recently that the shell scripts are not running with the full permissions of the OAS user…
AndyDan
  • 749
  • 2
  • 13
  • 29
1
vote
1 answer

Use of compiler flag "-static-libgcc"

what is the exact use of -static-libgcc compiler flag in gcc ? In particular, why are they used in Solaris machines ?
Droider
  • 459
  • 2
  • 6
  • 14