linux top p 乱码,linux里top导出结果是乱码

各位高手们,帮帮我出出主意吧,实在没辙了top |col -b >a.txt 是乱码:谢谢大家

[H[2J(B[mtop - 15:04:47 up 49 min,  4 users,  load average: 0.04, 0.83, 8.63(B[m[39;49m[K

Tasks:(B[m[39;49m(B[m 185 (B[m[39;49mtotal,(B[m[39;49m(B[m   1 (B[m[39;49mrunning,(B[m[39;49m(B[m 184 (B[m[39;49msleeping,(B[m[39;49m(B[m   0 (B[m[39;49mstopped,(B[m[39;49m(B[m   0 (B[m[39;49mzombie(B[m[39;49m[K

Cpu(s):(B[m[39;49m(B[m  6.1%(B[m[39;49mus,(B[m[39;49m(B[m  1.5%(B[m[39;49msy,(B[m[39;49m(B[m  0.0%(B[m[39;49mni,(B[m[39;49m(B[m 89.2%(B[m[39;49mid,(B[m[39;49m(B[m  3.0%(B[m[39;49mwa,(B[m[39;49m(B[m  0.0%(B[m[39;49mhi,(B[m[39;49m(B[m  0.1%(B[m[39;49msi,(B[m[39;49m(B[m  0.0%(B[m[39;49mst(B[m[39;49m[K

Mem: (B[m[39;49m(B[m  6106860k (B[m[39;49mtotal,(B[m[39;49m(B[m  4941976k (B[m[39;49mused,(B[m[39;49m(B[m  1164884k (B[m[39;49mfree,(B[m[39;49m(B[m   120756k (B[m[39;49mbuffers(B[m[39;49m[K

Swap:(B[m[39;49m(B[m  5144568k (B[m[39;49mtotal,(B[m[39;49m(B[m        0k (B[m[39;49mused,(B[m[39;49m(B[m  5144568k (B[m[39;49mfree,(B[m[39;49m(B[m  2685776k (B[m[39;49mcached(B[m[39;49m[K

|

top -b -n 1

|

top -bn1

|

1L的方法ok的

top -b -n 1 > a.txt

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值