- 论坛徽章:
- 0
|
nuh302:UPP1:/ora/admin#top -h -d 1 > a.txt
nuh302:UPP1:/ora/admin#cat a.txt
System: nuh302 Thu Jul 31 18:12:37 2014
Load averages: 0.48, 0.52, 0.42
267 processes: 234 sleeping, 33 running
Cpu states: (avg)
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0.48 14.9% 7.9% 15.8% 61.4% 0.0% 0.0% 0.0% 0.0%
Memory: 8490064K (4246936K) real, 8843020K (4457628K) virtual, 9837272K free Page# 1/6
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 8162 asp 148 22 6951M 5504K sleep 6:36 68.79 68.67 oracleUPP1
4 tty1p0 28735 asp 241 20 18528K 2724K run 7:29 61.98 61.87 sqlplus
5 ? 28692 oracle 241 20 6998M 51468K run 4:52 41.33 41.26 oracleUPP1
5 ? 28742 asp 240 20 6950M 4416K run 3:41 30.41 30.36 oracleUPP1
0 ? 6559 root 152 20 24124K 4688K sleep 1:38 15.44 15.42 bpbkar
3 ? 12047 oracle 156 20 6956M 9856K sleep 19:55 13.83 13.80 ora_arc1_UPP1
3 ? 6165 oracle 154 20 7112M 166M run 1:16 13.27 13.25 oracleUPP1
7 ? 6552 root 152 20 24124K 4688K sleep 1:15 12.69 12.67 bpbkar
3 ? 5723 root 154 20 24124K 4688K sleep 1:26 12.48 12.46 bpbkar
6 ? 5812 root 154 20 24124K 4688K sleep 1:22 12.44 12.42 bpbkar
6 ? 6804 root 152 20 24124K 4688K run 1:15 12.39 12.37 bpbkar
0 ? 5850 root 152 20 24124K 4688K sleep 1:03 11.94 11.92 bpbkar
6 ? 5784 root 148 20 24124K 4688K sleep 0:54 8.84 8.83 bpbkar
想用下面显示从第10行开始,但没有行返回
nuh302:UPP1:/ora/admin#cat a.txt |sed -n '10,$ p'
|
|