![]() ![]() $ cat /proc/cmdlineīOOT_IMAGE=/vmlinuz-3.10.86_64 root=/dev/mapper/centos-root ro crashkernel=auto spectre_v2=retpoline rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 ![]() This file shows the parameters passed to the kernel at the time it is started. However, if I want that information, I use the uptime command that also gives me a more readable version of /proc/loadavg as well.Ġ0:56:13 up 13:01, 2 users, load average: 0.00, 0.01, 0.03 For me, that's not particularly valuable. For example, the /proc/uptime file gives you the system's uptime in seconds. The /proc files I find most valuable, especially for inherited system discovery, are:Īnd the most valuable of those are cpuinfo and meminfo.Īgain, I'm not stating that other files don't have value, but these are the ones I've found that have the most value to me. If you issue a long listing command ( ls -l /proc), you'll notice that all files but the kcore (not shown) file have a zero size. The following is a list of /proc directory common text files on Red Hat-based systems: /proc/apm That said, please realize that my definition of value means value to me and to my discovery on inherited systems and on systems with which I have little familiarity. In this article, I'm covering the text files (not directories/processes) with the highest value to sysadmins. Not all of the files have the same value to a sysadmin. How well do you know Linux? Take a quiz and get a badgeĪs you read in my first article, Exploring the /proc filesystem, the /proc filesystem contains a lot of files that system administrators can use to discover the hardware makeup, the configuration parameters, and the complement of processes on a running system.Linux system administration skills assessment.A guide to installing applications on Linux.Download RHEL 9 at no charge through the Red Hat Developer program. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |