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

1
vote
1answer
495 views

Configuring p4 on Solaris

I'm trying to configure p4 (Perforce) on Solaris, but have had no success. Can anyone see what I'm doing wrong? Reference: ...
0
votes
1answer
535 views

Solaris/Linux - tput command + create bold text

How do I bold the "Date & Time" numbers from the following file with the tput command (I have a Solaris machine)? For example, I want to bold only the "24-09-2009 16:17:45", etc. for all other ...
0
votes
1answer
534 views

Solaris + sorting file according to date and time by sort command

I have along list that created in /var/tmp/file.txt from some script (in Solaris machine) the following list have 4 fields please advice how to sort the list according to the following TIMESTAMP ( by ...
2
votes
1answer
91 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
473 views

Cannot connect Solaris 10 to Windows 7

I'm trying to connect a Solaris VM (powered by VMware Player) to Windows Explorer in Windows 7. When I try to map the network drive I get the following: The specified server cannot perform the ...
1
vote
1answer
3k views

Solaris + run my script after Solaris boot/reboot

I have Solaris machine ( Solaris installed on Netra-T2000 HW , Solaris version – 5.10 ) I write the script - update_after_solaris_already_boot.ksh This script will update automatically some ...
0
votes
1answer
244 views

Untar on Solaris 9 : longlink

I'm trying to install MySQL on a solaris 9 machine, and the version of tar on this machine apparently can't handle larger file names. The solution I've found from googling involves downloading GNU ...
0
votes
1answer
1k views

Solaris 10 user does not inherit privileges from user_attr

I have created a user called manager and set the /etc/user_attr file to allow net_privaddr privileges. But when I log into a shell as that user I'm not seeing those privileges granted. This is causing ...
0
votes
2answers
222 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
619 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
144 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
524 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
349 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
258 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
288 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
808 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
410 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
731 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
254 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
472 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
277 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
405 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
1k 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
635 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
978 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
243 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
2k 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
802 views

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

How Linux implements subnetting, as opposed to Solaris?
0
votes
1answer
864 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
613 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
612 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
872 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
5k 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% / ...
2
votes
1answer
319 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
427 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
3k 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
4k 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
494 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
889 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
892 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 ...