HP非常经典系统管理文章.docx
- 文档编号:11514662
- 上传时间:2023-03-02
- 格式:DOCX
- 页数:27
- 大小:27.17KB
HP非常经典系统管理文章.docx
《HP非常经典系统管理文章.docx》由会员分享,可在线阅读,更多相关《HP非常经典系统管理文章.docx(27页珍藏版)》请在冰豆网上搜索。
HP非常经典系统管理文章
∙YouareHere:
∙
∙操作系统
∙HPUX
∙HP非常经典系统管理文章
HP非常经典系统管理文章
ByadminPublished:
一月20,2011at2:
55下午Tags:
PDCPromptatBoot……………………………………………………………………………………………………………………..2
ISLPromptatBoot……………………………………………………………………………………………………………………….2
ShowautofileContentsatHP-UXPrompt…………………………………………………………………………….2
ModifyingautofileContentsatHP-UXPrompt……………………………………………………………………2
CheckingBootDiskInformation……………………………………………………………………………………………….2
ExecutingScriptsatServerBoot……………………………………………………………………………………………..2
Kernel…………………………………………………………………………………………………………………………………………………2
GeneratingaNewKernel……………………………………………………………………………………………………………2
ListingKernelparameters………………………………………………………………………………………………………….2
DynamicLoadableKernelModules(HP-UX11.x)……………………………………………………………………2
System………………………………………………………………………………………………………………………………………………..2
RunningState………………………………………………………………………………………………………………………………..2
Documentation……………………………………………………………………………………………………………………………..2
CheckingServerInformation……………………………………………………………………………………………………..2
Locationofsyslog.logandrc.log…………………………………………………………………………………………….2
ScanningHardware………………………………………………………………………………………………………………………2
DeviceFiles……………………………………………………………………………………………………………………………………..2
SwapSpace………………………………………………………………………………………………………………………………………2
DisplayingSwapConfiguration……………………………………………………………………………………………………2
ExtendingPrimarySwap……………………………………………………………………………………………………………….2
ConfiguringSecondarySwap(DeviceSwap)……………………………………………………………………………….2
ConfiguringSecondarySwap(FileSystemSwap)……………………………………………………………………….2
CoreDump………………………………………………………………………………………………………………………………………..2
DisplayingDumpAreaConfiguration…………………………………………………………………………………………..2
ConfiguringKernelDumpDevices………………………………………………………………………………………………..2
ConfiguringRuntimeDumpDevices(HP-UX11.0only)………………………………………………………………2
CoreDumpActions………………………………………………………………………………………………………………………..2
SchedulingJobs(crontab)……………………………………………………………………………………………………………2
DiagnosticUserInterface…………………………………………………………………………………………………………..2
AddingaUser………………………………………………………………………………………………………………………………….2
HPProducts…………………………………………………………………………………………………………………………………….2
SoftwareDistributor………………………………………………………………………………………………………………….2
LogFileLocation………………………………………………………………………………………………………………………….2
CommonCommands………………………………………………………………………………………………………………………2
ManagingProducts……………………………………………………………………………………………………………………….2
CleaningUpPatches……………………………………………………………………………………………………………………..2
Glance………………………………………………………………………………………………………………………………………………2
Perfview…………………………………………………………………………………………………………………………………………..2
Omniback………………………………………………………………………………………………………………………………………….2
MeasureWare…………………………………………………………………………………………………………………………………2
RAIDManager(forBusinessCopyorContinuousAccessforXP256)…………………………………..2
CommandLine……………………………………………………………………………………………………………………………….2
Disk,LVM&FileSystemManagement…………………………………………………………………………………….2
ManagingEMC²Disks……………………………………………………………………………………………………………………..2
StartingOpenSymmetrixManager……………………………………………………………………………………………….2
CheckingEMCDisksConfiguration(inq)……………………………………………………………………………………2
ScanningLVMDisks………………………………………………………………………………………………………………………..2
FullProcessforCreatingaFileSystem………………………………………………………………………………….2
CreatingaFileSystemonaSpecificDisk………………………………………………………………………………..2
MirroringaLogicalVolumeontoaParticularPhysicalVolume……………………………………2
ExpandingOnlineaVxFSFileSystem(withOnlineJFS)……………………………………………………….2
ExpandingaFileSystem(withoutOnlineJFS)………………………………………………………………………..2
CheckingDisk&LVMInformation……………………………………………………………………………………………..2
CheckingaFileSystemBlockSize…………………………………………………………………………………………….2
CheckingActiveProcessesonaFileSystem……………………………………………………………………………2
SpecificitiesofVxFSFileSystems………………………………………………………………………………………………2
SpecialMountOptions………………………………………………………………………………………………………………….2
VxFS–SpecificCommands…………………………………………………………………………………………………………….2
OnlineJFSFeatures(fsadm)………………………………………………………………………………………………………….2
RunningfsckontherootFileSystem………………………………………………………………………………………2
RepairingaCorruptHFSFileSystem………………………………………………………………………………………..2
RepairingaCorruptJournaledFileSystem(VxFS)……………………………………………………………….2
CheckingRead&WriteCacheHitRatiosBufferCache………………………………………………………2
Filemanagement…………………………………………………………………………………………………………………………….2
CommandOptions(ls,cp,rm,chmod)…………………………………………………………………………………………2
FileRights……………………………………………………………………………………………………………………………………….2
InformationonaBinaryFile……………………………………………………………………………………………………..2
InformationonaFile…………………………………………………………………………………………………………………..2
FindFiles………………………………………………………………………………………………………………………………………..2
Executingacommandonthefoundfiles……………………………………………………………………………………….2
RemovingFilesOlderthan1DayinCurrentDirectory……………………………………………………………….2
FindingFilesBiggerThan1KB…………………………………………………………………………………………………….2
Printing……………………………………………………………………………………………………………………………………………..2
Statusofallprinters………………………………………………………………………………………………………………….2
lpoptions………………………………………………………………………………………………………………………………………..2
Enabling/DisablingPrinters………………………………………………………………………………………………………2
CancelPrinting……………………………………………………………………………………………………………………………..2
AdministratorCommands……………………………………………………………………………………………………………2
AddingaLocalPrinter………………………………………………………………………………………………………………..2
RemovingaPrinter………………………………………………………………………………………………………………………..2
NetworkManagement…………………………………………………………………………………………………………………2
CheckingConfiguration………………………………………………………………………………………………………………2
ConfigurationsFiles……………………………………………………………………………………………………………………..2
/etc/hosts………………………………………………………………………………………………………………………………………..2
/etc/resolv.conf………………………………………………………………………………………………………………………………2
/etc/nsswitch.conf…………………………………………………………………………………………………………………………..2
OtherFiles……………………………………………………………………………………………………………………………………..2
ChangingConfiguration………………………………………………………………………………………………………………2
Utilities……………………………………………………………………………………………………………………………………………..2
TarCopy&TarGzip………………………………………………………………………………………………………………………2
Remotely………………………………………………………………………………………………………………………………………..2
X-WindowsEnvironment……………………………………………………………………………………………………………..2
PrintinganX-window……………………………………………………………………………………………………………………2
GettinganhptermWindowwithaScrollbar…………………………………………………………………………………2
ResizingaWindow…………………………………………………………………………………………………………………………2
AccessingCommandHistory………………………………………………………………………………………………………..2
Settingdifferentcommandhistoriesforoneuser…………………………………………………………………………..2
StringSubstitutionUnder“vi”………………………………………………………………………………………………….2
CommunicatingwithConnectedUsers…………………………………………………………………………………….2
Date&Time…………………………………………………………………………………………………………………………………….2
Executiontimeofacommand………………………………………………………………………………………………………..2
Reformated“bdf”………………………………………………………………………………………………………………………….2
LoggingActions……………………………………………………………………………………………………………………………..2
Scripting…………………………………………………………………………………………………………………………………………..2
VersionControlwithRCS…………………………………………………………………………………………………………..2
StoringScriptNameinaVariable…………………………………………………………………………………………….2
SyntaxforTests……………………………………………………………………………………………………………………………2
TestingifaVariableisnotNull……………………………………………………………………………………………….2
ConvertingStringtoLowercase……………………………………………………………………………………………….2
SubstitutingaStringinaFile…………………………………………………………………………………………………..2
UsinganArrayofValues…………………………………………………………………………………………………………….2
IncrementinganInteger……………………………………………………………………………………………………………..2
Debugging…………………………………………………………………………………………………………………………………………2
Boot
PDCPromptatBoot
autobooton|off#Activateordeactivateautoboot
autobooton|off#IdemforV-classservers
autosearchon|off#Activateordeactivateautosearch
autosearchon|off#IdemforV-classservers
path#Displayhardwarepathofcurrentbootdevice
pathprihardware_address#Settheprimarybootpath
pathalthardware_address#Setthealternatebootpath
bo#Continuethebootprocess
ISLPromptatBoot
ISL>help#Displayavailablecommands
ISL>hpuxlsautofl#Displaythecontentsoftheautofile
ISL>hpuxshowautofile#Displaythebootstringoftheautofile
ISL>sea#Searchbootableanddiskdevices
ISL>hpux(52.6.0;0)/stand/vmunix#NormalbootatISLprompt
ISL>hpux(52.6.0;0)/stand/vmunix.prev#Bootonbackupkernel
ISL>hpux–is#Bootinsingleusermode
ISL>hpux–lq#BootwithoutrootVGmeetingquorum
ShowautofileContentsatHP-UXPrompt
/usr/bin/lifcp/dev/rdsk/c0t0d0:
AUTO/tmp/file_name#wherec0t0d0isthebootdiskdevicefile
cat/tmp/file_name
ModifyingautofileContentsatHP-UXPrompt
mkboot-a“hpux(56/52.5.0;0)/stand/vmunix”/dev/rdsk/c0t0d0
CheckingBootDiskInformation
lvlnboot–v#Showbootdiskandboot,root,swap&dumpconfiguration
ExecutingScriptsatServerBoot
Youcanuse/sbin/init.d/templateasatemplateforstartupscripts.
Scriptsarelocatedin/sbin/init.d
Configurationfilesarelocatedin/etc/rc.config.d
SymboliclinkscalledS900script_nameandK100script_namearelocatedin/etc/rcN.det/etc/rcN-1.d
Kernel
GeneratingaNewKernel
Remark:
itisrecommendedtouseSAM…
cd/stand/build
/usr/lbin/sysadm/system_prep-ssystem#Ifnecessary,extractanewsystemfilefromthecurrentkernel
Makedesiredchangeswithoneofthefollowingactions:
üvisystem
ükmtune[[-sparam{=|+}value]…][[-rparam]…]-Ssystem
#HP-UX11.0Modifytunableparameters(-r:
resettodefault)
/usr/s
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- HP 非常 经典 系统管理 文章
![提示](https://static.bdocx.com/images/bang_tan.gif)