Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.
The previous column looked at using /proc to examine. There’s a lot of other information available there as well.
proc is fundamentally a myth: It’s a virtual
filesystem, and when you ask to read a file, it talks to other bits
of the kernel, retrieves the information, and hands it back as though it were
a file. This makes it great both for communication between different
parts of the system and prodding around at.
You are probably already familiar with cpuinfo and
meminfo, which tell you about the machine’s CPU and memory
respectively. You can also get uptime and version information from
uptime and version. This, in fact, is where the uname command
gets its information.
The net/ directory provides the raw info for various networking
information commands, such as route. The text-system communication of
/proc goes both ways: As well as accessing information, you can
change it by editing the various files. Look at /proc/sys/net/ipv4/ to
see some values that you can change if you want.
partitions gives information on the partitions — this can be more useful than using df and quicker than fdisk. filesystems lists the filesystems that the kernel can deal with, and marks them with nodev
if they’re either virtual or networked. This is handy if you’re dealing with
filesystems on remote hardware, or a Mystery Hard Drive, to check what
filesystems you are able to read.
Spend some time having a poke through /proc with the man page to
find out what else is there.
This article was first published on ServerWatch.com.
RELATED NEWS AND ANALYSIS
-
Ethics and Artificial Intelligence: Driving Greater Equality
FEATURE | By James Maguire,
December 16, 2020
-
AI vs. Machine Learning vs. Deep Learning
FEATURE | By Cynthia Harvey,
December 11, 2020
-
Huawei’s AI Update: Things Are Moving Faster Than We Think
FEATURE | By Rob Enderle,
December 04, 2020
-
Keeping Machine Learning Algorithms Honest in the ‘Ethics-First’ Era
ARTIFICIAL INTELLIGENCE | By Guest Author,
November 18, 2020
-
Key Trends in Chatbots and RPA
FEATURE | By Guest Author,
November 10, 2020
-
Top 10 AIOps Companies
FEATURE | By Samuel Greengard,
November 05, 2020
-
What is Text Analysis?
ARTIFICIAL INTELLIGENCE | By Guest Author,
November 02, 2020
-
How Intel’s Work With Autonomous Cars Could Redefine General Purpose AI
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
October 29, 2020
-
Dell Technologies World: Weaving Together Human And Machine Interaction For AI And Robotics
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
October 23, 2020
-
The Super Moderator, or How IBM Project Debater Could Save Social Media
FEATURE | By Rob Enderle,
October 16, 2020
-
Top 10 Chatbot Platforms
FEATURE | By Cynthia Harvey,
October 07, 2020
-
Finding a Career Path in AI
ARTIFICIAL INTELLIGENCE | By Guest Author,
October 05, 2020
-
CIOs Discuss the Promise of AI and Data Science
FEATURE | By Guest Author,
September 25, 2020
-
Microsoft Is Building An AI Product That Could Predict The Future
FEATURE | By Rob Enderle,
September 25, 2020
-
Top 10 Machine Learning Companies 2021
FEATURE | By Cynthia Harvey,
September 22, 2020
-
NVIDIA and ARM: Massively Changing The AI Landscape
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
September 18, 2020
-
Continuous Intelligence: Expert Discussion [Video and Podcast]
ARTIFICIAL INTELLIGENCE | By James Maguire,
September 14, 2020
-
Artificial Intelligence: Governance and Ethics [Video]
ARTIFICIAL INTELLIGENCE | By James Maguire,
September 13, 2020
-
IBM Watson At The US Open: Showcasing The Power Of A Mature Enterprise-Class AI
FEATURE | By Rob Enderle,
September 11, 2020
-
Artificial Intelligence: Perception vs. Reality
FEATURE | By James Maguire,
September 09, 2020