Solaris Cheat-Sheet
Here's a bunch of commands you'll find useful for getting your way around Solaris.
For details help about a particular command, you can use the built-in manual system. Simply type:
$ man command
Commonly Used Commands
| Files and Folders | |
|---|---|
| Disk space remaining (in gigabytes) | df -ht |
| Processors and Memory | |
| CPU and memory statistics | prstat -Z -s cpu (replacement for Linux's 'top') |
| Virtual memory usage | prstat -Z vmstat 5 5 |
| List running processes | ps -elf |
| User Management | |
| Add a new user | useradd -M <username> |
| Delete a user | userdel <username> |
| Modify a user's details | man usermod usermod <options> <username> |
Something Missing?
If your favorite command isn't on this list, or if you're not quite how to do something, contact us and we'll add it here!