Posted on 2011-10-31
Last Modified: 2012-05-12
I see that the timestamp of /proc/sys/net/ipv4/tcp_keepalive_alive time always has the same timestamp at the current time why is that? Also if i want to change that value is just a case of echo " new value"  /proc/sys/net/ipv4/net/tcp_keepalive_alive?
Question by:lolaferrari
    LVL 31

    Expert Comment

    /proc files are volatile -- torn down when system shuts down.

    To modify value to XX

    sysctl -p net/
    LVL 31

    Expert Comment

    Sorry try this
    sysctl -w net/
    LVL 31

    Accepted Solution

    Actually the way it works is this:  All the proc files are created at the boot time and destroyed at the shutdown time.  If you write anything to the files under /proc, they stay as long as the system is up and running.

    The proper way to make modifications to files under /proc/sys files is to take the relative path of file after /proc/sys and modify it in
    /etc/sysctl.conf file

    The issue command
    sysctl -p


    Just, as in your case issue command
    sysctl -w

    Author Closing Comment

    many thanks!

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
    This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now