How to check CPU info in Linux [on hold]

How to check CPU info in Linux [on hold]



I followed the instructions from Linux Display CPU Information Number of CPUs and Their Speed, but it doesn't work. I don't know what's wrong with it, please help.



Here's my code.


Ljc:~ jcLiu$ cat /proc/cpuinfo

cat: /proc/cpuinfo: No such file or directory



This question appears to be off-topic. The users who voted to close gave this specific reason:





as root, but it returned no such file or directory. i am not very familiar with terminal stuff- -
– Juncai Liu
2 days ago





Welcome to Stack Overflow! Please take the stackoverflow.com/tour and read through the stackoverflow.com/help, in particularhttps://stackoverflow.com/help/how-to-ask Your best bet here is to do your research, search for related topics on SO, and give it a go. If you get stuck and can't get unstuck after doing more research and searching, post a stackoverflow.com/help/mcve example of your attempt and say specifically where you're stuck. People will be glad to help.
– lxx
2 days ago





If there is no /proc folder , you may need to mount it yourself. See unix.stackexchange.com/questions/59917/… . First, does the /proc folder exist? To test it, type cd /proc. If it works, type ls and search for cpuinfo.
– francis
2 days ago



cd /proc


ls





@lxx You can use [tour] and [help] as shortcuts. E.g.: tour and help center.
– CJ Dennis
2 days ago


[tour]


[help]





@CJ Denis Thanks!
– lxx
2 days ago




Popular posts from this blog

Help:Category

How can temperature be calculated given relative humidity and dew point?

I have a recursive function to validate tree graph and need a return condition