今天突然发现topas命令无法使用
# topas ksh: topas: 0403-006 Execute permission denied.
返回结果简单粗暴,果断加权限
#cd /usr/bin # ls -al topas ---------- 1 root system 738532 May 19 2007 topas # chmod +x topas # topas Topas Monitor for host: p590-3 EVENTS/QUEUES FILE/TTY Wed Aug 21 22:25:49 2019 Interval: 2 Cswitch Readch Syscall Writech Kernel | | Reads Rawin User | | Writes Ttyout Wait | | Forks Igets Idle | | Execs Namei Runqueue Dirblk Network KBPS I-Pack O-Pack KB-In KB-Out Waitqueue PAGING MEMORY Faults Real,MB Disk Busy% KBPS TPS KB-Read KB-Writ Steals % Comp ......
顺利执行
切换账户执行:
# su ora10g $ topas exec(): 0509-036 Cannot load program topas because of the following errors: 0509-150 Dependent module /usr/lib/libSpmi.a(spmishr.o) could not be loaded. 0509-022 Cannot load module /usr/lib/libSpmi.a(spmishr.o). 0509-026 System error: The file access permissions do not allow the specified action. $ ls -al /usr/lib/libSpmi.a ---------- 1 bin system 357763 May 10 2007 /usr/lib/libSpmi.a $ su root root's Password: # chmod 755 /usr/lib/libSpmi.a # ls -al /usr/lib/libSpmi.a -rwxr-xr-x 1 bin system 357763 May 10 2007 /usr/lib/libSpmi.a # su ora10g $ topas Topas Monitor for host: p590-3 EVENTS/QUEUES FILE/TTY Wed Aug 21 22:38:39 2019 Interval: 2 Cswitch Readch Syscall Writech Kernel | | Reads Rawin User | | Writes Ttyout Wait | | Forks Igets Idle | | Execs Namei Runqueue Dirblk ......
不明白为什么权限会乱…
© Copyright Notice
THE END
There are currently no comments available