Jump to content

/proc files


Guest rinky
 Share

Recommended Posts

Guest rinky

when i open the proc directory .i find a lot of files with 0 kb memory .what are those ,are they just some kind of pointers or is there anyway i could read those,please help me.

Link to comment
Share on other sites

when i open the proc directory .i find a lot of files with 0 kb memory .what are those ,are they just some kind of pointers or is there anyway i could read those,please help me.

The /proc directory contains virtual files. Most of the time the size of these files are zero, but you can read them with cat. In a terminal do

cat /proc/cpuinfo

for an example.

You can do the same for any file in /proc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...