LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 789|回复: 4

我装了wmcpuload,但是屏幕数值一直不会刷新,如何让它实时显示数值?

[复制链接]
发表于 2003-12-3 21:53:40 | 显示全部楼层 |阅读模式
用的是fvwm 2.5.8,加入下面语句:

*FvwmButtons-Monitor: (1x1, Title "CPU", Swallow "wmcpuload" "Exec exec wmcpuload -bl -i 1")

我指定了每秒刷新一次,可是数值一直不会变。但是我在x的文本界面下,执行wmcpuload它能正常工作。请问如何解决?谢谢!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2003-12-3 23:24:56 | 显示全部楼层

有朋友帮忙吗?

万分感谢!

$ wmcpuload -h
Usage : wmcpuload [OPTIONS]
WMCPULoad - A dockapp to monitor CPU usage
  -d,  --display <string>       display to use
  -t,  --title <string>         application title name
  -bl, --backlight              turn on back-light
  -lc, --light-color <string>   back-light color(rgb:6E/C6/3B is default)
  -i,  --interval <number>      number of secs between updates (1 is default)
  -c,  --cpu <number>           CPU number (0, 1, ... )
  -n,  --ignore-nice            ignore a nice value
  -p,  --ignore-proc <name> ..  ignore all processes specified by command name
  -h,  --help                   show this help text and exit
  -v,  --version                show program version and exit
  -w,  --windowed               run the application in windowed mode
  -wp, --windowed-withpanel     run the application in windowed mode
                                with background panel
  -bw, --broken-wm              activate broken window manager fix
  -a,  --alarm <percentage>     activate alarm mode. <percentage> is threshold
                                of percentage from 0 to 100.(90 is default)
 楼主| 发表于 2003-12-4 14:39:59 | 显示全部楼层
有人愿意帮忙吗?
发表于 2003-12-10 12:14:24 | 显示全部楼层
看到别人的也不错!

我也在看别的资料呢!~

谁来说下呀!~~
发表于 2003-12-10 12:38:01 | 显示全部楼层
"Exec exec wmcpuload -bl -i 1"
--->
"Exec exec wmcpuload -bl -i 1 -w"
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表