Questions tagged [solaris]

Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.

Solaris is a UNIX certified operating system for SPARC , i86,x86 and x86-64 processor architectures. It was developed by SUN Microsystems until 2010 when the company was acquired by Oracle Corp. Subsequently Solaris has been renamed Oracle Solaris.

1157 questions
203
votes
11 answers

How to read backward from the end of file in less or more?

I've found one way so far: less +G filename, but it scrolls up line-by-line only with ↑. What's a more powerful less usage which provides scrolling by page, backward pattern search, and so on?
yetanothercoder
  • 2,135
  • 2
  • 13
  • 6
172
votes
8 answers

How do I sleep for a millisecond in bash or ksh

sleep is a very popular command and we can start sleep from 1 second: # wait one second please sleep 1 but what the alternative if I need to wait only 0.1 second or between 0.1 to 1 second ? remark: on linux or OS X sleep 0.XXX works fine , but…
yael
  • 2,363
  • 4
  • 28
  • 41
100
votes
6 answers

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 CPU to be idle, lots of memory to be available,…
Spiff
  • 1,571
  • 2
  • 11
  • 12
73
votes
3 answers

What does * * * * * (five asterisks) in a cron file mean?

The first noncomment line in a legacy crontab file begins with five asterisks: * * * * * ([a_command]) >/dev/null 2>&1 The authors are gone, so I do not know their intent. What does all-wildcards mean to (Solaris 8) cron? The betting here is…
Thomas L Holaday
  • 1,253
  • 4
  • 16
  • 19
36
votes
8 answers

How to reduce memory usage on a Unix webserver

I'm currently using a Joyent Accelerator to host my webapps, and it's working fine, however I need to reduce costs so I'm downgrading my current plan and that imposes some new memory limits (256M rss, 512M swap). I wasn't too far over them…
lima
  • 797
  • 1
  • 8
  • 14
24
votes
4 answers

Moving a ZFS filesystem from one pool to another

I am extending a Solaris 10 U8 server with an extra storage pool in addition to the root rpool. What is the most effective / simple / reliable way of moving particular ZFS filesystem(s) from rpool to this new storage pool? Can it be done online or…
Asgeir S. Nilsen
  • 353
  • 1
  • 2
  • 7
24
votes
2 answers

How large is my ZFS dedupe table at the moment?

I have read a lot of information about planning RAM requirements forZFS deduplication. I've just upgraded my file server's RAM to support some very limited dedupe on ZFS zvols which I cannot use snapshots and clones on (as they're zvols formatted as…
Josh
  • 9,001
  • 27
  • 78
  • 124
24
votes
2 answers

ZFS performance: do I need to keep free space in a pool or a file system?

I know that the performance of ZFS heavily depends on the amount of free space: Keep pool space under 80% utilization to maintain pool performance. Currently, pool performance can degrade when a pool is very full and file systems are updated…
Pavel
  • 988
  • 1
  • 8
  • 29
23
votes
2 answers

How can I add one disk to an existing raidz zpool?

I have an OpenSolaris server with a zpool backupz comprised of four SCSI drives: -bash-3.2# zpool status backupz pool: backupz state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM backupz ONLINE…
Josh
  • 9,001
  • 27
  • 78
  • 124
18
votes
7 answers

Can I use SSH key authentication to log into a remote system with a different username?

Suppose I have a remote system named "remotesystem", and a user account "foouser" on that system. I know that on my local system, I can generate an SSH key pair as local user "foouser", put the public key in the "/home/foouser/.ssh/authorized_keys"…
Matt
  • 283
  • 1
  • 2
  • 6
17
votes
4 answers

SSH into NAT'd servers on the same public IP address

I am trying to SSH from in office X to a few Linux boxes in office Y. The Linux boxes in office Y are behind NAT and each run on their own ports. I can successfully reach all of them through SSH, but I cannot authenticate. I was able to SSH into the…
Copy Run Start
  • 724
  • 1
  • 9
  • 27
15
votes
5 answers

How do I recover free space on deleted files without restarting the referencing processes?

When big files are deleted on a server, the files might still be referenced by processes, so the file system doesn't have more free space. I tried to use lsof, but it seems it didn't list the deleted files. fuser -c did better work, but the list of…
ujjain
  • 3,963
  • 15
  • 50
  • 88
15
votes
3 answers

What is the range of a PID on Linux and Solaris?

What is the maximum and minimum value for a PID (Process ID) on Linux and Solaris?
Graeme
  • 251
  • 1
  • 2
  • 5
15
votes
9 answers

Solaris as a server OS - why?

I have no experience with Solaris and asked myself will I ever use it and why would I chose to do so. I couldn't answer that on my own, so here goes.. Please reply stating why exactly do you administer a Solaris box, why you wouldn't do so and…
Karolis T.
  • 2,709
  • 7
  • 32
  • 45
15
votes
2 answers

How to upgrade a ZFS RAID-Z array to larger disks on OpenSolaris?

I'm planning on installing OpenSolaris on my home server (right now it has Linux) and I would like to know how to prepare for upgrading the server to have larger hard drives in the future. Now the server has 4x 400GB SATA drives and I would install…
Esko Luontola
  • 1,213
  • 1
  • 11
  • 9
1
2 3
77 78