Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

proc

What is the difference between “all”, “default” and “eth*” in /proc/sys/net/ipv[46]/conf/?

August 11, 2022 by Magenaut

In sysctl, the /proc/sys/net/ipv[46]/conf/ keys have the following subkeys: all, default, and a key for each network interface. For example, on a machine with a single network interface eth0, it will look like this:

Categories Q&A, Unix & Linux Tags ipv6, linux, proc, sysctl Leave a comment

mount options shown in /proc/mounts

August 11, 2022 by Magenaut

IIRC then the mount options shown in /proc/mounts have changed. Some time ago acl and user_xattr were shown, now it seems that only noacl and nouser_xattr are shown if these features are turned off.

Categories Q&A, Unix & Linux Tags filesystems, linux-kernel, mount, proc Leave a comment

How do I kill all a user’s processes using their UID

August 10, 2022 by Magenaut

I want to kill all running processes of a particular user from either a shell script or native code on a Linux system.

Categories Q&A, Unix & Linux Tags c#, linux, proc Leave a comment

Unexpected non-null encoding of /proc//cmdline

August 10, 2022 by Magenaut

I am parsing the /proc/pid/cmdline value for a number of processes on my Linux system (Ubuntu 16.04) and have found that while most of the entries are null-encoded, as expected, at least one uses spaces for delimiters which I find unexpected.

Categories Q&A, Unix & Linux Tags character-encoding, proc Leave a comment

Is there an easy way to log all commands executed, including command line arguments?

August 10, 2022 by Magenaut

I am trying to find how to log a specific instantiation of rrdtool to see whether the path it is receiving is incorrect.

Categories Q&A, Unix & Linux Tags arguments, audit, logs, proc Leave a comment

What happens when I open and read from /proc?

August 8, 2022 by Magenaut

Basically I would like to constantly get updated values from meminfo and cpuinfo.

Categories Q&A, Unix & Linux Tags monitoring, proc, system-information Leave a comment

How to get the full executable name of a running process in Linux

August 8, 2022 by Magenaut

I’m writing a script which will use the filename of running processes. However, I’m unable to determine the full executable name of some processes.

Categories Q&A, Unix & Linux Tags filenames, proc, process Leave a comment

deleting a ‘file’ under /proc or /dev

August 8, 2022 by Magenaut

I am using a cowdancer/debootstrap setup to generate a chroot.

Categories Q&A, Unix & Linux Tags chroot, proc, rm Leave a comment

Tell fs to free space from deleted files NOW

August 8, 2022 by Magenaut

Is there a way to tell the kernel to give back the free disk space now? Like a write to something in /proc/ ? Using Ubuntu 11.10 with ext4.

Categories Q&A, Unix & Linux Tags df, disk-usage, ext3, ext4, proc Leave a comment

/proc/config.gz is of 0 bytes

August 8, 2022 by Magenaut

I have an Android TV stck
I compiled Linux for IT from https://github.com/Galland/rk3x_kernel_3.0.36

Categories Q&A, Unix & Linux Tags files, kernel, linux, proc Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress