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

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 ...


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.


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

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 ...


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

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

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

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

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

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 ...


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

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

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 ...


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

You can use 'top' which can give you this information, but for this you need to install top package WLtop (if not already installed). You can find this in companion CD or you can download this from sunfreeware.com This will be available in companion CD or you need to download from sunfreeware.com. if this is already installed you can find the default top ...



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