Information Technology Reference
In-Depth Information
The df Command
The df command lists free blocks (available storage space) and files (number
of additional files that can be created) on a file-system basis. The file systems
are identified using logical block disk device names, as shown in the follow-
ing listing:
$ df
/ (/dev/dsk/c0t1d0s0): 1554262 blocks 20690 files
/proc (/proc ): 0 blocks 1521 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/dev/fd (fd ): 0 blocks 0 files
/var/run (swap ): 1194672 blocks 15667 files
/tmp (swap ): 1194672 blocks 15667 files
$
The dmesg Command
The dmesg command collects and displays diagnostic messages from the sys-
log (typically /var/adm/messages ). These messages are generated during sys-
tem boot and use instance names (and physical names) to identify devices.
The following listing shows a partial output from the dmesg command:
# dmesg
Jul 21 17:56:02 solaris9 genunix: [ID 540533 kern.notice]
SunOS Release 5.9 Version Beta_Refresh 32-bit
Jul 21 17:56:02 solaris9 genunix: [ID 913631 kern.notice]
Copyright 1983-2001 Sun Microsystems, Inc. All rights
reserved.
Jul 21 17:56:02 solaris9 genunix: [ID 678236 kern.info]
Ethernet address = 8:0:20:23:1c:54
Jul 21 17:56:02 solaris9 unix: [ID 107659 kern.info]
pac: enabled - SuperSPARC
Jul 21 17:56:02 solaris9 unix: [ID 168242 kern.info]
mem = 163840K (0xa000000)
Jul 21 17:56:02 solaris9 unix: [ID 314941 kern.info]
avail mem = 157388800
Jul 21 17:56:02 solaris9 rootnex: [ID 466748 kern.info]
root nexus = SUNW,SPARCstation-20
Jul 21 17:56:02 solaris9 rootnex: [ID 349649 kern.info]
iommu0 at root: obio 0xe0000000
Jul 21 17:56:02 solaris9 iommu: [ID 349649 kern.info]
sbus0 at iommu0: obio 0xe0001000
Jul 21 17:56:02 solaris9 sbus: [ID 349649 kern.info]
dma0 at sbus0: SBus slot f 0x400000
Jul 21 17:56:02 solaris9 genunix: [ID 936769 kern.info]
dma0 is /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000
The format Command
The format command supports menu selection of disk devices. Both logical
device names (minus the /dev/rdsk prefix) and physical device names are dis-
played, as shown in the following:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
Search WWH ::




Custom Search