salasi |
01-27-2012 11:53 AM |
Quote:
Originally Posted by Edward18
(Post 4585654)
... I know that i can use system monitor for that, but i want non-gui program...
|
and
Quote:
I need something that i can detect cpu freq of remote computer.
|
If - by system monitor you mean the kde system monitor (also known as kde system guard)
and - by remote system you mean a computer that is connected to a LAN and there is data transmission between the LAN and the monitoring computer (ie, not blocked by, eg, a firewall or one of the computers having no network connectivity)
That does not necessarily exclude kde system guard. You can run in a client/server kind of mode, where one computer just runs the display part, and the other computer runs the relatively small monitoring part. Whether this really is a sensible solution for your problem, or better than whatever else you might come up with, I really don't know, but I just wanted to mention that it might still be a possibility.
Anyway, cpufreq-info should do what you want. -f gives you just the frequency, rather than giving you several lines, which include the frequency on one of them, and c allows you to specify a core; you may have to specify, eg, core 0 and core 1 alternately, because I can't see a way of specifying *, or something, for 'give me all the cores that you've got'. (Maybe, that's only 1, which would render that point moot.) This will give you a file, and then you'll have to do something with it.
I thought that maybe collectl would do it, because that can be fairly neat, but I can't see from the man page any reference to current cpu clock.
|