hillpig的个人博客分享 http://blog.sciencenet.cn/u/hillpig 畅想ing,思考ing,前行ing Email:bluevaley@gmail.com

博文

Iotop用于查看postgresql进程i/o情况

已有 8474 次阅读 2010-12-29 14:33 |个人分类:postgresql|系统分类:科研笔记| Iotop

使用Iotop命令查看postgresql进程i/o访问速率如下:
postgres@postgres-laptop:~$ iotop
Total DISK READ: 0.00 B/s | Total DISK WRITE: 755.55 K/s
 TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND          
5185 be/4 postgres    0.00 B/s   22.22 K/s  ?unavailable?  postgres:~er process
5193 be/4 postgres    0.00 B/s  785.18 K/s  ?unavailable?  postgres:~ocal] idle
   1 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  init
   2 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [kthreadd]
   3 rt/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [migration/0]
   4 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [ksoftirqd/0]
   5 rt/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [watchdog/0]
   6 rt/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [migration/1]
   7 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [ksoftirqd/1]
   8 rt/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [watchdog/1]
   9 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [events/0]
  10 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [events/1]
  11 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [cpuset]
  12 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [khelper]
  13 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [netns]
  14 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [async/mgr]
  15 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [pm]
  17 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [sync_supers]
  18 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [bdi-default]
  19 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [kintegrityd/0]
  20 be/4 root        0.00 B/s    0.00 B/s  ?unavailable?  [kintegrityd/1]
CONFIG_TASK_DELAY_ACCT not enabled in kernel, cannot determine SWAPIN and IO %

由于是实时监控的,可用于不同计算机I/O性能的比较。


加我私人微信,交流技术。




https://wap.sciencenet.cn/blog-419883-398757.html

上一篇:如果你想办事,你就得多跑几趟。
下一篇:Yahoo! Top Searches of 2010
收藏 IP: 223.72.72.*| 热度|

1 刘洋

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-29 14:59

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部