Tag Info

Hot answers tagged

6

To clear things up for everyone: uname -r will show the major version number prefixed by 5. (e.g., Solaris 9 will be 5.9, 10 will be 5.10 and 11 will be 5.11) uname -v will be the kernel patch number or nevada build number. Prior to OpenSolaris this will be meaningless to you as patches can be installed independent of update releases. On Solaris 10 & ...


5

There is no -m option to the Solaris grep. The -m N switch stops reading a file after N lines have been matched. If all you want is N lines of output then you could use grep test file | head -N where N is the number of lines of output that you want.


5

Solaris 8 was last shipped on February 16, 2007. You can only get patches for it until end of march 2012 after which it will reach its end of service life.


5

Pick: 1) what you (or your sysadmin) is familiar with. Keeping a cluster up is a lot of work even when you know what you're doing; tossing in a large learning curve will just mean more work. 2) something that can autodeploy the entire OS and build to a machine. Debian's FAI or RedHat's Kickstart or something; you don't want to have to hand-install that ...


4

Use following command uname -r in terminal


4

The key advantage of Solaris is mature support for ZFS storage, which, among other things, can increase your IOPS dramatically by providing a means to cache reads (L2ARC) and writes (ZIL) using enterprise SSDs. It sounds like this could be highly relevant to your situation. The key advantage of Linux is mature support for practically everything else. Of ...


4

First, it appears you aren't really using a regular OpenSolaris distribution but kind of an old fork of it. pkgin is a pkgsrc front-end and is available on recent Joyent servers. On older ones, you should use pkg_add instead, and on even older ones using Blastwave as repository, pkg-get is the way to go. Have a look at this page for details: ...


4

I don't have an OpenSolaris 'server' to hand but the desktop I have handy has packagemanager (gui) and pkg (command line) installed. If you have access to packagemanager then you can add the webstack repository gksu /usr/bin/packagemanager File->Manage Repositories Name: Webstack URL: http://pkg.opensolaris.org/webstack Add ...


3

You can also try: cat /etc/release


2

In my personal 10 year experience as sysadmin, use what everyone uses. If you go with Solaris route, you will get more features, but it will be harder to find solutions online or find proficient staff which can handle problems. If you go with linux, go with basic debian host and install what you need with apt-get. That way you won't install unneeded ...


2

# ls testfile.txt # /usr/xpg4/bin/tr '\n' ',' < testfile.txt "xxxxxx","yyyyyy","aaaaaa","cccccc","bbbbbb","eeeeee","oooooo","zzzzzz",,# # /usr/xpg4/bin/tr '\n' ',' < testfile.txt | sed 's/,/hello/g' # ls -l /usr/xpg4/bin/sed -r-xr-xr-x 1 root bin 27460 Apr 7 2002 /usr/xpg4/bin/sed # /usr/xpg4/bin/tr '\n' ',' < testfile.txt | ...


2

You can obtain the physical memory information using kstat -c pages. The numbers are in pages; use the pagesize command to get the page size in bytes. Use swap -s for the current swap utilization.


2

The command: /usr/ucb/ps wwwaux only prints the full command if it is run as root. Add sudo to the front of that or switch to root and it should work as expected.


2

Solaris 8 was only released for the SPARC architecture. Your best bet is to contact Oracle and see if they will sell you any CDs. You should be able to pick up a SPARC machine capable of running Solaris 8 on the second user market. For software package etc there is always sunfreeware.com.


2

You would need a valid developer account and/or maintenance agreement with Oracle. I do not believe those are free.


2

Not as detailed as your Linux example but you could use the ::memstat macro in mdb: # echo ::memstat | mdb -k Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel 178001 1390 69% Anon 52748 412 21% Exec and libs ...


2

I don't haven an old-style cpio archive around anymore, I think, but considering the evolution of the program, I'm confident that Jörg Schillings star should be able to extract files from that format. It's even pretty good at finding out about the format of the file itself, so chances are, you don't have to try around with the multitude of options ...


2

Have you tried something like: ldapsearch -LLL -h hostname -b "" -s base -D cn=admin,dc=yourdomain,dc=com -W "(objectclass=*)" vendorversion objectClass isGlobalCatalogReady vendorname Source


2

You would need GNU grep to use the -m option. You could use awk or sed in Solaris instead, if you do not want to use GNU grep: awk '$0 ~ var{print;exit}' var=$string mytextfile


2

OpenSolaris is composed of several consolidations and the main one is OS/Net which has the kernel and much of the userland. Other components of it are the pkg tools, X, etc. Oracle has stopped sharing updates it does to the OS/Net consolidation (most of the OpenSolaris OS). These changes are not flowing from their internal repository to the public ...


2

At the very least if you wish to download & apply patches you have to have a maintenance agreement.


2

You're expecting a JBOD, but it appears that this might be set up as a SAN, and you're seeing LUNs. You should check the 6140s themselves.


2

To check if bash package is installed try this command (verified on Solaris 10): pkginfo -l SUNWbash It may be also installed from 3rd-party software repository, then, try: pkginfo | grep -i bash


1

Turns out the official way to modify an SMF of an inetd-managed service is with inetadm; Before inetadm -l svc:/network/finger:default | grep exec exec="/usr/sbin/in.fingerd" Fix inetadm -m svc:/network/finger:default exec="/usr/sbin/in.fingerd -s" After inetadm -l svc:/network/finger:default | grep exec exec="/usr/sbin/in.fingerd ...


1

ps -efww will not restrict the width of a line. w means "wide". ww means "unlimited width".


1

The official name of the OpenSolaris packaging system is IPS (Image Packaging System). The primary command-line tool is pkg(1). See http://hub.opensolaris.org/bin/view/Project+pkg/WebHome jilliagre is correct: Joyent do not use an official release. SmartOS is based on SXCE, which did not use IPS, but the older SVR4 package system from Solaris 10 and ...


1

Have you tried running w/o wildcard hosts and then adding one of them back to see if sudo gets bothered? This would clear up the question as to whether wildcards on hosts are allowed.


1

first question: Is it possible to get detailed memory information on SunOS with the default system tools (i.e. not using top)? It is definitely possible to get detailed memory statistics and more with Solaris standard tools (SunOS is only the kernel name nowadays). In addition to the already mentioned echo ::memstat | mdb -k, you can have memory statistics ...


1

Have you tried running their existing binaries on Solaris 10? ideally it should run as Solaris provides "Binary Gurantee" which means binaries compiled for old version of OS should run on new version os OS without a recompiling.


1

If you're looking to find which directory is going insane with size, try cd ${mountPointDirWhereThingsAreGettingTooTight} du -s * | sort -n ..... 62719 usr 4043953 Pictures 4703272 AppData 5193812 VirtualBox VMs 8117498 Downloads Then, if 1 directory stands out as way over-sized, you can cd into that dir and repeat the du ... and repeat until to locate ...



Only top voted, non community-wiki answers of a minimum length are eligible