[Asterisk-code-review] cli: Add core dump info to core show settings (asterisk[master])

George Joseph asteriskteam at digium.com
Wed Jan 19 11:17:20 CST 2022


Attention is currently required from: N A.
George Joseph has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/17868 )

Change subject: cli: Add core dump info to core show settings
......................................................................


Patch Set 4:

(1 comment)

Patchset:

PS4: 
> I don't see anything else in Asterisk that prints out a proc file contents... is there an elegant way to do this somehow or do I just open the file and print it out? Just seems a bit unelegant...

There used to be a _sysctl() API but it was deprecated long ago.  The recommended way to get kernel parameters now is to just open and read the /proc/sys file like any other.  I could swear we had a function to just read a file into a buffer but I can't seem to find it.



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17868
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ic42c0a9ecc233381aad274d86c62808d1ebb4d83
Gerrit-Change-Number: 17868
Gerrit-PatchSet: 4
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-CC: George Joseph <gjoseph at digium.com>
Gerrit-CC: Sean Bright <sean at seanbright.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-Comment-Date: Wed, 19 Jan 2022 17:17:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: N A <mail at interlinked.x10host.com>
Comment-In-Reply-To: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220119/98fa2f10/attachment-0001.html>


More information about the asterisk-code-review mailing list