i've simple question . how i can customize the display of free or vmstat or top commands to display memory usage only because i want the result to draw it via MRTG .
|
feedback
|
|
You could pass the contents of
(the ^ in the command looking for "cached" tells Or if you want more than one line at once, use the extended matching option so the "or" operator can be used:
You can use
There are a small pile of other standard text manipulation programs ( | ||||
|
feedback
|
|
| |||
|
feedback
|
|
This isn't strictly speaking an answer to your question, but if you have a /proc filesystem, you might be able to grep out the information you're interested in from /proc/meminfo. | |||
|
feedback
|