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
29
votes
10 answers

How to expand shell variables in a text file?

Consider a ASCII text file (lets say it contains code of a non-shell scripting language): Text_File.msh: spool on to '$LOG_FILE_PATH/logfile.log'; login 'username' 'password'; .... Now if this were a shell script I could run it as $ sh…
Kent Pawar
  • 2,378
  • 2
  • 29
  • 42
28
votes
5 answers

escaping newlines in sed replacement string

Here are my attempts to replace a b character with a newline using sed while running bash $> echo 'abc' | sed 's/b/\n/' anc no, that's not it $> echo 'abc' | sed 's/b/\\n/' a\nc no, that's not it either. The output I want is a c HELP!
spraff
  • 32,570
  • 22
  • 121
  • 229
26
votes
3 answers

get week of year from day of year

Given day of year, how can I get the week of year by using Bash?
conandor
  • 3,637
  • 6
  • 29
  • 36
25
votes
14 answers

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…
vaske
  • 9,332
  • 11
  • 50
  • 69
24
votes
2 answers

Unpacking an RPM file and repacking It

I have a RPM file. I have to make some changes to that RPM , repack it and Test. Can anyone help me?
Monojeet
  • 551
  • 3
  • 6
  • 7
24
votes
13 answers

Unix: fast 'remove directory' for cleaning up daily builds

Is there a faster way to remove a directory then simply submitting rm -r -f *directory* ? I am asking this because our daily cross-platform builds are really huge (e.g. 4GB per build). So the harddisks on some of the machines are frequently running…
anon
23
votes
3 answers

How to test your code on a machine with big-endian architecture?

Both ideone.com and codepad.org have Little-Endian architechtures. I want to test my code on some machine with Big-Endian architechture (for example - Solaris - which I don't have). Is there some easy way that you know about?
Lazer
  • 90,700
  • 113
  • 281
  • 364
23
votes
1 answer

SSH then change Shell

Potentially a real easy question but I was wondering if anybody can kindly provide some advice. To accomplish a repeating task, I am constantly logging into a remote Solaris server using credentials given to us from our system admin. However, each…
user2511875
  • 493
  • 3
  • 6
  • 13
22
votes
5 answers

Comprehensive methods of viewing memory usage on Solaris

On Linux, the "top" command shows a detailed but high level overview of your memory usage, showing: Total Memory, Used Memory, Free Memory, Buffer Usage, Cache Usage, Swap size and Swap Usage. My question is, what commands are available to show…
user40626
  • 221
  • 1
  • 2
  • 3
22
votes
2 answers

Print only matching word, not entire line through grep

I am familiar with shell programming in bash, but for some reason egrep -o to print only matching words is not working and displays error as below. Environment is ksh unix console on putty and not linux or ubuntu terminal......any advice is…
NoobEditor
  • 15,563
  • 19
  • 81
  • 112
22
votes
8 answers

Could not initialize class sun.awt.X11GraphicsEnvironment on Solaris

I am running into this error while running my installer on a Solaris machine: Installing... ------------- [==================|==================|==================|==================] [---Invocation of this Java Application has caused an…
Deka
  • 541
  • 1
  • 3
  • 7
22
votes
2 answers

What is a reliable way of getting allowed locale names in R?

I'm trying to find a reliable way of finding locale codes to pass to Sys.setlocale. The ?Sys.setlocale help page just states that the allowed values are OS dependent, and gives these examples: Sys.setlocale("LC_TIME", "de") # Solaris: details…
Richie Cotton
  • 118,240
  • 47
  • 247
  • 360
22
votes
6 answers

How to get rid of the "No bootable medium found!" error in Virtual Box?

I am working withing Oracle VM Virtual box on Solaris 11. When the battery of my laptop became 0% and I wasn't beside my laptop, the system halted. So when I started the session I got the following: Fatal: No bootable medium found! System halted.…
t28292
  • 573
  • 2
  • 7
  • 12
21
votes
1 answer

Very Large Mnesia Tables in Production

We are using Mnesia as a primary Database for a very large system. Mnesia Fragmented Tables have behaved so well over the testing period. System has got about 15 tables, each replicated across 2 sites (nodes), and each table is highly fragmented.…
Muzaaya Joshua
  • 7,736
  • 3
  • 47
  • 86
21
votes
6 answers

jps returns no output even when java processes are running

I'm trying to debug some issues with java processes on a Solaris box, but running jps returns no output. And jstack gives the error 'Permission denied'. The box is part of a cluster of 3 identical servers, jps and jstack work fine on the 2 other…
Sindri Traustason
  • 5,445
  • 6
  • 48
  • 66