freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

solaris系統(tǒng)管理培訓(xùn)-資料下載頁

2025-04-16 13:33本頁面
  

【正文】 用戶的注釋 m 建立用戶目錄 login 用戶的登錄名 #useradd –u 1233 –g sun –d /export/home/sun –c “Sun test user.” –m –s /usr/bin/sh sun (第九章:初始化文件管理) 作 者: jxbcpp (20010515 17:15:00) 用戶的初始化文件是一些命令腳本和shell參數(shù)。 下表列出不同的shell所運行的初始化文件: Shell System User Template (Read First) (Read Second/Third) /etc/skel Bourne /etc/profile $HOME/.profile Korn /etc/profile $HOME/.profile C /etc/.login $HOME/.cshrc then $HOME/.login 如當一個具有Bourne Shell的用戶登陸系統(tǒng)后,系統(tǒng)將首先自動運行/etc/profile這個初始化腳本。 當創(chuàng)建一個Bourne Shell的用戶時,系統(tǒng)會自動把/etc/skel/。因此/etc/skel下包含的是一些用戶初始化腳本的模板。 如何手工運行初始化腳本文件: Bourne and Korn Shells $ cd $ . ./.profile $ . ./.kshrc C Shell % source ~/.login % source ~/.cshrc (第十章:進程控制) 作 者: jxbcpp (20010515 18:15:01) 使用ps命令顯示系統(tǒng)正在運行的進程。 參數(shù): e 列出系統(tǒng)所有的進程 f 列出詳細清單 UID:運行進程的用戶 PID:進程的ID PPID:父進程的ID C:進程的CPU使用情況(進程使用占CPU時間的百分比) STIME:開始時間 TTY:運行此進程的終端或控制臺 TIME:消耗CPU的時間總量 CMD:產(chǎn)生進程的命令名稱 要查找某進程: ps ef|grep process_name 使用Kill命令給進程發(fā)送一個信號。Kill命令一般用于結(jié)束系統(tǒng)的某個進程。 Solaris有44個信號。每個信號有個數(shù)字和名稱。如果你未制定信號,則默認為信號15,這個信號用于結(jié)束進程。 用戶只能結(jié)束自己啟動的進程。超級用戶可以結(jié)束任何一個進程。 find / name test ps aef|grep find root 3602 3575 0 20:13:01 pts/0 0:00 grep find root 3601 3575 2 20:12:56 pts/0 0:00 find / name test kill 3601 (第十一章:磁盤配置和命名) 作 者: jxbcpp (20010515 19:15:01) Solaris下,一個磁盤包含8個分區(qū),標記為0-7。 分區(qū)0位根分區(qū),包含啟動的信息 分區(qū)2代表整個磁盤 交換分區(qū)可以是任何分區(qū),默認為分區(qū)1 其它分區(qū)用戶存放數(shù)據(jù) 邏輯設(shè)備名存放在/dev/dsk和/dev/rdsk中。這些名稱是/devices目錄下的符號連接。使用邏輯設(shè)備名便于系統(tǒng)管理員操作。 Sun使用下列命名方式定義邏輯設(shè)備名: /dev/[r]dsk/ctds c:邏輯控制器號 t:物理總線目標號 d:磁盤或邏輯單元號(LUN) s:分區(qū)號 物理設(shè)備名表示設(shè)備的完整信息,如設(shè)備總線地址。物理設(shè)備名在/devices目錄下。 ls l /dev/dsk/c0t3d0s0 lrwxrwxrwx 1 root root 86 Oct 20 16:04 /dev/dsk/c0t3d0s3 ../../devices/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,880 0000/sd@3,0:d 實例名是系統(tǒng)設(shè)備的簡稱。例如: sdn where s = SCSI, d = disk, and n = 邏輯磁盤號,例如sd0,表示第一個SCSI磁盤設(shè)備。 dmesg顯示實例名 dmesg命令鑒別系統(tǒng)所連接的設(shè)備。以實例和物理設(shè)備名稱的方式顯示。 dmesg|more May 13 20:18 cpu0: SUNW,UltraSPARC (upaid 0 impl 0x10 ver 0x40 clock 167 MHz) SunOS Release Version Generic [UNIX(R) System V Release ] Copyright (c) 19831998, Sun Microsystems, Inc. NOTICE: 64 bit OS installed, but the 32bit OS is the default for the processor(s) on this system. See boot(1M) for more information. Booting the 32bit OS ... mem = 196608K (0xc000000) avail mem = 189440000 Ethernet address = 8:0:20:9b:60:b5 root nexus = Sun Ultra 1 SBus (UltraSPARC 167MHz) sbus0 at root: UPA 0x1f 0x0 ... sbus0 is /sbus@1f,0 dma0 at sbus0: SBus0 slot 0xe offset 0x8400000 dma0 is /sbus@1f,0/espdma@e,8400000 /sbus@1f,0/espdma@e,8400000/esp@e,8800000 (esp0): espoptions=0x46 ... ... prtconf用于顯示系統(tǒng)的配置信息,包括內(nèi)存、外圍設(shè)備等。 prtconf|more System Configuration: Sun Microsystems sun4u Memory size: 192 Megabytes System Peripherals (Software Nodes): SUNW,Ultra1 packages (driver not attached) terminalemulator (driver not attached) deblocker (driver not attached) obptftp (driver not attached) disklabel (driver not attached) sunkeyboard (driver not attached) ufsfilesystem (driver not attached) chosen (driver not attached) openprom (driver not attached) clientservices (driver not attached) options, instance 0 aliases (driver not attached) memory (driver not attached) virtualmemory (driver not attached) countertimer (driver not attached) sbus, instance 0 SUNW,CS4231, instance 0 (driver not attached) auxio (driver not attached) ... ... 當在系統(tǒng)中增加新設(shè)備時,需要重新配置系統(tǒng)的硬件信息。這樣,系統(tǒng)就會重新構(gòu)建/devices和/dev目錄。 下面是新增加硬盤的步驟: ,然后重新關(guān)機。 2. 將硬盤接上機器,然后開機。 。 touch /reconfigure init 5 format (第十二章:磁盤、分區(qū)和格式化) 作 者: jxbcpp (20010515 20:15:01) 磁盤卷標,也叫磁盤卷內(nèi)容表(VTOC),包含: 磁盤的分區(qū)表 磁盤的卷名 各分區(qū)的分區(qū)標識(分區(qū)掛接點的描述) 各分區(qū)的分區(qū)標識(分區(qū)是否可寫或可掛接) 磁盤卷標占據(jù)磁盤的第一扇區(qū) 把一個磁盤分區(qū)的步驟: 1. Type format at the prompt and press Return. 2. Choose a disk by selecting the number to the left corresponding to its description. 3. Type partition at the format prompt. 4. Type print at the partition prompt. 5. Type partition number to change the root partition. 6. Enter the new values. 7. Once you are satisfied with the partition table, label the disk. 命令prtvtoc可以顯示某個磁盤的分區(qū)狀況 prtvtoc /dev/rdsk/c0t0d0s2 * /dev/rdsk/c0t0d0s2 partition map * Dimensions: * 512 bytes/sector * 80 sectors/track * 9 tracks/cylinder * 720 sectors/cylinder * 2500 cylinders * 1151 accessible cylinders * Flags: * 1: unmountable * 10: readonly * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 2 00 0 41040 41039 / 1 3 01 41040 65520 106559 2 5 00 0 828720 828719 6 4 00 106560 722160 828719 /usr (第十三章:文件系統(tǒng)介紹) 作 者: jxbcpp (20010515 21:15:01) 文件系統(tǒng)的定義 對用戶來說,文件系統(tǒng)是存儲信息的文件和目錄的集合。 對操作系統(tǒng)來說,文件系統(tǒng)是以一些數(shù)據(jù)的集合。 磁盤文件系統(tǒng) Solaris定義了3種文件系統(tǒng)類型: ufs – UNIX文件系統(tǒng)。是Solaris缺省的文件系統(tǒng)。 hsfs – 高密度CDROM文件系統(tǒng),是只讀文件系統(tǒng)。 pcfs – PC文件系統(tǒng),支持DOS格式化的軟盤。 網(wǎng)絡(luò)文件系統(tǒng) NFS是Solaris系統(tǒng)支持的網(wǎng)絡(luò)文件系統(tǒng)。 內(nèi)存文件系統(tǒng) 指操作系統(tǒng)運行時存在于內(nèi)存中的文件系統(tǒng)。 流分區(qū)已經(jīng)定義了分區(qū)的大小和位置,但未創(chuàng)建文件系統(tǒng)。 塊分區(qū)已經(jīng)創(chuàng)建了文件系統(tǒng)。 它們之間的邏輯設(shè)備名分別存放在/dev/rdsk河/dev/dsk中。 磁盤卷標包含了磁盤的分區(qū)表。磁盤卷標存放在磁盤的第一個扇區(qū)。 啟動塊 啟動塊存放著啟動程序。位于磁盤的1-15扇區(qū)。 超級塊 超級塊包含啟動塊后面的16個扇區(qū)。超級塊是文件系統(tǒng)的信息表,包含: 數(shù)據(jù)塊的數(shù)量 柱面組的數(shù)量 數(shù)據(jù)塊和碎片的大小 硬件的描述 掛接點 文件系統(tǒng)的狀態(tài):干凈、穩(wěn)定或激活 備份的超級塊 由于超級塊包含了許多關(guān)鍵數(shù)據(jù),因此,必須要備份。備份是在文件系統(tǒng)創(chuàng)建時產(chǎn)生的。 Solaris下以inode的方式記錄文件 Inode包含文件的下列信息: 文件類型和訪問模式 文件的擁有者和所在組的 文件大小 上次訪問和更改的時間以及i
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1