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
2 answers

Bash Stdout redirect on solaris 10

ok this is working: trace -t lstat64 -v lstat64 ls "myfilename" 2>pipefile cat pipefile | grep ct | cut -d '[' -f 2 | cut -d ' ' -f 2 But i dont want to have to use the file "pipefile", how can i redirect the output straight to my grep and cut?
dmoody256
  • 538
  • 4
  • 12
1
vote
0 answers

Does JVM on Linux will consume more heap than Solaris?

We've two server migration projects recently from Solaris to RedHat Enterprise on VM. They are both J2EE applications running on OC4J 10.1.3.5 One interesting phenomenon we found was that the OC4J JVM instances running on Linux will actually occupy…
am5a03
  • 506
  • 7
  • 24
1
vote
1 answer

Is there any getifaddrs() alternative on HP-UX, Solaris or AIX?

I'm trying to implement a application that uses the getifaddrs() function from across multiple platforms. My goal is to retrieve network interface related info (IP, IPv6, Netmask, Broadcast, Scope, and HWAddress). I have successfully…
Andrei Matei
  • 1,049
  • 2
  • 10
  • 23
1
vote
2 answers

find: bad option -printf find: path-list predicate-list shell scripting

I've just made a very basic shell script which takes a input path and displays the attributes of the files in that path. Problem: the script is running on my PC, but when I try to run it on my college UNIX server I'm getting an error: find: bad…
rbk
  • 283
  • 2
  • 3
  • 16
1
vote
5 answers

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…
Josh Clark
  • 625
  • 2
  • 9
  • 12
1
vote
4 answers

Getting the actual process id of a command that is executed in background using C++

Lets say i have run a simple background process which is: sleep 25 & I execute it on the command line as : > sleep 25 & [1] 26390 > ps PID TTY TIME CMD 26390 pts/52 0:00 sleep 6746 pts/52 0:02 tcsh 26391 pts/52 0:00…
Vijay
  • 65,327
  • 90
  • 227
  • 319
1
vote
2 answers

dtrace: How to get symlink target from file

I am using dtrace to record all files being deleted. Is it possible to find out what the symlink target is (if it's a symlink)? I want to output the symlink filename and the target filename for logging in case I need to restore the link later. One…
user2533268
  • 85
  • 3
  • 9
1
vote
3 answers

How can I modify a system command used in Perl script with aliases?

I have a perl script that calls ps -ef somewhere in the code. This script works in Linux but not in Solaris 5.10. My work around is to define an alias in my .profile: ps_wrapper() { if [[ $1 = "-ef" ]]; then /usr/ucb/ps auxwwww else …
J.P. Armstrong
  • 836
  • 1
  • 9
  • 26
1
vote
0 answers

Socketed FTP Client Log on issue

EDITED I'm making a C++ program for connecting to my school's FTP server and allowing me to get files from my account. Nothing to complex, BUT I keep running into the 530 return code. I start by establishing the socket on port 21 (FTP command port)…
Medic3000
  • 786
  • 4
  • 20
  • 44
1
vote
1 answer

Solaris process memory usage increase but not forever

On Solaris 10 I have a multithreaded process with a strange behaviour. It manages complicated C++ structures (RWTVal or RWPtr). These structures are built from data stored in a database (using Pro*C). Each hour the process looks for new informacion…
jjavibv
  • 116
  • 1
  • 3
1
vote
2 answers

How to make Cassandra use two disks on ZFS in SmartOS?

I heard that there's a huge improvement when Cassandra can write it's logfiles to one disk, and the SS Tables to another. I have two disks, and if I was running Linux I would mount each in a different path and configure Cassandra to write on…
João Pinto Jerónimo
  • 9,586
  • 15
  • 62
  • 86
1
vote
3 answers

Do not start loop if there is no files in directory?

All, I am running BASH in Solaris 10 I have the following shell script that loops in a directory depending on the presence of CSV files. The problem is with this piece of code is that it still does one loop even if there is no CSV files in that…
tomaytotomato
  • 3,788
  • 16
  • 64
  • 119
1
vote
1 answer

how to measure process cpu consumption?

I have a case in which a process is forked() in a heavy loaded system. I wish to know if the process has started running (started consuming cpu). I have to monitor this child process cpu consumption from parent process. Can you please suggest what…
Arpit
  • 4,259
  • 10
  • 38
  • 43
1
vote
3 answers

open failed: No such file or directory

I have built a standalone executable which references my .so object. both are in the same directory. when I try to run executable it gives me the following error: ld.so.1: myExec: fatal: libMine.so: open failed: No such file or directory what am…
Steve
  • 551
  • 2
  • 8
  • 18
1
vote
1 answer

boost bind.hpp 1.54 c++ specialized template doesn't compile on Solaris. Valid C++?

When compiling Phusion Passenger for Solaris 10 SPARC using the Sun Studio compiler, these errors are seen in the included boost 1.54 headers. How can they be rewritten to solve the compilation error? "ext/boost/bind/bind.hpp", line 69: Error:…
Mark Solaris
  • 123
  • 1
  • 6