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

0
votes
2answers
208 views

tar doubled the size of the directory

Under Solaris 10 I have directory called apps. I go into that directory and enter: -bash-3.00# du -hs 7.2G . Then I entered: tar -cvf /var/run/apps.tar apps The result: -bash-3.00# ls -lad ...
1
vote
1answer
599 views

How do I add additional information to output redirected to a log file?

Currently I have something like this: ./player_script |grep "videoname" >> log.log & The output of player_script shows when a video starts and ends, grep then takes only certain video ...
0
votes
3answers
3k views

How can I determine if /tmp is a mounted NFS share?

How can I determine if /tmp is a mounted NFS share on Solaris? The issue at hand stems from this SO question, where Jonathan Leffler commented that ... If your /tmp file system is NFS mounted ...
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 ...
1
vote
1answer
140 views

decode legacy crypt-ed file with mcrypt

I have an old file which I encrypted with old UNIX-style crypt on Solaris. (Yes, I know it's weak, but it was appropriate in this case.) I now want to decrypt it but I am running Ubuntu which doesn't ...
1
vote
1answer
512 views

solaris + egrep command syntax not work

my target is to match snmpmanager string from /etc/hosts file in Solaris machine I don’t get any match output from the following command (but snmpmanager already defined in host file) why?? egrep ...
0
votes
1answer
340 views

usermod + awk invalid syntax

I have been trying to write a command (Solaris server) that adds a user to a specific group. It's a pretty long command so I'll post the whole command here and then break it down. USER=myUser ...
1
vote
0answers
253 views

Need Solaris network driver 64bit

I'm newbie in Solaris and I need network driver 64bit for: - pci bus 0x0004 cardnum 0x00 function 0x00: vendor 0x1186 device 0x4b01 D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) ...
0
votes
1answer
282 views

awk + sed + match complex string

I need useful command to match the string "/pci.../pci.../pci..../scsi..../disk..." with awk or sed? ( I need to put this command in my ksh script ) remark 1 [...] can be any string , and “pci pci ...
0
votes
1answer
748 views

sed + does not work on solaris

I try to use a sed line with a + on a Solaris machine and on a Linux machine. on Solaris sed does not remove the strings until the first number like I want: solaris:/ ROOT > echo ...
1
vote
1answer
393 views

What do Solaris pmap entries dev: and ino: represent?

Running the pmap command on a process in Solaris, I see certain processes have blocks of memory with tags like the following: dev:337,2 ino=2433431 What do the dev and ino represent? My ...
4
votes
2answers
696 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 ...
2
votes
1answer
250 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. ...
0
votes
2answers
447 views

How to foreground a job from another session

As root, is there a way to foreground (fg) a job within a root session that is in the foreground of another root session? If the job in the other session has to be put in the background (using bg) ...
2
votes
2answers
2k 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 ...
0
votes
1answer
205 views

How might I do memory / processor usage checking by solaris zones

How might I do memory / processor usage checking by Solaris zones?
0
votes
2answers
382 views

How can I hide username@node in linux shell?

I want to hide username@solaris in a Unix shell. I would like something like this: $ ls -l Instead I have this: user@solaris:~$ ls -l
0
votes
1answer
949 views

What is Solaris top command “SIZE” column?

I have a node.js process running on a Solaris box. In the top command view, the "RES" column which I guess represents the physical memory is constant and reasonable. However the "SIZE" column keeps ...
0
votes
2answers
616 views

Solaris equivalent of the Cygwin or Windows command “ftp -s:batch_cmd_file”

I am using a FTP script that runs under Cygwin and Windows cmd and that uses the ftp's -s command-line switch to read and execute commands from a batch file: ftp -i -s:/path/ftp.params The batch ...
0
votes
1answer
913 views

How can I keep Solaris 11 command history after the user logs out?

It seems that in Solaris 11 the command history is cleared every time user exits the shell. Is there an option to keep history after the user logs out so that it will be available at next login?
0
votes
3answers
217 views

what is the command for listing files/dirs recursively of specific directories

suppose in my current directory, I have 50 sub-directories. Now, I am interested only in about 20 of those sub-directories (whose names match a pattern). I would like to recursively list the contents ...
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 ...
3
votes
1answer
69 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 ...
2
votes
1answer
749 views

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

How Linux implements subnetting, as opposed to Solaris?
0
votes
1answer
833 views

Solaris Express: is there a command line version of Package Manager?

From documentation I can find (e.g. here http://download.oracle.com/docs/cd/E19963-01/html/820-7799/new-user.html), package manager seems to be only available as a GUI tool (as opposed to a command ...
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?
2
votes
2answers
596 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 ...
1
vote
1answer
2k views

Unix command fuser not found

I am on SunOS 5.10. When I am trying to use the command fuser, I am getting an error that it's not found. /home/user$fuser file.dat ksh: fuser: not found But I am able to get the man page entry ...
1
vote
2answers
561 views

How do I safely merge two directories using commands on Solaris (and OSX)?

Directory A and B have many subdirectories with nearly identical content. Directory B may have newer files and some subdirectories that directory A does not have. When files in Directory B are ...
0
votes
1answer
2k views

How to debug ld.so.1: fatal: relocation error:?

Ive been messing around on a Solaris box, installing precompiled lib/programs from the repos by extracting them and placing them in my home dir. It seems everything ive tried sofar works, except for ...
4
votes
2answers
815 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 ...
2
votes
3answers
4k 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% / ...
1
vote
1answer
308 views

lsof get traffic size with server

I have a server can I use lsof to find on a specific port the amount of traffic passed with servers? I used so far this in order to sort by highest size, but what info to i really get? how can I know ...
4
votes
1answer
409 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 ...
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 ...
3
votes
5answers
3k 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.
1
vote
1answer
1k views

Vim on Solaris. Coloured syntax highlighting?

I spend a lot of my time in vim, usually on some sort of debian/ubuntu OS. I've recently started playing with a Solaris 11 Express server and wondered if it's possible to enable coloured ...
1
vote
4answers
1k views

Running multiple operating systems on one laptop

I am in the process of running some benchmark tests on a variety of RDBMSes, and I am testing three different client operating systems. Would it be terrible to partition the HDD and install Ubuntu, ...
1
vote
3answers
474 views

Single quotes and variables inside a bourne shell

I have this command that I'm trying to execute in the bourne shell for Solaris 9. find ${DATADIR} -name "check_*" -type f -exec sh -c '$0 | ${PARSEDATA}' {} \; >> ${TMP_1} My problem is, the ...
3
votes
1answer
864 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.
0
votes
2answers
3k views

Solaris how to access smb:/// from terminal?

Hi I installed solaris from its file browser i can access computers in my windows network with: smb:/// however I cannot find how to access it from terminal. ls smb:/// smb:///: No such file or ...
0
votes
4answers
840 views

Problem while untar a 55GB tar file in solaris

I created a tar on a solaris box. The result was a 55.2 gb tar file. I used the following command to create the tar archive: tar -Epcvf filename.tar ./directory_name Now the problem is, when i try ...
0
votes
2answers
902 views

how to compare files/directories of 2 separate solaris boxes?

I have 2 solaris boxes and I need to check certain directories (on local filesystem and mounted nfs) to make sure that they match up on both boxes and to delete or move the other mismatches to ...
1
vote
2answers
2k views

mounting a solaris partition in ubuntu?

I have task to search old external harddrives for a specific file. The drives were used with a Sun Ultrasparc 1, so they are pretty old. I have 4 drives, and I managed to mount one of them in a Sun ...
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?
1
vote
1answer
923 views

Windows user trying install Git on Solaris

Is there simply way to install Git on Solaris as on Windows without installing any side libraries and compiling source files? And if not, why? UPD. Yes I'm looking for single package that will be ...
1
vote
1answer
3k views

How to create a new firefox profile in linux or solaris?

I know the way to create a new firefox profile in Windows. I want to create a new firefox profile in linux/solaris. Could anyone tell me the way? Thanks a lot!
1
vote
0answers
273 views

WD TV Live HD and Solaris

Since a few months I own a WD TV Live HD media player and I'm pretty satisfied with it. The performance is good and it's quite stable. But from the beginning I had issues with the CIFS implementation ...
0
votes
2answers
435 views

Copying file from unix to network drive

Solaris is the os used. I want to copy files from UNIX Machine to windows network drive. I know smbclient,ftp can be used. But is there any other best option i can use?
0
votes
2answers
961 views

Why did the rm command behave like this and what damage would i have caused

Assume am in directory /home/userA There is an environment variabe $XMLFILES that points to /u/xml/xmlfiles. The $XMLFILES environment variable is in userA's environment/profile I log on as userA ...