Proc vs Sys

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

Proc vs Sys

Postby websever on Wed Aug 21, 2013 2:31 pm

how can ı found this information.
doesnt matter debian or centos or linux mint
Before I was writing in here,Searhing the google but I couldn't
Please help me :))
websever
Level 1
Level 1
 
Posts: 3
Joined: Tue Aug 20, 2013 10:19 am

Linux Mint is funded by ads and donations.
 

Re: Proc vs Sys

Postby fabiog on Wed Aug 21, 2013 2:36 pm

given that it's not linuxmint specific, check wikipedia for a generic understanding of these 2 filesystems.

https://en.wikipedia.org/wiki/Procfs
https://en.wikipedia.org/wiki/Sysfs
fabiog
Level 1
Level 1
 
Posts: 7
Joined: Sat Mar 02, 2013 5:19 pm

Re: Proc vs Sys

Postby websever on Thu Aug 22, 2013 1:01 pm

fabiog wrote:given that it's not linuxmint specific, check wikipedia for a generic understanding of these 2 filesystems.

https://en.wikipedia.org/wiki/Procfs
https://en.wikipedia.org/wiki/Sysfs

ım so sorry but is not enough for me.
but ı founded some information.
proc file system hardlink sys file is true or not.
websever
Level 1
Level 1
 
Posts: 3
Joined: Tue Aug 20, 2013 10:19 am

Re: Proc vs Sys

Postby fabiog on Thu Aug 22, 2013 1:53 pm

If you want to know more, you will need to study the the linux/gnu operating system in its entirety. /proc and /sys make sense only if you know how the os works.

websever wrote:proc file system hardlink sys file is true or not.


I'm not sure I understand what you are saying, however please note that the files in these 2 filesystems are not real files. In Linux everything is represented like a file but not everything is a file understood as 'data saved in memory'. /proc and /sys are virtual filesystem, created/mounted at boot to help other processes (like dbus, hald, etc..) functioning correctly.

My suggestion for you is: load your distro, browse inside /proc and /sys and check what's inside. For example, check the content of /proc/cpuinfo or /proc/interrupts...

Code: Select all
# get cpu information
cat /proc/cpuinfo
# get IRQs information
cat /proc/interrupts
# list content of sys
ls -l /sys
fabiog
Level 1
Level 1
 
Posts: 7
Joined: Sat Mar 02, 2013 5:19 pm


Return to Other topics

Who is online

Users browsing this forum: No registered users and 5 guests