Hp unix rm文件空间不释放问题解决
1 引言很多人会遇到在操作系统上rm掉一个大的文件,以解决文件系统超标的问题,可是有的时侯文件删除掉了,而空间却未释放出来。论坛上也常常见这样贴子,为什么会这样,如何解决呢?本文只局限于Hp unix的操作系统。[@more@]2 rm掉文件空间不释放原因原因其实很简单,主要是因为被删除的文件在删除的时侯还是进程在操作(打开、访问等)的缘故,rm只完成了在磁盘上文件实体的释放,而类似free list结构中相应的文件系统因进程的操作相应的inode并未释放。3 解决的方法这样的问题解决起来也很简单,找到操作的进程,kill掉就可以了,可是找到
恢复make_recovery备份的磁带其中一个文件
make_recovery 是磁带上都创建一个 LIF 区域加一个 tar 存档 (Archive) 文件,跳封皮 LIF 区域的文件,就可以使用 tar 解出想要的内容。[@more@]1、将磁带回绕mt -f /dev/rmt/0m rew 2. cd /3. mt -f /dev/rmt/0mn fsf 14. tar xvf /dev/rmt/0m /var
solaris 9 top工具安装
最近在折腾solaris,发现自己的系统里缺少了top工具,网上相关的文章真是少的可怜,为给遇到同样问题的朋友提供些帮助,我简单的整理了一下。[@more@]做技术就是会了不难,难了不会,这个小小的问题我折腾了两个小时。top这个软件是不在sun给的那堆光盘中的,它是一个free software,可以到http://www.sunfreeware.com这里进行下载。我以solaris 9为例,其top package的下载链接为:ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/top-3.6-sol9-sparc-local.gz,如下以1234的方式简单的说说:1、按之上的连接把top-3.6-sol9-sparc-local.gz存在
手工修改HP主机Instance Number三招
有时我们需要更改设备的instance number,(例如配置MC的时候),本文给出WTEC的最权威步骤。[@more@]其中procedure I比较简单,但并不总是好用,最彻底的还是procedureII。 另外,建议大家先做一个系统备份,这些方法还是有一点危险性的。Procedure I-----------Default procedure, requires one reboot and works without additional tools.1. Extract a configuration template from the current ioscan output.Execute the following command:# ioscan -f | grep -e INTERFACE -e DEVICE | grep -v target | awk '{print $3, $1, $2}'
vi命令速查表
vi命令如何常用,放于此以备查。[@more@]% vi file :Last line mode ----> Command mode ----> Insert mode<---- <---- (auto) EscLast line mode:/exp Go forward to exp?exp Go backward to exp:w Write buffer to disk:w newfile Write buffer to newfile:w! file Write Absolutely:q Quit editor:q! Quit,discarding buffer:wq Write buffer and quit:x Write if needed & quit:f Edit & file status:r Read file into buffer:r file Read named fi
Glance Hot Key 速查
Hp-unix的glance是我们观测其系统性能的最常用的一个程序,由于经常用到,把它的hot key放于这里以备忘。[@more@]Top Level Screen Hot Keys Hot Key Screen Displayed/Descriptiona CPU By Processorc CPU Reportd Disk Reportg Process Listi I/O By File Systeml Network By Interfacem Memory Reportn NFS By Systemt System Tables Reportu I/O By Diskv I/O By Logical Volumew Swap SpaceA Application ListB Global WaitsD DCE Global ActivityG Process ThreadsH Alarm HistoryI Thread ResourceJ Thread WaitK DCE Process List