# uname &&whoami
AIX
root
# df -g
FilesystemGB blocks Free %UsedIused %Iused Mounted on
/dev/hd4 2.25 0.14 94% 942522% /
/dev/hd2 4.62 0.11 98%8998875% /usr
/dev/hd9var2.00 1.40 31% 5038 2% /var
/dev/hd3 4.00 1.43 65%10762 4% /tmp
/dev/hd1 5.00 3.78 25% 1478 1% /home
/proc - -- - - /proc
/dev/hd10opt 2.00 1.69 16% 5152 2% /opt
/dev/lv9i 12.00 7.77 36%13539 1% /oracle9i
/dev/lv10 12.00 7.64 37%51178 3% /oracle10
/dev/lvdsgnew150.00111.65 26%52780 1% /dsg
/dev/lv11g17.00 2.73 84%55374 8% /oracle11
#
#
# lslv lv11g|grep TYPE
TYPE: jfs2 WRITE VERIFY: off
# lslv hd4|grep TYPE
TYPE: jfs2 WRITE VERIFY: off
#
#
# lsfs
NameNodename Mount Pt VFS SizeOptionsAuto Accounting
/dev/hd4-- / jfs2 4718592 -- yes no
/dev/hd1-- /home jfs2 10485760 -- yes no
/dev/hd2-- /usr jfs2 9699328 -- yes no
/dev/hd9var -- /var jfs2 4194304 -- yes no
/dev/hd3-- /tmp jfs2 8388608 -- yes no
/proc -- /proc procfs -- -- yes no
/dev/hd10opt-- /opt jfs2 4194304 -- yes no
/dev/lv9i -- /oracle9i jfs2 25165824 nosuid,rw yes no
-- #/dsg ---- -- no no
/dev/lv00 -- # jfs 262144 -- yes no
/dev/lv11g -- /oracle11 jfs2 35651584 rw yes no
192.168.1.77:/vvfs -- /vvfs nfs -- rw yes no
/dev/lv01 -- /testlvjfs -- rw no no
/dev/testlv -- /test jfs -- rw no no
/dev/lv10 -- /oracle10 jfs2 25165824 rw yes no
/dev/lvdsgnew -- /dsg jfs2 314572800 -- no no
HP-UX
# uname &&whoami
HP-UX
root
#
# bdf
Filesystem kbytesused avail %used Mounted on
/dev/vg00/lvol310485760 8831208 1642432 84% /
/dev/vg00/lvol12097152 91776 19897444% /stand
/dev/vg00/lvol10 5242880 1983224 3241480 38% /var
/dev/vg00/lvol910485760 2870416 7555872 28% /usr
/dev/vg00/lvol85242880 3411464 1822600 65% /tmp
/dev/vg00/lvol710485760 5129608 5021664 51% /oracle9i
/dev/vg00/ora11lv 12582912 20165 117775830% /oracle11
/dev/vg00/lvol631457280 26103008 5024747 84% /oracle10
/dev/vg00/lvol510485760 3189952 7238816 31% /opt
/dev/vg00/inforlv 5242880 1415506 3589475 28% /informix
/dev/vg00/lvol45242880 489880 47158729% /home
/dev/datavg/lvol1 209715200 191397721 17271654 92% /dsg
#
#
# fstyp -v /dev/vg00/ora11lv
vxfs
version: 6
f_bsize: 8192
f_frsize: 1024
f_blocks: 12582912
f_bfree: 12562747
f_bavail: 11777576
f_files: 3140716
f_ffree: 3140684
f_favail: 3140684
f_fsid: 1073741835
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 10
f_fsize: 12582912
#
#
# cat /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol8 /tmp vxfs delaylog 0 2
/dev/vg00/lvol9 /usr vxfs delaylog 0 2
/dev/vg00/lvol10 /var vxfs delaylog 0 2
/dev/vg00/lvol7 /oracle9i vxfs delaylog 0 2
/dev/vg00/lvol6 /oracle10 vxfs delaylog 0 2
/dev/vg00/ora11lv /oracle11 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/datavg/lvol1 /dsg vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg00/inforlv /informix vxfs rw,suid,largefiles,delaylog,datainlog 0 2
野帆aix内存使用情况查看的方法:
1、打开电脑,远程连接打开aix系统服务器登陆界面;
2、输入用户名、密码,登陆aix系统服务器;
3、进入 aix系统后,虚伏使用aix命令,可以看到aix系统的使用情差脊携况;
4、在命令执行中,输入aix命令,可以看到当前用户目录下面的磁盘文件大小,即可以查看aix文件大小。
在AIX系统中,可以使用lsof命令查看打开文件神慎肢句柄的个数。使用方法如下:
打开终端,输入“lsof”命令。
加上选项"-u",并孝升跟上用户名,查看指游世定用户打开的文件句柄。例如:LSOF -u 用户名
3
加上选项“-p”,并跟上进程ID,查看指定进程打开的文件句柄。例如:LSOF -
请注意,在使用lsof命令时需要足够的系统权限,否则可能无法查看所有信息。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)