Is there any command to get virtual memory size, cache size and front side bus speed of a linux system? Is swap in linux same as virtual memory?
|
|
This question is completely contained in your previous question How to find virtual memory size and cache size of a linux system?. As pointed out in my answer to that question, the If this did not work for you, you should edit your original question and tell us what output you got or what the error was. The more specific you are, the better others can help you. As pointed out by The Journeyman geek, you can typically get the same "External Clock" measure from
Finally, you may find the external clock speed in the output of |
|||
|
|
|
Yes, swap is virtual memory. Virtual memory size Use swapon -s or free
Cache size Get this from /proc/cpuinfo. The "cache size" field gives you the cache on the CPU. On multi-core machines, you'll see one entry per processor, with its own cache value.
Front side bus (FSB) speed You can get this from the dmidecode utility, with the --type processor argument. You need sudo permission to run this command. The FSB is indicated by the speed reported for "External Clock". The actual speed is typically 4 times the reported speed, as those many instructions are executed per clock cycle.
|
|||
|
I do believe lshw has that info. However not all distros have it (hint- next time PLEASE mention what distro and version you use. It helps a lot. Also helps to be specific about what you did so far. 'some command like' is not good enough) |
|||
|
|
|
Try this on the Linux machine: This will show something like:
|
||||
|
|
|
vmstat
Syntax of vmstat
Example usage of vmstat
Found here |
|||
|
|
|
The "free" command will show you memory utilization, including what's actually being used vs what's in buffers / cache.
The "dmidecode" command might give you some insight into the FSB speed. |
|||
|
|
|
Please give the specs of your CPU. Open the bios from startup of your system to determine your CPU's FSB. Or just google the model of your CPU. If you have a desktop PC, you could open the case and look at the cpu directly to find the model. |
|||
|
|
The used field will indicate the amount currently in use
|
|||
|
|
|
Page Size :
(or)
Try
|
||||
|
|
