More Deep Discovery on your Linux Server With /proc
CyanogenMOD CM7: Teach your old Droid New Tricks
Building A Central Loghost On CentOS And RHEL 5 With rsyslog
Scribus: Manipulate and Place Objects in a Layout
Control Your Network Traffic with Wondershaper in Ubuntu/ Debian Linux
Rackspace's CEO on Open Source and OpenStack
More Deep Discovery on your Linux Server With /proc
GNOME Accessibility Application Ocra 2.91.5 Released
Mandriva Provides an Educational Solution for Schools and OEMs
Linux 2.6.38 eliminates last main global lock, improving performance
Midori vs Epiphany Review
8:29 AM | Labels: Discovery, Linux, Server | 0 Comments
Deep System Discovery on your Linux Server With /proc
Deep System Discovery on your Linux Server With /proc
Dec 10, 2010, 19 :34 UTC (0 Talkback[s]) (181 reads)
(Other stories by Juliet Kemp)
"/proc is a virtual filesystem generated at boot and updated regularly by the kernel. With /proc you can investigate exactly what hardware your Linux kernel sees, what processes it is running, boot options, and also manipulate kernel events.
"With Linux, everything is a file ? and that includes devices, processes, and system information. /proc allows you to take a look at these 'files'. /proc (short for "process filesystem") isn't 'real'; it's a virtual filesystem, generated at boot and updated regularly by the kernel. Instead of storing information on disk, when you look at something in /proc, it fetches the information from the kernel to output as a file. This is great both for system communication (utilities can operate in userspace, rather than in kernel space), and for investigating your system's innards.
"/proc and processes
"If you type ls /proc, you'll see a set of numbered directories. These are your processes: one directory per process ID. Look at your process list with ps -A, and pick one to investigate. (Note that unless you have root/sudo access, you're best off choosing a process that you own.) Here's a sample process from my ps output:"
Complete Story
Related Stories:
Linux Server Troubleshooting With strace(Nov 22, 2010)
Byobu: Like Screen, but Better(Oct 05, 2010)
Open Source Software Shortcut -- Escaping SSH With '~'(Sep 28, 2010)
Single vs. Double Quotes in Bash(Aug 26, 2010)
Linux Multi-Distro Package Manager Cheatsheet (Jul 09, 2010)
4:35 AM | Labels: Discovery, Linux, Server, System | 0 Comments