If by any chance, if you want to know about the processor, memory, IO Memory, Ports, etc about the system/CPU. Then you can look into the folder /proc in Linux. There are various files that tells you the information about the CPU.
Some Examples
if you want to know about the CPU Information, go to the terminal and try this
# cat /proc/cpuinfo
For memory information
# cat /proc/meminfo
For IO Memory information
# cat /proc/iomem
if you want to see how long the system is up can be seen using the file uptime
# cat /proc/uptime
(The above will list two numbers, one being the uptime of the system and other being uptime for all the cores of the processor)
and other information like scheduling, filesystems, etc can be seen from the /proc folder
Some Examples
if you want to know about the CPU Information, go to the terminal and try this
# cat /proc/cpuinfo
For memory information
# cat /proc/meminfo
For IO Memory information
# cat /proc/iomem
if you want to see how long the system is up can be seen using the file uptime
# cat /proc/uptime
(The above will list two numbers, one being the uptime of the system and other being uptime for all the cores of the processor)
and other information like scheduling, filesystems, etc can be seen from the /proc folder
Comments
Post a Comment