Solaris is a Unix operating system originally developed by Sun Microsystems (currently owned by Oracle) as a rebranding of SunOS 4.1.x in 1991.

learn more… | top users | synonyms

27
votes
7answers
21k views

Top causes of slow ssh logins

I'd love for one of you smart and helpful folks to post a list of common causes of delays during an ssh login. Specifically, there are 2 spots where I see a range from instantaneous to multi-second ...
7
votes
4answers
1k views

How to build a NAS?

I have quite a bit of photos I'd like to organize and get away from sparse DVDs and move to a NAS solution. Ideally, this would let me have some level of redundancy and more easily find what I'm ...
6
votes
1answer
99 views

How to let `man` utility to use `less` to display manual rather than `more`?

I've this Solaris 10 installation and it uses more to display manual content. Is there a way to make it using less to display manual? because more is really not convenient to use. Thank you.
5
votes
2answers
5k views

Oracle Solaris 11 Express: is it 32-bit or 64-bit?

The download for Oracle Solaris 11 Express says the image is for x86. I can't find anything specific on the Oracle documentation site that states if this is 32-bit or 64-bit. Any pointers?
5
votes
3answers
249 views

What are the strengths of OpenSolaris compared to Linux?

Please try to answer in these areas: For what kind of usage is OpenSolaris more suited than Linux? What are the useful OpenSolaris features that Linux lacks? Personal experiences are welcomed, but ...
5
votes
2answers
3k views

Opposite of tail: all lines except the last n lines

How can I discard the last n lines of a file with a unix command line filter? That would be sort of the opposite of tail: tail discards the first n lines but pipes the rest through, but I want the ...
5
votes
2answers
1k views

Emulating SPARC hardware

I need a software who emulate SPARC system (Hardware) in a Windows 7 host computer. I need to install a Solaris SPARC 10 for developing purpose and I don't have a SPARC machine. Can you give me some ...
4
votes
2answers
14k views

Untar on Solaris

I'm using a Sun Sparc System, aka Solaris. I have a .tar.gz file, and I can't figure out how to untar it. The command I usually use doesn't work: tar -xzvf file.tar.gz Anybody know how to do this? ...
4
votes
2answers
610 views

Public key authentication on SunSSH fails

I'm using OpenIndiana 151a on x86 and I want to connect to other remote servers using ssh with public key authentication, but it fails. The remote server's sshd (OpenSSH) is enabled with ssh-2 ...
4
votes
2answers
4k views

Is there a ready-to-run Solaris virtual machine for VMWare?

I would like to test some scripting on a Solaris machine. Is there a VMWare virtual machine with Solaris that I can download and use directly?
4
votes
2answers
2k views

Find and Move Files up One Level

I'm trying to search for files with a certain extension and then move all of them up one level in the folder hierarchy. Basically I have something like ...
4
votes
1answer
372 views

Preventing Sendmail Brute Force Attack on Solaris 10

I want to dynamically block specific connections that use the same IP address based on a rate or connection limit. Is this possible using Solaris/IPF or some sendmail extension? I want to limit ...
3
votes
3answers
3k views

du vs df output

Why are there differences between the outputs of the df and du commands? Why they are not accurate in output? # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 1012M 394M 567M 42% / ...
3
votes
4answers
1k views

Path of a command

Could someone please let me know how to get to know the executable path of a command/utility in solaris?? like executable path of ls is /usr/bin
3
votes
5answers
2k views

grep -r not working on Solaris

How can I do recursive grep on Solaris? When I tried, I received this error: -r: invalid option.
3
votes
1answer
1k views

Is Solaris 11 Express a replacement for OpenSolaris?

I was searching for OpenSolaris but landed in Oracle's website of Solaris 11 Express. Is OpenSolaris replaced by Solaris 11 Express?
3
votes
2answers
1k views

How can I use sed to alter the results of find and pass the results to cp?

In solaris, I'd like to copy all files found by the find command to a slightly different path. The following script basically executes cp for each file found by find. For example: cp ...
3
votes
1answer
766 views

How to detect free memory slots in Solaris 9 using software?

I would like to know if there is any command which would tell me if there are any free memory slots in the server. The servers I would be looking would be Solaris 9 OS/Sparc.
3
votes
2answers
4k views

Making a bootable USB for Solaris

Is it possible to create a bootable USB of Oracle Solaris 11? I don't want to install Solaris on an Oracle VM Virtual Box.
3
votes
1answer
68 views

can I tell how much space I would be saving if I switched to ZFS?

I've currently got a spare computer, and I'm thinking of trying out openindiana on it to play around a little with the snapshotting and deduplication features of ZFS, with the view of setting it up ...
3
votes
1answer
135 views

Solaris x86 install on Lenovo nothing happening

All, I am in the process of creating a DEV box for hosting my projects and I am wanting to install Solaris 11.1 onto a Lenovo Desktop PC . PC Details: Lenovo M92p Thinkcentre 3227 Intel Core i5 ...
3
votes
3answers
5k views

How can I get numbers of CPU of Sun Solaris by command?

I can use 'prtdiag' to get number of CPU by prtdiag command. $ prtdiag System Configuration: Sun Microsystems sun4u Sun Fire 6800 System clock frequency: 150 MHz Memory size: 4096 Megabytes ...
3
votes
2answers
593 views

Encrypt on Solaris, decrypt on Linux

I have encrypted a file on a Solaris server using the encrypt command, with a keyfile generated via pktool (choosing AES-128 as the algorithm). I do not have access to any other encryption utilities ...
3
votes
1answer
217 views

solaris 8 init script asks for user password

I've got a script in the Solaris 8 initialization phase, under /etc/rc3.d, that contains a su - username -c "a command", but I see thru the boot messages that the su command is asking for the user ...
3
votes
1answer
164 views

Unmounting a zfs pool while it is shared with sharenfs

I have a Solaris (open indiana) system which is getting poor disk write performance. In order to enable ZIL in this version of zfs I need to add a line to /etc/system. This will not take affect until ...
3
votes
2answers
706 views

Compiling and installing programs as non-root in home-dir?

I'm trying to compile programs under Solaris in my Home directory. Ive had experience with simple installs which work with just $> CD src $> ./configure --prefix=/home/peter $> make ...
3
votes
3answers
482 views

How to burn a CD-ROM from a Mac for Solaris; getting mangled filenames on mount

I would like to burn a CD using a Mac (10.5) which I can then access from a Solaris 10 x86 machine. This partially works: Insert blank CD and let the Finder open it so it creates a "Recordable CD" ...
3
votes
1answer
1k views

File permissions on a Solaris system - using ACl or sticky bit?

I have a problem on my Solaris file server, with UFS file system. I have created a folder on my file server called "projects" intended for storing all files connected with projects that we are ...
3
votes
0answers
431 views

How to install Java 7 on Solaris 9?

Oracle states the following regarding Java 7: This version of the JDK is supported on the Oracle Solaris 10 Update 9 or later OS, Oracle Solaris 11 Express OS, and Oracle Solaris 11 OS ...
2
votes
2answers
1k views

Why is Solaris big endian

... when Unix is little endian? From Wikipedia, Solaris is based on Unix in some sense: In 1987, AT&T and Sun announced that they were collaborating on a project to merge the most popular ...
2
votes
3answers
295 views

How to extract bytes from the middle of a file?

We are parsing some large EDI files that do not contain CR/LF. However, they do have ~ (tilde) as a segment delimiter. I am trying to extract the control record for the file and the last bytes of my ...
2
votes
2answers
3k views

How do I find out which process is causing high CPU usage?

I have a strange issue happening on my Solaris virtual machine: After it is booted and up for 1-2 hours, the CPU usage will go up to 100% for 5 seconds, then down to normal for another 5 seconds, and ...
2
votes
5answers
3k views

tar - exclude does not work

I've supposed to archive a directory with tar and exclude some files. I have a directory $HOME/java which includes some .java and .class files. What I want to do is exclude all .class files using the ...
2
votes
3answers
1k views

awk/sed + replace only the second char with one space

please advice how to remove only the second "." character from the version number with awk I need to fit the syntax for Linux & Solaris I write the sed "s'/\./ /g'" - but this syntax ...
2
votes
1answer
240 views

On Solaris, can I alias one command to multiple possible locations?

Let's say I have a script called bob. It might be in two locations: /usr/local/bin/bob or /usr/local/bin/scripts/bob. Is there a way I can alias bob to both locations and it will stop whenever it ...
2
votes
4answers
4k views

milliseconds from solaris command line

This gnu date command lets me get milliseconds this way: date +%M:%S.%N; but this command doesn't work on solaris... any ideas?
2
votes
2answers
1k views

How to find oracle database installation path on solaris 8?

I have a server that solaris 8 is on it. I want to connect to oracle's management system . I found this article getting started with oracle . To connect to management system I should enter ...
2
votes
2answers
5k views

Solaris 32bit / 64bit confusion

I have a Solaris on a AMD- uname -a gives OS Solaris 10 x86_64 (SunOS goldtpus34 5.10 Generic_144489-11 I wanted to find whether it has a 32bit or 64 bit kernel so I did /usr/bin/isainfo -k ...
2
votes
2answers
1k views

perl - translate sed to perl

The following command work fine on Solaris ( delete line only if last character is ":" ) sed -e '/:$/d' < foo > foo.new how to do the same in perl ? ( the reason for that because I not want ...
2
votes
1answer
2k views

Replacing /bin/bash with /bin/false in /etc/passwd file

I am writing a program to disable users from a system, i want to replace /bin/bash to /bin/false. Example xxx:x:1:22:xx:/export/home/xx:**/bin/bash** replace to ...
2
votes
2answers
565 views

ZFS NAS: PCI-e x1 SATA or built-in ICH10R?

I am planning to install Nexenta (or NexentaStor, I've not decided yet) to build a ZFS NAS out from the following machine: MB: Intel DG45FC Disks: 4x 2TB WD caviar green RAM: 2x 2GB of non-ECC ...
2
votes
2answers
814 views

Putty: login, execute command/change environment variable, and do NOT close the session

I would like to configure my PuTTY session in such a way that I could login to a remote host, and (a) start bash (b) change the PS1 variable (prompt content) (c) continue work in the session as ...
2
votes
1answer
602 views

Removing files on ZFS does not free disc-space

I'm trying to free space on a ZFS by removing files. They are large (>1GB) so it should show in the numbers. Unfortunately, after unlinking the files, df does not show any increase in available ...
2
votes
1answer
198 views

Get Solaris/Linux package (from package repo) and put on server manually

First I'm not Solaris/Linux guy, pure Windows. My problem: I need to get ffmpeg executables on hosting Solaris servers. The first and obvious way it to take source code and compile it there. But ...
2
votes
1answer
86 views

Equivalent of “du --time -h” (or something similar) in Solaris

How can I get something similar to du -h --time at solaris?
2
votes
1answer
238 views

Filesystem for UNIX (Solaris, FreeBSD, Linux) [closed]

I have some Linux (Arch/Fedora/Ubuntu), FreeBSD and solaris (open indiana) desktop machines. What is the best filesystem that can be used in all of them. I want to use it in some external hard drives. ...
2
votes
1answer
662 views

Does Linux use a /etc/inet/netmasks file?

How Linux implements subnetting, as opposed to Solaris?
2
votes
2answers
2k views

Equivalent of “du --max-depth=0 -h” (or something similar) in Solaris

The du command in my solaris environment has very terse help, no man page, and doesn't support the --max-depth option seen in the linux world. I want to know how much space a given directory ...
2
votes
1answer
315 views

Installing Solaris with Window. Disk partitioning problem

I am running Windows and want to install Solaris but am having hard time while using the installer. I have 1 primary partition of 40GB and one extended partition. The extended partition has 4 logical ...
2
votes
3answers
4k views

Choice of an OS for a home ZFS NAS

I am preparing a home NAS with an old Athlon 64 X2 3800+, 4 GB ECC RAM, Asus M2V MX motherboard, and a single 3 TB WDC Green (another one as mirror may be installed in the future). It's the cheapest ...