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

equivalent date from GNU to solaris

In GNU with the command date I can do it: date -d "+4 day" datei=20130101 i=5 date -d "$datei +$i day" But i like know: how can i do it in Solaris? with the date command
Code Geas Coder
  • 1,839
  • 4
  • 23
  • 29
1
vote
2 answers

C program designed to restart itself in Solaris

My C program runs on Solaris and needs to restart itself when some condition occurs, such as receiving a signal. Now I consider to use exec family functions to implement this features, and there are 3 issues: I know the file descriptors should be…
Nan Xiao
  • 16,671
  • 18
  • 103
  • 164
1
vote
1 answer

Enabling both OCI8 and ldap in php 5.5.0 (Solaris 10) / How to add OCI8 dynamically

Using the following configure statement: ./configure --prefix=/home/a2r/www/PHP-5.5.0 --with-apxs2=/home/a2r/apache/bin/apxs --enable-ftp --with-curl --with-zlib --with-gd --with-ldap --with-mm --with-pgsql --with-jpeg-dir=/home/a2r/www…
Greg
  • 284
  • 6
  • 23
1
vote
1 answer

How to make modeless dialog stay on top of its parent in Solaris CDE

I have a problem with Qt modeless dialog in Solaris 8/10 machine using CDE (Common Desktop Environment). The dialog serve as drawing panel/popup that required user to choose the tools from main application before proceeding to draw on it. The…
JackyTeoh
  • 11
  • 3
1
vote
1 answer

"grep" command on Solaris system is needed for using on Unix

"grep" command in solaris is for searching specific names in a directory . I need this command in Unix and Linux system . Would you help me ?
alian
  • 47
  • 6
1
vote
3 answers

How to get remote debugging work for Java on Solaris

I am trying to get remote debugging working with Java on Solaris OS. Following is what I have tried- I have a Java class called TestP which has the main method. When I try java -classpath . TestP the program works fine. But when I try adding the…
Keshav
  • 4,408
  • 8
  • 31
  • 50
1
vote
1 answer

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…
user25299
  • 13
  • 1
  • 3
1
vote
2 answers

what wrong with my regular expression

I have a simple regular expression, and testing egrep on hexadecimal numbers regex="^([0-9A-Fa-f]{2})(:[0-9A-Fa-f]{2})*$" when i try to echo any Input it's just print Nothing echo "fe:fe" | egrep $regex The Issue only occur with Solaris Box not…
anish
  • 6,884
  • 13
  • 74
  • 140
1
vote
1 answer

Where to set JDK to be used for SunOne server?

Where to set the JDK to be used by the SunOne server on Solaris? Is it all configured via an environment variable like JDK_HOME or JAVA_HOME, or is there a config file for the SunOne server somewhere where the path to the JDK is being set?
Mathias
  • 13
  • 2
1
vote
0 answers

Threading performance degradation on Solaris 11 (sparc) using C++11 with GCC 4.8.0 and multiple threads

I created a simple program to measure thread performance. I ripped out portions of a larger program in order to illustrate my point. Hopefully it's not too terrible to read. Here is the program: #include #include #include…
BillK
  • 53
  • 4
1
vote
2 answers

What is the regular expression to get two numbers after a pattern in Solaris with a script?

I want a pair of numbers after a pattern in a line, the pattern is 'mt=' and its position is variable in the line, so if I have mt=83, I only want 83. I have the next code with an example of the…
1
vote
2 answers

Informix Dynamic Server 2000: How do I enable ODBC?

I have an old server (Solaris 8) running Informix Dynamic Server 2000 Version 9.21.UC4, and I want to get ODBC enabled so that I can get to the data from elsewhere, but I haven't been able to find documentation online about how to do this on the…
user204372
1
vote
1 answer

Is it possible to merge/obsolete Solaris SVR4 packages?

Package formats like RPM and DPKG have the concept of 'replaces' or 'obsoletes', which can be used when merging one package into another. Do Solaris SVR4 packages support a similar concept? The closest I can find is the 'depend' file, which allows…
DNS
  • 37,249
  • 18
  • 95
  • 132
1
vote
2 answers

how to fgrep/egrep exact string in a file

I'm trying to search for an EXACT string match in a file. I know it can be done via "grep -w" but for some reason, i dont to do it with grep. Already tried these and didnt work for me: egrep '\< pattern \>' file fgrep '\< pattern \>' file egrep…
lrac22
  • 61
  • 1
  • 2
  • 8
1
vote
2 answers

Does Solaris cc embed in an executable differing info for different compiles?

G'day, This has been asked before for VC++ but I am interested in the answer for Solaris. I'm compiling and linking the following trivial C code: #include int main() { printf("Hello world!\n"); return 0; } using the command: cc…
Rob Wells
  • 36,220
  • 13
  • 81
  • 146