/proc/ folder has empty files.
Dear all,
I have to do an assignment using the files in the /proc/ directory. But the thing is, the files - /proc/cpuinfo, process ID file - are all empty. I am running Debian 'etch'. I have checked the folder on other OSs, and have found that they are not empty. I have opened these files as SuperUser too, but the result is the same. I am confused. Why do not the files show any data, when they are supposed to? Even the process ID folders have blank files. Need help on this. |
Hi,
How did you check the content of, for instance, /proc/cpuinfo? Looking at the listing, it looks empty: Code:
$ ls -l /proc/cpuinfo Code:
$ cat /proc/cpuinfo Hope this helps. |
Well, obviously we're not going to do your assignment for you ;) But I suggest to study pipes and redirecting for/in scripts etc :)
|
Hi,
Thanks all. It did help. |
All times are GMT -5. The time now is 01:33 AM. |