| crash |
echo kmastat | crash
echo "map kernelmap" | crash |
|
All kinds of stats from running system |
Solaris |
| dd |
dd bs=1024k if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c0t1d0s2 |
1GB disk on SS20 takes 11mins
Lower the blocksize to 5K and triple the time!! |
Copy a Solaris disk |
Solaris |
| disk |
Get device path from /etc/path_to_inst
match it in /dev/osa/dev/dsk |
|
How to translate sd3 into cXtYdZ |
Solaris |
| dump |
dump 0f - /dev/sd1a | ( cd /new_disk ; restore rf - ) |
remove /new_disk/restoresymtable after copy |
Copy a disk parition |
Solaris |
| echo |
echo * |
|
Alternative to ls in munix |
Solaris |
| eeprom |
eeprom nvramrc="devalias os .....<CR>
devalias osmirror ......." |
|
set a devalias within solaris |
Solaris |
| password |
/etc/default [login|passwd]
set PASSREQ=NO |
|
No password required under Solaris |
Solaris |
| pkgadd |
cp /var/sadm/install/admin/default to /tmp/install
edit basedir in /tmp/install
pkgadd -a /tmp/install -d . |
|
how to add a package into a directory other than the default |
Solaris |
| pkginfo |
grep filename /var/sadm/install/contentspkginfo -l to find the details |
|
what file is in what package |
Solaris |
| prom |
setenv input-device ttya
printenv input-device |
|
how to set value from the OK prompt |
Solaris |
| prtdiag |
/usr/kvm/prtdiag |
|
system diags for SS1000 |
Solaris |
| psrinfo |
psrinfo -v |
|
what cpus installed and what speed |
Solaris |