Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94269 - Power Management Guide: watch command (code listing 3.7) does not work
Summary: Power Management Guide: watch command (code listing 3.7) does not work
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Other
: High trivial (vote)
Assignee: Jose Luis Rivero (yoswink) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-28 04:19 UTC by Tobias Sager
Modified: 2005-05-28 06:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Sager 2005-05-28 04:19:19 UTC
The command below does not work for me.
(I get this error message from watch: "grep: MHz: No such file or directory")

<snip>
Code Listing 3.7: Monitoring CPU speed

# watch grep "cpu MHz" /proc/cpuinfo
</snip>


Instead I would use:
# watch grep \"cpu MHz\" /proc/cpuinfo



I use watch version 0.2.0.
Comment 1 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2005-05-28 06:01:31 UTC
Right. Tobias your solution works pretty fine.
In cvs now.
Thanks!