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

2
votes
2answers
7k 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 ...
1
vote
4answers
3k views

Does tar preserve links? [duplicate]

Possible Duplicate: How can I tar ball a directory hierarchy with soft links in linux I am using tar to copy files and directories from a Solaris machine to a Linux machine. Does Tar ...
2
votes
2answers
2k 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 ...
0
votes
1answer
89 views

Python by default on all unix systems? [closed]

There was a discussion on which language to choose for a system checker. The system checker is supposed to be a script running on unix systems. On Gnu/Linux systems seem to always have it installed ...
7
votes
1answer
209 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.
1
vote
2answers
4k views

UNIX command to test for fan status

anyone know the commands(s) for checking the hardware status of the machine, I'm trying to see if there are issues with the processor fans.
0
votes
1answer
636 views

How to uninstall software package in single user mode in Solaris 11

I accidentally installed a software package which keeps my Solaris from booting up. Upon entering single user mode, I ran: pkg uninstall system/install/media/internal However, it fails and says ...
0
votes
1answer
1k views

Which office software is available for Solaris 11?

I am thinking of moving my software dev environment to Solaris 11. Which office software is available for Solaris 11? I would prefer a free one. Thank you!
1
vote
1answer
4k views

What is the command to display ospatches in Solaris 11?

I was using showrev -p until now to get ospatches list. Does anyone have a command for the same in Solaris 11?
0
votes
0answers
152 views

zip how to include files with a dollar sign in the name

Oracle Solaris 10 9/10 SPARC I'm trying to archive and compress a large directory using zip zip dir dir in this directory are some files with a dollarsign like name$whatever. Zip skips those files ...
0
votes
2answers
926 views

Is there an equivalent command for kctune | grep max_thread_proc in SunOS and AIX?

I need to find the maximum threads per processor in the following systems. So far 1. Redhat Linux -> cat /proc/sys/kernel/threads-max 2. HPUX 11.31 [ia64] -> kctune | grep max_thread_proc ...
0
votes
1answer
188 views

Remote CUPS Printing, Is It Possible?

I have a RHEL 6 server, and a Solaris 2.6 server. The RHEL 6 server is able to print to a network printer, which is a Laserjet 4014DN, using CUPS. I want to have the Solaris 2.6 server print to that ...
0
votes
1answer
1k views

How to see whats eating my swap space on linux

I have a unique situation here where a Java app I wrote is choking when it forks and creates some child processes. According to the error logs I'm seeing there is a java.lang.UNIXProcess method ...
0
votes
1answer
63 views

Copy-on-write folder? (Am not an admin)

On Solaris, is there a way to make a "master folder" from which I can fork off any number of light weight copy-on-write clones? In my home folder I have a number of sub folders that contain nearly ...
3
votes
2answers
9k 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 ...
0
votes
2answers
237 views

In Solaris how do you startup a script automatically without user input?

I'm using Oracle Solaris, and i would like to startup a script automatically everytime i turn on my computer and log into the desktop, however the script i want to run requires elevated permission, so ...
0
votes
1answer
2k views

How do I find the version of Sun Studio 11 installed on my Solaris 10 server?

When I do : pkginfo | grep SPROapplication SPROatd, it only shows me Sun Studio 12. But, the installer( a Rogue wave library installer) I am using detects Sun Studio 11 as well on the server. But, ...
0
votes
2answers
495 views

bash: ./wls1036_solaris32.bin: Invalid argument

Having some experience in ubuntu, I installed solaris 11g recently to work on WebLogic. I've downloaded wls1036_solaris32.bin file. When I run ./wls1036_solaris32.bin in the terminal, I'm getting ...
0
votes
1answer
119 views

Is there a xwindows freeware equivalent that is compatible with Windows 7?

The only thing I have at my disposal is xceed 6.0, but that is not compatible with Windows 7. And I am trying to connect this to a Solaris box.
3
votes
2answers
2k 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 ...
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 ...
1
vote
1answer
566 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
611 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
650 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
100 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
562 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
4k 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
290 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
2k 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
309 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
662 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
4k 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
2k 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
150 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
594 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
388 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
274 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
306 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
984 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
459 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
878 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
263 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
576 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
3k 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
389 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
565 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
700 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
1k 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
279 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 ...