服务器 频道

Solaris的中文命令参考手册之四

  date
  # date
  2003年10月12日 星期日 10时04分16秒 CST
  (CST是Chinese Standard Time的缩写)
  # date 10121003 设置时间为10月12日10时03分
  
  设备管理
  
  软盘
  #volcheck
  fdformat [-dDeEfHlLmMUqvx] [-b label] [-B filename] [-t dos-
  type] [devname] //格式化
  
  prtconf
  # prtconf //配置信息
  System Configuration: Sun Microsystems i86pc
  Memory size: 128 Megabytes //内存
  System Peripherals (Software Nodes):
  
  i86pc
  +boot (driver not attached)
  memory (driver not attached)
  aliases (driver not attached)
  chosen (driver not attached)
  i86pc-memory (driver not attached)
  i86pc-mmu (driver not attached)
  openprom (driver not attached)
  options, instance #0
  packages (driver not attached)
  delayed-writes (driver not attached)
  itu-props (driver not attached)
  isa, instance #0
  motherboard (driver not attached)
  asy, instance #0
  asy, instance #1
  lp (driver not attached)
  fdc, instance #0
  fd, instance #0
  fd, instance #1 (driver not attached)
  i8042, instance #0
  keyboard, instance #0
  mouse, instance #0
  PNP0C02 (driver not attached)
  PNP0C02 (driver not attached)
  PNP0C02 (driver not attached)
  bios (driver not attached)
  bios (driver not attached)
  bios (driver not attached)
  pci, instance #0
  pci15ad,1976 (driver not attached)
  pci8086,7191 (driver not attached)
  pci15ad,1976 (driver not attached)
  pci-ide, instance #0
  ide, instance #0
  cmdk, instance #0
  ide, instance #1
  sd, instance #0
  pci15ad,1976, instance #0
  pci15ad,1976 (driver not attached)
  display, instance #0
  pci1022,2000, instance #0
  pci1274,1371 (driver not attached)
  used-resources (driver not attached)
  objmgr, instance #0
  cpus (driver not attached)
  cpu, instance #0 (driver not attached)
  pseudo, instance #0
  #
  # prtconf | grep Memory //查看内存
  Memory size: 128 Megabytes
  
  
  
  
  
  arch
  # arch -k //了解体系结构
  i86pc
  uname
  # uname -m
  i86pc
  # uname
  SunOS
  # uname -a
  SunOS wing 5.9 Generic_112234-03 i86pc i386 i86pc
  
  
  eject
  #eject floppy
  
  eeprom
  #eeprom selftest -#megs=64 //修改系统自检到的内存数
  
  sysdef
  #sysdef //更详细的体系机构
  
  df
  # df -k //显示当前所有已安装的文件系统上的文件数目和空闲块的数目
  文件系统 千字节 用了 可用 容量 挂接在
  /dev/dsk/c0d0s0 63127 36143 20672 64% /
  /dev/dsk/c0d0s6 1201014 768820 372144 68% /usr
  /proc 0 0 0 0% /proc
  mnttab 0 0 0 0% /etc/mnttab
  fd 0 0 0 0% /dev/fd
  /dev/dsk/c0d0s3 55047 25258 24285 51% /var
  swap 651040 24 651016 1% /var/run
  swap 651016 0 651016 0% /tmp
  /dev/dsk/c0d0s5 24239 15 21801 1% /opt
  /dev/dsk/c0d0s7 2691830 122 2637872 1% /export/home
  /dev/dsk/c0d0s1 462639 306816 109560 74% /usr/openwin
  # df -a //打印所有文件系统的信息
  / (/dev/dsk/c0d0s0 ): 53968 块 30100 文件
  /usr (/dev/dsk/c0d0s6 ): 864388 块 261705 文件
  /proc (/proc ): 0 块 1878 文件
  /etc/mnttab (mnttab ): 0 块 0 文件
  /dev/fd (fd ): 0 块
  
0
相关文章