Linux Proc System Directory - Ls (List Directory) Command Examples - Quick Tips
Posting the Linux/proc Registry Substance - A Framework Index Beneath The/(Root) Catalog
Signing In as "root same" To See Framework Catalogs and the proc Registry
Run one of the accompanying two orders to sign in at the Linux brief to "function as comparable to root" to see the substance of the framework indexes and proc.
Type in su - and press Enter (make certain to utilize the scramble with this order). Doing this makes you "identical to root" (except if you're working with Ubuntu, Kubuntu, Edubuntu - or a variety of these distros).
In case you're utilizing Ubuntu or a "subordinate" of this distro, run "sudo - I" (without the statements) to do likewise as above.
This catalog is the parent of a "virtual filesystem" and doesn't really exist on plate!
It is made in memory when Linux boots. Furthermore, in addition to other things, the records in this registry contain current settings that are utilized by the portion (which is the "center" of the working framework).
For instance, the document named cpuinfo in this index contains settings in regards to the computer chip (processor) in a framework.
Furthermore, the record named meminfo shows how memory is being utilized and the document named form contains data with respect to the current adaptation of the bit.
Rundown the things in the root index. This shows a few Linux framework indexes - and notice that the registry named proc shows up in the yield.
Presently list the things in the proc registry and notice the documents named cpuinfo, meminfo and rendition in the yield.
The Linux feline order is utilized to yield (show) the substance of a record (ordinarily a content document, for example, the documents in/proc.
Run the Linux clear and feline orders as demonstrated in the model beneath to clear the current screen yield and see the substance of the cpuinfo record. A ; (semicolon) is utilized between these orders and make certain to put a space on each side of the semicolon.
# clear ; feline/proc/cpuinfo
This shows loads of data about the central processor in your framework.
Press the up bolt key to have the order above show up again and press delete to eliminate "cpuinfo" and type in meminfo to see memory data.
On the off chance that important, you can look up through the yield with the up bolt at the upper right in your terminal copying window.
And afterward rehash the means above to see the substance of the record named variant.
Presently yield the substance of both of the documents beneath.
# clear ; feline/proc/rendition ; feline/proc/cpuinfo
The Linux uname order is normally used to see framework data and the - a choice shows "all" data. This order gets the data for it's yield from the cpuinfo and meminfo records.
# uname - a
The Linux proc catalog and order models appeared here apply to ALL Linux disseminations, including Ubuntu, Debian, SUSE, openSUSE, Fedora, Red Cap and Slackware Linux.
CommentairesSuivre le flux RSS des commentaires
Ajouter un commentaire