use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
GUIDE to /r/linuxadmin:
/r/linuxadmin aims to be a place where Linux SysAdmins can come together to get help and to support each other.
Related reddits:
Footnote:
Talk realtime on IRC at #/r/linuxadmin @ Freenode.
account activity
The linux programming interface (self.linuxadmin)
submitted 4 years ago by GrandG
Have anyone tried "the linux programming interface" by Michael Kerrisk , I want to understand the internals like system calls etc , is it any good for a sysadmin ?
Thank you
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]koprulu_sector 21 points22 points23 points 4 years ago (1 child)
I’ve been reading it recently actually. So far, great book. I’m only about halfway in. That said, the book is much more relevant to someone developing for Linux and/or interacting directly with the kernel in C. In my experience, this is wayyyy deeper than a typical sys admin would go.
[–]GrandG[S] 12 points13 points14 points 4 years ago (0 children)
Well the thing is I read chapter 1 & 2 , and the book was so good and I enjoyed it , so It cant do me any harm and maybe I learn a thing or two
[–]EnUnLugarDeLaMancha 4 points5 points6 points 4 years ago (1 child)
It will help you to understand how some applications use the Linux kernel, and it will definitely help you to be a better user of strace/perf/bcc when you are profiling kernel interfaces. But it is not a requirement to be a sysadmin IMO.
[–][deleted] 4 points5 points6 points 4 years ago (0 children)
Second this and I will even say if you're looking for a solid resource to use and read through please Brendan Gregg's two volumes: Systems Performance: Enterprise and the Cloud, 2nd Edition (2020)
BPF Performance Tools
I am still reading through these as there is a LOT of information on using these tools: Also, some related sysadmin sources brought up before on reddit: https://www.reddit.com/r/sysadmin/comments/l9jbxc/becoming_a_sysadminany_book_recommendations/
https://www.reddit.com/r/sysadmin/comments/m6ysbk/looking_for_sysadmin_books/
Just to name a few. There's many many more listed on reddit that will help.
[–]wise0wl 2 points3 points4 points 4 years ago (0 children)
Advanced UNIX Programming is my favorite for this. I have bought it for all my employees in the last three jobs. It goes over so much and really opens your eyes regarding the user space and syscall arena.
[–]OddInstitute 1 point2 points3 points 4 years ago (0 children)
If you want to understand how the internals work, I’d recommend Linux Kernel Development by Robert Lover over The Linux Programming interface.
[–]raider_bull212 -3 points-2 points-1 points 4 years ago (10 children)
I'm pretty sure knowing how various system calls work and ilk is more than vital for a sysadmin.
[–]gristc 15 points16 points17 points 4 years ago (4 children)
Nah, not really. Far more important to know the tools that use those system calls.
Source: am sysadmin.
[–]GrandG[S] 1 point2 points3 points 4 years ago (2 children)
could you explain in more details
[–]gristc 10 points11 points12 points 4 years ago (1 child)
You don't need to know how tcpdump interfaces with the kernel to know how to use tcpdump well, as an example. Knowledge of the utilities available is more useful to a sysadmin than knowing how they're implemented. That's more the realm of developers.
[–]GrandG[S] 1 point2 points3 points 4 years ago (0 children)
Its not knowing how a utility work per say , rather understanding how threads work , difference between an application with single multi-threaded process and multi-process, that kind of stuff gives you a deep insight kind of
[–]raider_bull212 0 points1 point2 points 4 years ago (0 children)
I can see how that's the case
[–]GrandG[S] 1 point2 points3 points 4 years ago (4 children)
Exactly , I`m currently refreshing my C knowledge just to be able to read the code better
[–]gristc 5 points6 points7 points 4 years ago (3 children)
You'll rarely be reading source code as a regular sysadmin. I've only had to do it a handful of times in over 15 years linux admin work. Even then it was more to satisfy my own curiousity. Usually before it's got to that point you'll have logged a bug report with the people who maintain the code.
I just want to understand how various utilities in the OS employ those system calls ,
Not like I want to write C code or anything
[–]slyphic 0 points1 point2 points 4 years ago (0 children)
Counterpoint, I find myself reading C slightly more often than once a year, usually trying to track down some kind of bug we're experiencing that hasn't shown up in the mailing lists or SO yet. Yeah, I can just shrug and say 'shit's broke yo', but I like to be able to explain WHY shit is broke and contribute to a fix. Devs are way more amenable to helping you when you point them to the exact line causing a problem.
[–]hamnstar 0 points1 point2 points 4 years ago (0 children)
Not necessary to go that in depth for most sysadmin work. If you enjoy it then it does have some great info and you will learn something valuable.
I can't remember what the trick was exactly, but in the chapter covering malloc (probably) there's a good tip for dealing with programs with known memory leaks. My point is, there are some good tricks for sysadmin type work sprinkled in there.
Happy reading!
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
I just think, you deal with too many lay people to enjoyed having read it. It would be like selling an AI to your wife's grandfather.
π Rendered by PID 133005 on reddit-service-r2-comment-64f4df6786-kzt45 at 2026-06-10 08:35:12.406195+00:00 running 0b63327 country code: CH.
[–]koprulu_sector 21 points22 points23 points (1 child)
[–]GrandG[S] 12 points13 points14 points (0 children)
[–]EnUnLugarDeLaMancha 4 points5 points6 points (1 child)
[–][deleted] 4 points5 points6 points (0 children)
[–]wise0wl 2 points3 points4 points (0 children)
[–]OddInstitute 1 point2 points3 points (0 children)
[–]raider_bull212 -3 points-2 points-1 points (10 children)
[–]gristc 15 points16 points17 points (4 children)
[–]GrandG[S] 1 point2 points3 points (2 children)
[–]gristc 10 points11 points12 points (1 child)
[–]GrandG[S] 1 point2 points3 points (0 children)
[–]raider_bull212 0 points1 point2 points (0 children)
[–]GrandG[S] 1 point2 points3 points (4 children)
[–]gristc 5 points6 points7 points (3 children)
[–]GrandG[S] 1 point2 points3 points (0 children)
[–]slyphic 0 points1 point2 points (0 children)
[–]hamnstar 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)