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)

1
vote
2answers
10k views

Changing the IP Address in Solaris 11

I am trying to change the IP address in Solaris, but am failing to do so. The IP address needs to be a fixed number, like 10.0.11.10 I have tried changing the IP address in /etc/hosts which I ...
3
votes
6answers
3k views

Difference between “echo $SHELL” and “which bash”

I am trying to determine the location of bash interpreter on my Solaris system and I am a bit confused. When I type: echo $SHELL The resulting path is: /bin/bash And when I type: which bash I ...
2
votes
1answer
649 views

Time validation with regex

I'd like to make validation about time stamp of one of my log file. But it seems I have problem on my expression in case statement. TIME value might be something like 11:49 or 2011. And I just want ...
2
votes
2answers
367 views

Do Solaris 10 and 11 still use slab allocation for their kernel memory allocator

If not, what do they use. Please provide a source.
2
votes
1answer
439 views

Can't add swap file on solaris

I'm trying to add a swap file on Solaris 10. I have already created a 2GB file swap.file. Then, I add a swap file with the command: swap -a /swap.file which shows an error: /swap.file: size is ...
3
votes
3answers
6k views

Startup script not executing after reboot on Solaris

I have a command to start Apache in /etc/rc3.d that does not execute when the server reboots. The script is named S75Apache2. Someone has speculated that this is because the link has a capital "A" ...
1
vote
2answers
115 views

access rights of a file in octal format

I wonder if there is command which will give you access rights of any file you provide. There stat related command but it is not accessible in solaris. stat -c %a /etc/passwd Is there any ...
0
votes
1answer
1k views

lsof compares to pfiles, difference?

pfiles in Solaris suspends files for a short period while examining them, however, lsof does not. How does lsof work that allows it to retrieve information while not suspending files?
1
vote
1answer
886 views

AES-NI accelerated ZFS v31 encryption in Solaris 11

I'm not quite sure if this is the right place to ask this, if not, feel free to migrate it to wherever it fits in. I'm testing the encryption feature in ZFS v31 in a Solaris 11.11.11 VM under ESXi ...
1
vote
2answers
3k views

Help understanding `find` syntax on Solaris

Consider the following files: $ find findtest findtest findtest/test1 findtest/test1/start.ksh findtest/test2 findtest/test2/start.ksh findtest/test3 findtest/test3/start.ksh ...
2
votes
2answers
5k views

Solaris disk failed, how to remove it?

I have a system with Solaris 10. One of the internal disks is broken: c0t0d0s2 auto:sliced rootdisk1_1 rootdg online c0t0d0s2 - c0t1d0s2 auto - ...
2
votes
1answer
597 views

Installing vim/emacs on solaris 8

At my new job, they want me to use a solaris 8 operating system, but all my coding experience has been on linux. Linux had a lot of tools built into the system, but it seems like the solaris I'm using ...
5
votes
2answers
201 views

Is Oracle Solaris UNIX?

Is Oracle Solaris officially declared UNIX? I want to know all the official UNIX presently available in the market (whether free or paid). Please correct me if I am wrong: To the best of my ...
3
votes
5answers
2k views

Formatting the output: Underlining

I wrote the following function in ksh that prints its first argument to the screen and underlines it with the appropriate ammount of - character: print_underlined () { word=$1 echo $word ...
4
votes
6answers
20k views

How to get the hostname along with the domain name?

In unix (Solaris) is there any command that returns the hostname and domain name together? For instance: hostname -> servername domainname -> us.xyz.com I need : servername.us.xyz.com
2
votes
1answer
97 views

Solaris “clean” group files (or for that matter any text file)

I am looking to find a way to script a cleaning operation on the /etc/group file on a large number of servers. Looking for users in a particular group more than once. i.e. somegroup::100000:userA, ...
2
votes
1answer
342 views

Configure & Compile syslog-ng from source, got: Threads are not supported on this platform

I have configure, gmake, and gmake installed syslog-ng-3.4.0alpha1 with eventlog-0.2.12 and other dependencies. From then output of the ./configure --prefix=/syslog --with-gnu-ld, I can see that the ...
2
votes
0answers
332 views

Sendmail configuration with user mapping on Solaris

I have the following: host1.intra.net which has sendmail and users: user1, user2 & user3. It is running SunOS 5.10. host2.intra.net which has SMTP server. No authentication, no encryption. Email ...
2
votes
1answer
3k views

Display all network interfaces on Solaris

On Linux, the command mii-tool displays the list of Ethernet interfaces and other information. What equivalent command existson Solaris? My goal is to view all LAN networks that my Solaris machine is ...
3
votes
1answer
3k views

What does “Invalid argument” mean in Solaris?

-bash-3.00$ ./p4 -V -bash: ./p4: Invalid argument What does "Invalid argument" mean in Unix? More details: p4 is an executable in the current directory. p4 actually refers to perforce. The option ...
2
votes
1answer
227 views

What's the best strategy to catch mystery process?

I have running processes on my server that get killed every night at midnight. It's at work, I'm not around when it happens and I don't have remote access. The kill occurs very predicably at 23:59 ...
1
vote
2answers
1k views

File size :size of content and what is seen different

Assume you have a file 342MB but when you get into that file and look the content of it; you see that everything occupy around 92 MB. No hidden file or any other thing exist on it. How can that be ...
4
votes
1answer
646 views

Restoring an open file

I have an interesting problem which may or may not have a solution but I'd love to have one if possible: On Solaris an open log file has been removed, which still continues to be populated while the ...
1
vote
1answer
1k views

what is inode for, in FreeBSD or Solaris

I know a little about linux kernel. BUt for Freebsd, the "vnode" actually is similar to the "inode" in Linux kernel. And there is a "inode" concept in FreeBSD or Solaris. So my question is: what is ...
3
votes
2answers
291 views

filesystem image mounted with lofiadm looks smaller than expected

I have a .gz file and I'd like to see the content of it. I used lofiadm to mount it. lofiadm /backup/file.gz ->> returned /dev/lofi/1 mount -F ufs /dev/lofi/1 /mnt Then I checked the content ...
3
votes
1answer
1k views

boot_archive file in solaris

Does anyone know what is that boot_archive file. It is located under /platform/sun4v/ /platform/sun4v> du -sh * | sort -rn 342M boot_archive **** 190M failsafe 106K lib 71K bootlst 12M ...
5
votes
3answers
2k views

Is the Solaris libc based on the GNU libc?

On Solaris: basename.c #include <stdio.h> #include <libgen.h> int main(int argc, char* argv[]) { int len = strlen(argv[0]); char *bsname = basename(argv[0]); printf("%s\n", ...
2
votes
1answer
641 views

How to install & run collectd on Solaris 10 x86

I am trying to install and run collectd on Solaris 10 x86. I downloaded the Solaris x86 version of the installer. Installed using pkd_add command and chose the default folders. Now I am trying to ...
2
votes
2answers
517 views

Does Android SDK work in Solaris?

I want to compile my Android app in a Solaris server. Though, from Android Developers all I can see are Windows/MacOS/Linux versions. Does anyone know if I can install and use the Linux binaries in a ...
2
votes
1answer
685 views

How to track file change

nsswitch.conf file always corrupts somehow. I do restore from my backup every time it corrupt. When this file corrupts, its time stamp is changing. Now I wonder if there is a way to track that file ? ...
2
votes
2answers
15k views

High load average, low CPU usage - why?

We're seeing huge performance problems on a web application and we're trying to find the bottleneck. I am not a sysadmin so there is some stuff I don't quite get. Some basic investigation shows the ...
2
votes
1answer
198 views

solaris + vxprint + mirror for rootvol & rootdisk7vol not exist

I run the vxprint -g rootdg on my Solaris machine (HW- NETRA T2000) As we see here - rootvol & rootdisk7vol has missing lines (swapvol is OK) How to fix the rootvol & rootdisk7vol in order ...
0
votes
0answers
128 views

Comparing the efficiency of Network Stack of two different Operating Systems

I want to compare the efficiency of Network Stacks of two different operating systems(Linux and Solaris) by measuring the amount of resources(context switches, systemcalls etc) that are consumed in ...
9
votes
1answer
351 views

How can Solaris sub-partitions be accessed in FreeBSD?

First of all, Linux detects the partitions: sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 > However, FreeBSD 9.0 shows only the main partition. Is it possible that only Solaris ...
2
votes
1answer
168 views

How to bind emacs abort to key

This is from a .el file loaded in my .emacs file. What do you think? ;;; Sun keyboard bindings ;; the below line does not work: ;; when <cancel> is pressed, the minibuffer echoes "Quit" ;; but ...
1
vote
4answers
389 views

FreeBSD is not Unix. But its Unix-Like Unix. Where is then the main Unix to read the source code?

I want to really understand System V, the main origin of Unix (not Unix-like nor modified Unix to Linux). The main origin which is very confusing and not really with care its written somewhere. Is it ...
1
vote
3answers
715 views

What should a Linux Server Admin know about Solaris and AIX

I'm being considered for a new Linux Server Engineer position, but I'm told by an insider that there is a little Solaris and AIX in-house. I spend most of my time in the Debian Family, have some ...
1
vote
1answer
1k views

Unable to use scp on Solaris

I'm trying to use scp from one Solaris machine to another, but I get this message and the copy fails: root@ark123 # scp -r emcgrab_SunOS_v4.4.4a.tar 192.163.119.21:/tmp Password: Sourcing ...
1
vote
2answers
307 views

Apache server doesn't start when mod_sm.so is loaded

I have an Apache 1.3 on a Sun machine (SunOS 5.10 Generic_138888-01 sun4u sparc SUNW,Sun-Fire-15000). If I keep the following two lines in httpd.conf, the server will not start: LoadModule sm_module ...
2
votes
2answers
856 views

Per Socket network Buffer queues utilization

Is there a way to get a per-socket send and receive Queues utilization on Solaris similar to the way that Linux' netstat displays it? Example on Linux: Proto Recv-Q Send-Q Local Address ...
2
votes
2answers
535 views

Is crontab related to server performance?

I am using Solaris 10, and I am adding many cronjobs to my server's crontab. Currently I have 30 cronjobs in my crontab. one cronjob takes 8 hours to complete ,one other cron job takes 5 hours to ...
4
votes
2answers
1k views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
1
vote
3answers
16k views

How can I list all user names on Solaris 10?

I forgot a user that I created on solaris 10, so now I would like to list all user names on my server. Is it possible (I am root user)? What command I should use if possible? Somewhere on the net ...
2
votes
1answer
341 views

Remap Caps_Lock to Control in Solaris

I'm having the hardest time trying to understand how xmodmap works. I want to remap the Caps Lock key to Control. In an attempt to emaulate the answers shown here, I created the file .xmodmaprc: ...
4
votes
3answers
330 views

Do BSD and SunOS have multithreaded architectures?

I'm interested in operating systems that have a multithreading architecture, like Mach and BeOS; not ones that depend on libraries like POSIX to be multithreading. Do BSD and SunOS have a ...
0
votes
1answer
102 views

How to create an FS under SunOS?

So there is a Global Zone, and we need to create an FS on a Zone that's in the Global Zone. Also we need the new FS in a new DG/Volume inside the DG of the Zone (if we see it from the Global Zone). ...
0
votes
2answers
571 views

Veritas Volume Manager on OpenSolaris

I downloaded: http://download.oracle.com/otn/solaris/11/OracleSolaris11_11-11_VM.zip and succesfully booted it! :) only two things needed to be changed: 512 MByte RAM and VBox Processor Execution ...
0
votes
1answer
934 views

Difference between Solaris and OpenSolaris?

So I want to learn using Solaris [Diskgroups, etc.]. I recently found out that there is an OS named OpenSolaris: https://en.wikipedia.org/wiki/OpenSolaris Is it a good point to learn Solaris? Or ...
3
votes
2answers
524 views

Java process, swap (/proc Solaris10) memory highly utilized

How can I analyze high swap memory utilization of Solaris 10 for Java processes?
2
votes
4answers
660 views

Is there any handy command line tool to manage Cron jobs?

Would someone suggest any handy command line (NOT web) tool or script which adds, enables and disables Cron jobs? I am looking, for example, for the following (or similar) behavior: sh manageCron.sh ...